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: displaying layout dxl attribute in a layout dxl col
Topic Summary: having problems displaying a layout dxl attribute
Created On: 5-Apr-2007 17:20
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 Dawn Voss, on Tuesday, April 10, 2007 6:27 PM

Answer:
Since the admin won't just let me create a new attribute I had to go the long way around and get this one. I think I got it :-) Thanks for your help. ~Dawn
 5-Apr-2007 17:20
User is offline View Users Profile Print this message


Dawn Voss

Posts: 8
Joined: 6-Mar-2006

Here is the problem - I created a layout dxl in a module A.  I then created a layout dxl in module B that tries to display the text that I have in the layout dxl of module A.  The code crashes when it reaches the point that I set the string equal to the contents of that col.  Any suggestions?

Thanks,
~Dawn
Report this to a Moderator Report this to a Moderator
 10-Apr-2007 10:21
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Please post the code and we can help :-)

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 10-Apr-2007 18:27
User is offline View Users Profile Print this message


Dawn Voss

Posts: 8
Joined: 6-Mar-2006

Answer Answer
Since the admin won't just let me create a new attribute I had to go the long way around and get this one. I think I got it :-) Thanks for your help. ~Dawn
Report this to a Moderator Report this to a Moderator
 11-Apr-2007 03:08
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Golly; the real problem is that the code in B will have to open A using the correct view each time. I've never done that from a Layout but suspect that A will 'open' and that view 'displayed' each time a new object in B is displayed. Yiiiiikes.

Looks like your code in B would need to do the same calculatation as the code in A.

Yes, having an AttrDXL in A would be easier but just make sure that if the calculation results in a null display, that you display a space instead of null. Null AttrDXL values is a trigger to recalculate, and if you keep calculating null it will eat up all available CPU, and also memory if the code deals with strings at all. That is, all AttrDXL should end like this:
string FinalResults = whatever
if (null FinalResults) FinalResults = " "
obj.attrDXLName = FinalResults

- Louie
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.