Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Parent Object
Topic Summary:
Created On: 8-Sep-2008 15:23
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Scott Boisvert, on Monday, September 8, 2008 3:51 PM

Answer:
The following code should do the trick:

Updated code to allow for the current object to be the level 1 object.
 8-Sep-2008 15:23
User is offline View Users Profile Print this message


Christienne Mancini

Posts: 18
Joined: 30-Aug-2006

I'm trying to obtain the level 1 parent object of an object that is linked to my current object. I'm able to obtain the first parent object, but not the parent at the next higher level. The code inserted is what I'm using to view the first parent.
Report this to a Moderator Report this to a Moderator
 8-Sep-2008 15:28
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Answer Answer
The following code should do the trick:

Updated code to allow for the current object to be the level 1 object.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com

Edited: 8-Sep-2008 at 15:30 by Scott Boisvert
Report this to a Moderator Report this to a Moderator
 8-Sep-2008 15:39
User is offline View Users Profile Print this message


Christienne Mancini

Posts: 18
Joined: 30-Aug-2006

Thank-you. This looked like it was going to work and then I got the error "-R-E- DXL: <Line:4> null Object parameter was passed into argument position 1
-I- DXL: execution halted"

Do you know why I get this?
Report this to a Moderator Report this to a Moderator
 8-Sep-2008 15:51
User is offline View Users Profile Print this message


Christienne Mancini

Posts: 18
Joined: 30-Aug-2006

Thank-you very much!
Report this to a Moderator Report this to a Moderator
 8-Sep-2008 15:54
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

Change the while statement as follows (i.e. test for level greater than 1):

-------------------------
Tony Goodman
Smart DXL limited
www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 8-Sep-2008 16:37
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Thanks Tony doing too many things at once, shoulda caught that.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.