![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: locating objects within a object Topic Summary: Created On: 16-Jan-2006 11:05 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hi Martin, the misttake is quite simple : The second for loop should run trough obj instead of cu : for o in obj do Then it works fine. The for loops do not change anything on current Object I do not know, where you need this code for, but would suggest to use for obj in top curMod if (!isDeleted obj) .... Then the outer loop will only go through top level Objects in Module ... Greetings Reik | |
![]() |
|
} |
|
![]() |
|
![]() |
|
Hi Martin,
the misttake is quite simple : The second for loop should run trough obj instead of cu : for o in obj do Then it works fine. The for loops do not change anything on current Object I do not know, where you need this code for, but would suggest to use for obj in top curMod if (!isDeleted obj) .... Then the outer loop will only go through top level Objects in Module ... Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Thanks Reik, so obvious now, but I could not see it then Thanyou |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
locating objects within a object
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.