![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: ProbeAttr_ Topic Summary: probeAttr for source Module reading Created On: 29-Apr-2005 08:18 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: also available is: probeRichAttr_(othero, "Object Text",true) // to get any OLE + Rich Text probeRichAttr_(othero, "Object Text",false) // without OLE or probeRichAttr_(othero, "Object Text") // with Rich Text use displayRich to show the RTF | |
![]() |
|
Hi all
Does anyone know how to use probeAttr_ for reading info in incoming links loop for lref in o<-"*" do { |
|
![]() |
|
![]() |
|
probeAttr_() is defined in C:\Program Files\Telelogic\DOORS 7.1\lib\dxl\utils\attrutils.inc.
it returns an attribute value as a string, or an empty string if the attribute does not exist. It is safer tha accessing the attribute directly. It works for objects and modules. The simplest way to access information from linked objects: 1. use analysis wizard to create layout DXL. 2. copy the DXL from the column and modify the code to do what you want it to. e.g. (without error checking etc) for lr in o<-"*" do { othero = source lr display probeAttr_(othero, "Object Text") } ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
also available is:
probeRichAttr_(othero, "Object Text",true) // to get any OLE + Rich Text probeRichAttr_(othero, "Object Text",false) // without OLE or probeRichAttr_(othero, "Object Text") // with Rich Text use displayRich to show the RTF ------------------------- Dave +44 (0)23 9270 5711 david.robbins@astrium.eads.net ~~~~~~~~~~~~~~~~~~~~ EADS Astrium, Anchorage Road Portsmouth. Hampshire. UK PO3 5PU |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
ProbeAttr_
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.