![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DXL Input Arguments Topic Summary: Created On: 21-Apr-2005 21:02 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I can start DOORS from the command line using the -dxl command line switch: |
|
![]() |
|
![]() |
|
The attached code is a little function to go to an object with a specific attribute value. This will work for section numbers too.
------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Thanks Tony
I learned yesterday that one cannot 'yet' pass arguments to a dxl script. So, with your answer I only have one unanswered question.
Do you know anything about evalTop_, tabGoto_, etc? They sound like gui control; the equivalent of activating and manipulating guis with a mouse click. Do you know if they are documented anywhere?
Thanks Again!
|
|
![]() |
|
![]() |
|
string eval_(string dxl)
This perm executes the dxl string parameter within its own context (scope). This means that any variables declared or values set will not be available outside (i.e to the calling function). The evaluation takes place AFTER the current dxl finishes execution. In other words you cannot use eval_() to do something and then check the results. The return value is set by using return_(string) anywhere within the dxl. return_() does not force a return as you might expect, but just sets the value that is reurned when executeion completes. string evalTop_(string dxl) This is similar except that the dxl is executed in the top context. This has the same effect as running dxl from startup.dxl for example. Variables and functions declared in the top context are globally available in any context. tabGoto_ is an int constant. findReplaceModule_ is a Module variable. findReplaceGoto_(int) is a function. Thse are defined within the DXL code for the builtin find and replace functions. These files are encrypted, so are of no use to you in your own dxl. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
You can pass your arguments via a batch variable and read this variabl from the dxl script.
the batch: @echo off set DOORS_PARM=%1 D:\usr\bin\doors7\bin\doors -u <user> -P <passwd> -D "#include <T:\doors\dev\src\doorsParameters.dxl>" the dxl: string s = getenv("DOORS_PARM") infoBox(s) usage: \doors\dev\src>doorsParameters "Hallo, DOORS." ------------------------- Dirk Plaschke |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
DXL Input Arguments
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.