Scripting ImPLANT-I 2
- Last UpdatedJan 06, 2026
- 2 minute read
If you wish to run the ImPLANT-I 2 technology from the windows command line, or from a script such as a Windows .bat file, a perl program, from PML using the SYSCOM command, you can use the ImPLANT-I2.exe program from the ImPLANT-I installation folder (by default C:\AVEVA\Plant\Design\ImPLANT-I2.3 or C:\AVEVA\Marine\Design\ImPLANT-I2.3).
All the options for ImPLANT-I2.exe are supplied as command-line arguments, for example:
ImPLANT-I2.exe -i "OldTestBed/V8-tank1.dgn" -o Shape.mac
There are several possible options. Most of them correspond to features available in the dialog interface, but there are some others, primarily intended to help automated testing.
|
-h |
Print brief help |
|
-i [path] |
The Input DGN file. You may enclose the path in double-quote characters (for example to include spaces), for example: -i "C:\new examples\tank1.dgn" |
|
-o [path] |
The Output Macro file. You may enclose the path in double-quote characters (for example to include spaces). If you do not include a -o option, the messages are sent to standard output, for example: -o Shape.mac |
|
-m [path] |
The Messages (log) file. You may enclose the path in double-quote characters (for example to include spaces). If you do not include a -d option, the messages are sent to standard output, for example: -m Shape.lo |
|
-scale N.M |
Multiply the size of the model by N.M. A scale greater than 1 makes the imported geometry bigger, and a scale less than 1 makes it smaller, for example: -scale 0.25 |
|
-shift X Y Z |
Shift the model by X Y Z mm, for example: -shift 1000 200 -250 |
|
-summary |
Print summary information instead of translating the model. |
|
-brief |
Print brief messages - this is the default. |
|
-full |
Print full messages. |
|
-filezone |
Wrap all the output in a ZONE element (default). |
|
-fileequi |
Wrap all the output in an EQUIPMENT element. |
|
-filestru |
Wrap all the output in an STRUCTURE element. |
|
-filevolm |
Wrap all the output in an VOLMODEL element. |
|
-filebare |
Do not wrap all the output in an element. |
|
-equi |
Wrap top-level DGN elements in EQUIPMENT element(s) (default). |
|
-sube |
Wrap top-level DGN elements in SUBEQUIPMENT element(s). |
|
-stru |
Wrap top-level DGN elements in STRUCTURE element(s). |
|
-subs |
Wrap top-level DGN elements in SUBSTRUCTURE element(s). |
|
-volm |
Wrap top-level DGN elements in VOLMODEL element(s). |
|
-svolm |
Wrap top-level DGN elements in SVOLMODEL element(s). |
|
-nocontainer |
Do not wrap top-level DGN elements in element(s). |
|
-limit N |
Translate up to N top-level DGN elements into each container (the default is 1, 0 means 'no limit'). |
|
-skip N |
Skip N top-level DGN elements before starting translating. |
|
-process N |
Translate only N top-level DGN elements. |
|
-debug |
Print verbose messages useful to AVEVA development. |
|
-named |
Name the outermost element from the DGN file. |
|
-tolfactor N.M |
Multiply the default tolerances by the given number. 10.0 is a coarse setting, 0.1 is a fine setting, and the default value is 1.0. |
|
-unicode |
Create unicode output files (utf-8 encoding with a byte-order mark). This option must only be used with Marine/Design 12.1.1 and above. |