![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Link handle to a new link Topic Summary: Created On: 23-Aug-2006 11:45 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hi Pekka, this is much simpler, than you thougt ![]() Link l = obj1 -> linkmodule -> obj2 l."Link Attribute Name" = "Hello Wolrd!" Greetings Reik | |
![]() |
|
If you create a new link between objects e.g.
obj1 -> linkmodule -> obj2 and then want to modify link attributes (which already are created in linkmodule) for this new link, how can one get the handle to the link? Is the only way to search through the links in object: for l in obj1 -> linkmodule do { if (target l == obj2) break } l."Link Attribute Name" = "some value" ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|
![]() |
|
![]() |
|
Hi Pekka,
this is much simpler, than you thougt ![]() Link l = obj1 -> linkmodule -> obj2 l."Link Attribute Name" = "Hello Wolrd!" Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Thanks Reik - should have tried that on my own ;-)
------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|
![]() |
|
![]() |
|
The following gets the link if it exists, but doesn't create it?
Link lnk = oSource -> NameLM -> oTarget Is that in the manual? - Louie |
|
![]() |
|
![]() |
|
Hi Louie,
be carefull, the expression will create the Link! It will only not create a link, if it already exists ... so you might have created links while testing ![]() Here the definitions (of course not in reference manual): Link ::<- (Object, Object) MkLinkInDef Link ::-> (Object, Object) MkLinkOutDef Link ::<- (InLinkRef__, Object) MkLinkIn Link ::-> (OutLinkRef__, Object) MkLinkOut OutLinkRef__ all(OutLinkRef__) AllOutLinkRef OutLinkRef__ ::-> (Object, string) OutLinkRef InLinkRef__ all(InLinkRef__) AllInLinkRef InLinkRef__ ::<- (Object, string) InLinkRef Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany Edited: 24-Aug-2006 at 07:47 by Reik Schroeder |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Link handle to a new link
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.