The SYMBOL Statement
- Last UpdatedJan 07, 2026
- 1 minute read
SYMBOL,<symb_name>,<symb_no>,<symb_pnt>,<symb_ang>
[/MIRRORX]
[/MIRRORY]
[/SYMBFONT=<symb_fnt>]
[/SYMBHEIGHT=<symb_hgt>]
[/SYMBWIDTH=<symb_wid>]
[/AUTOOFF];
<symb_name> is the name of the symbol and has the type SYMBOL_2D. The maximum length of <symb_name> is 32 characters.
<symb_no> is the number of the symbol. It has the type INTEGER.
<symb_pnt> is the origin of the symbol and has the type POINT_2D.
<symb_ang> is the symbol angle which is of type DECIMAL.
MIRRORX
With this attribute, it is possible to reflect the symbol in the x axis. It cannot be used together with MIRRORY.
MIRRORY
With this attribute it is possible to reflect the symbol in the y axis. It cannot be used together with MIRRORX.
SYMBFONT=<symb_fnt>
<symb_fnt> is the symbol font and has the type INTEGER. The default font is the system font number 21.
SYMBHEIGHT=<symb_hgt>
<symb_hgt> is the symbol height and has the type DECIMAL. The symbol is given a default height value and the symbol height can be changed with this attribute.
SYMBWIDTH=<symb_wid>
<symb_wid> is the symbol width and has the type DECIMAL. The symbol is given a default width value but the symbol width can be changed with this attribute.
AUTOOFF
With this attribute it is possible to switch off the default automatic positioning of the symbol.
Structure:
|
SYMBNO |
(INTEGER) |
||
|
PNT(1:2) |
(DECIMAL) |
||
|
ANGLE |
(DECIMAL) |
||
|
FONTNO |
(INTEGER) |
||
|
WIDTH |
(DECIMAL) |
||
|
HEIGHT |
(DECIMAL) |
||
|
MIRR |
(INTEGER) |
||
|
AUTO |
(INTEGER) |
||
|
Example: |
|||
|
GET/STRUCTURE=(S,<symb_name>,'SYMBNO') |
|||
|
/STRUCTURE=(X,<symb_name>,'PNT',1) |
|||
|
/STRUCTURE=(A,<symb_name>,'ANGLE') |
|||
|
/STRUCTURE=(F,<symb_name>,'FONTNO') |
|||
|
/STRUCTURE=(W,<symb_name>,'WIDTH') |
|||
|
/STRUCTURE=(H,<symb_name>,'HEIGHT') |
|||
|
/STRUCTURE=(M,<symb_name>,'MIRR') |
|||
|
/STRUCTURE=(A,<symb_name>,'AUTO'); |
|||