Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Pass Parameters to Applications
When configuring custom tools in Enterprise Architect, you can pass parameters to the application.
Select the Tools | Customize menu option. The Customize dialog displays; click on the Tools tab. Now you can:
• | Specify a custom tool (application) using the Command field |
• | Define a file to open or parameters to pass to this application using the Arguments field |
The available parameters for passing information to external applications are:
Parameter |
Description |
Notes |
---|---|---|
$f |
Project Name
|
For example, C:\projects\EAexample.eap |
$F |
Calling Application (Enterprise Architect)
|
Enterprise Architect |
$p |
Current Package ID
|
For example, 144 |
$P |
Package GUID
|
GUID for accessing this package |
$d |
Diagram ID
|
ID for accessing associated diagram |
$D |
Diagram GUID
|
GUID for accessing associated diagram |
$e |
Comma separated list of element IDs
|
All elements selected in the current diagram |
$E |
Comma separated list of element GUIDs
|
All elements selected in the current diagram |
Learn more
For more information on using the Automation Interface, visit www.sparxsystems.com/AutIntVB.htm.