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: ProbeAttr_
Topic Summary: probeAttr for source Module reading
Created On: 29-Apr-2005 08:18
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 Dave Robbins, on Monday, May 2, 2005 10:33 AM

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
 29-Apr-2005 08:18
User is offline View Users Profile Print this message


Tarun Inabathuni

Posts: 59
Joined: 18-Jan-2005

Hi all
Does anyone know how to use
probeAttr_ for reading info in incoming links
loop

for lref in o<-"*" do {
}
Thankx in advance

Report this to a Moderator Report this to a Moderator
 29-Apr-2005 09:37
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 29-Apr-2005 13:06
User is offline View Users Profile Print this message


Dave Robbins

Posts: 36
Joined: 9-Dec-2003

Answer 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


-------------------------
Dave
+44 (0)23 9270 5711
david.robbins@astrium.eads.net
~~~~~~~~~~~~~~~~~~~~
EADS Astrium, Anchorage Road
Portsmouth. Hampshire. UK PO3 5PU
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.