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: Module Attributes DOORS 8.2
Topic Summary:
Created On: 8-Oct-2007 18:26
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 Tony Goodman, on Tuesday, October 9, 2007 12:59 PM

Answer:
In DOORS 8.2 the following perm is provided to access the module level attributes.

string getProperties(ModuleVersion, ModuleProperties&)

This is in the release notes, but I cannot find it in the help.

You cannot edit module level attributes without opening the module for exclusive edit.

Here are some simple examples to show how to use ModuleProperties.
 8-Oct-2007 18:26
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

OK, so with 8.2 you can apparently "Read" the module attributes in the properties of the module without opening the module via the properties in the DOORS Explorer.

Is there a way to do this in DXL?  I'm drawing a blank as to how to assing a Module variable without the read, share or edit functions.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 9-Oct-2007 08:44
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Answer Answer
In DOORS 8.2 the following perm is provided to access the module level attributes.

string getProperties(ModuleVersion, ModuleProperties&)

This is in the release notes, but I cannot find it in the help.

You cannot edit module level attributes without opening the module for exclusive edit.

Here are some simple examples to show how to use ModuleProperties.

-------------------------
Tony Goodman
http://www.smartdxl.com

Edited: 9-Oct-2007 at 09:43 by Tony Goodman
Report this to a Moderator Report this to a Moderator
 9-Oct-2007 12:58
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Thanks Tony,

That's all I want to do is scan through the modules and read in a module level attribute.  I must have missed the perm in the release notes....



-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 9-Oct-2007 12:58
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Thanks Tony,

That's all I want to do is scan through the modules and read in a module level attribute.  I must have missed the perm in the release notes....



-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 10-Oct-2007 13:20
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Tony, Hi Scott,

does this example code really work?

I remember, when I tried to use this new function, it had a strange behaviour:
it wanted to have the moduleVersion of the unique identifier of module instead of the name?!


ModuleProperties mp;
string szError = getProperties(moduleVersion (uniqueID itm), mp)


Unfortunately I have no DOORS 8.2 running anymore here, so I can't check it.
We need to update flexlm before ....

That is only a hint, if it does not work as expected

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 10-Oct-2007 14:40
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Hi Reik,
yes it works fine.

-------------------------
Tony Goodman
http://www.smartdxl.com
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.