![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Passing a variable into Layout DXL? Topic Summary: Created On: 14-Mar-2008 17:04 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
K...So maybe I'm having some kind of brain fart.
I'm trying to create some columns that are populated by layout DXL via a DXL script. Basically I have a for loop that is looping through some attribute names that I want displayed in color using the displayRichWithColor (string s) method. The title of the column is the same as that of the attribute. The problem is that I can't seem to get text from the correct attribute, because I can't seem to pass the attribute name into the layout dxl from my script or get the name of the "current" column. Here's an example of what I'm trying to do: ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
|
![]() |
|
Fixed it for you. You were putting the word "attr" in place of the actual attribute name. You needed to end the string, get the name of the attrdef and concatenate it with the code string.
Up to you, but I'd also use a buffer instead of a string. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 14-Mar-2008 at 18:35 by David Pechacek |
|
![]() |
|
![]() |
|
Heh...
Figured it out shortly after I posted... Did it a little bit differently though: ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com Edited: 14-Mar-2008 at 18:45 by Scott Boisvert |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Passing a variable into Layout DXL?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.