![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Navigating to children of an object Topic Summary: Created On: 19-Nov-2004 17:30 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Kristie, Object childO for childO in o do { } | |
![]() |
|
I am writing a DXL script and I need to be able to navigate to the children of an object. For example, I know that you can navigate to a parent of an object by using the function: ' parent(Object o)'. Is there a similar function for navigating to the children of an object?
Thanks, Kristie Carpenter |
|
![]() |
|
![]() |
|
Kristie,
Object childO for childO in o do { } ------------------------- Michael Sutherland michael@galactic-solutions.com http://galactic-solutions.com |
|
![]() |
|
![]() |
|
You may also want to look at the following. All are useful:
first(Object o) last(Object o) next(Object o) sibling(Object o) etc ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
See also "Specific Object"
Object o[int n] Module m[int n] which jump to the nth child object of the object, or the nth level one object of the module. You'll need to experiment to see if these respect the Deleted display state. If the very first object in the module is deleted and not displayed, will obj = mod[1] find this object, or the apparent first one? - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Navigating to children of an object
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.