angle | real (0.0...359.9°) |
gate | UL_GATE |
mirror | int |
name | string (INSTANCE_NAME_LENGTH) |
sheet | int (0=unused, 1..99=sheet number) |
value | string (PART_VALUE_LENGTH) |
x, y | int (origin point) |
Loop members
texts() | UL_TEXT |
Constants
INSTANCE_NAME_LENGTH | max. recommended length of an instance name (used in formatted output only) |
PART_VALUE_LENGTH | max. recommended length of a part value (instances do not have a value of their own!) |
Note
When processing an instance's texts, you have to loop through the instance's own texts() member as well as the texts() member of the instance's gate's symbol.
Příklad
schematic(S) { S.parts(P) { printf("Part: %s\n", P.name); P.instances(I) { if (I.sheet != 0) printf("\t%s used on sheet %d\n", I.name, I.sheet); } } }
OBSAH | Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH |