Arbortext IsoDraw > Référence du langage macro > Appendix
  
Appendix
International Names
Writing Language-Independent Macros
In order to develop macros that are independent from the language version of Arbortext IsoDraw, use the international attribute-names.
Using these names rather than the language specific names will enable these macros to run in Arbortext IsoDraw disregarding the language version.
Even if it is valid to switch the active pen with:
myDoc.active_pen = “No Pen”
This would switch the pen only if the Pen is really named “No Pen”. This is true for the English language version of Arbortext IsoDraw only. In the German version the appropriate command would be:
myDoc.active_pen = “Kein Stift”
In order to write a macro which works always, we recommend using the international names:
myDoc.active_pen = “$ISO_NOPEN”
The proper pen name is calculated during run time of the macro. This command line would work on Arbortext IsoDraw, no matter if it is an English, German, Italian, French or even Japanese installation.
Pen Names
$ISO_NOPEN
$ISO_THICK
$ISO_MEDIUM
$ISO_THIN
$ISO_CENTERLINE
Style Names
$ISO_SOLID
$ISO_DASHED
$ISO_CENTERLINE
$ISO_DOTTED
$ISO_DOTDASHED
$ISO_DASHDOTDOT
$ISO_STARTARROW
$ISO_ENDARROW
$ISO_ENDDOT
$ISO_ARROW
$ISO_STITCHLINE
$ISO_CENTERLINE2
$ISO_HIDDENLINE
$ISO_PHANTOMLINE
$ISO_BREAKLINE1
$ISO_BREAKLINE2
Halo Names
$ISO_NOHALO
$ISO_LONG
$ISO_MIDDLE
$ISO_SHORT
$ISO_CENTER
Color Names
$ISO_NOFILL
$ISO_WHITE
$ISO_BLACK
Callout Names
$ISO_NORMAL