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: Unique ID for module and objects?
Topic Summary:
Created On: 15-Jul-2005 14:27
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 Niclas Forsberg, on Monday, July 18, 2005 9:12 PM

Answer:
Unique ID of the current module is available through the code below:
 15-Jul-2005 14:27
User is offline View Users Profile Print this message


Michael Venos

Posts: 20
Joined: 26-May-2004

I'm trying to figure out how to get the unique ID of the current module, as well as the current object when going through a loop in dxl. The attached code will get me the unique IDs of the modules and folders in the current project, but I haven't been able to figure out the syntax for just getting the current module unique ID or the objects'. Any help would be great.
Report this to a Moderator Report this to a Moderator
 15-Jul-2005 15:52
User is offline View Users Profile Print this message


Niclas Forsberg

Posts: 5
Joined: 18-Sep-2002

Answer Answer
Unique ID of the current module is available through the code below:
Report this to a Moderator Report this to a Moderator
 18-Jul-2005 21:13
User is offline View Users Profile Print this message


Michael Venos

Posts: 20
Joined: 26-May-2004

That seems to do it. Thanks.
Report this to a Moderator Report this to a Moderator
 19-Jul-2005 08:42
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

I usually create a module-level DXL attribute that shows its unique ID:

(current Module).attrDXLName = uniqueID module name current Module

When exporting to Word (using WEXP), this allows me to include a "this document was exported from module XXXX" in the document.
Report this to a Moderator Report this to a Moderator
 20-Jul-2005 20:24
User is offline View Users Profile Print this message


Michael Venos

Posts: 20
Joined: 26-May-2004

Thanks that will probably come in handy as well!
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.