![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Trouble getting started with DXL attributes Topic Summary: Created On: 22-Sep-2004 10:56 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
I am having trouble getting started with DXL attributes. All I want to do is emulate the DXL Attribute Wizard in 7.1 (i.e create a DXL attribute to display several other attributes for each object). I then want to use this to allow me to 'dispaly' multiple attributes in a table. Periodically I want to then update the DXL attribute. Sorry it's a bit basic but I am stuck! thanks Dave |
|
![]() |
|
![]() |
|
For layout dxl use code similar to following: display "Here is a composit of attirbute"
obj.attrDXLName = "Here is a composit of attirbute |
|
![]() |
|
![]() |
|
I think you mean:
obj.attrDXLName = "Here is a composit of attirbute\n" //- identifier obj "\n" //- number obj "\n" //- obj."Object Text" The key features here are [1] variable "obj" is automatically declared and means "the object being updated" (not quite the same as the "current" object), and [2] attrDXLName means "the name of the DXL Attribute being updated". I'm confused on when these get updated but believe its when you open the module or manually run Tools >Update Attribute DXL. - Louie |
|
![]() |
|
![]() |
|
Ron and Louie,
Thanks for your help and I can now see how to use this in an Attribute DXL or Layout DXL column. Where I was getting confused was I was trying to create and manipulate an Attribute DXL attribute from a standard DXL window. This is still what I would really like to do - as I said the only reason I need to use an Attribute DXL attribute at all is that is appears to be the only way to display multiple attributes in a table. So what I do now is: i) Use the attribute dxl wizard (or the code you have supplied me) to create and define the attribute DXL attribute ii) A standard DXL program that sets every table to display the DXL attribute and contains a 'refresh' button that automatically forces the refresh and display of the attribute DXL attribute. (The program also allows me to manipulate the values of the base attributes that effectively make up the DXL attribute). The only slight problem with this is that for every new module I want to use this program on I have to use these two steps rather than have a single DXL program. If anyone knows how to combine the two that would be very useful. regards, Dave |
|
![]() |
|
![]() |
|
Not sure exactly what you are saying, but are you concerned about having multiple modules with the same AttrDXL in them? Cloning the module should work. Also, you can edit the definition of the source attribute, browse for the DXL, use Current, then copy it. Then paste it into the new attribute in the new module.
Now I'm reading a little more carefully. Are you saying this DXL sets the Object Text of Table cells with a summary of other information? Then you've got a write-access problem since the Object Text can only be updated when in Edit or Share mode; wherease your AttrDXL CAN be updated in R only mode. Anyway, you can realistically write a post-module-open trigger that does this sort of update. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Trouble getting started with DXL attributes
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.