DEFINE FACE_STYLE defines a facestyle, which can be referred to by name further on in other scripts.
Facestyle definitions prior to the definition of this facestyle may be included in any script; however, facestyles defined that way can be used solely in those scripts, in which they are defined, and their subsequent second generation-scripts.
Syntax
DEFINE FACE_STYLE name, id
[, angle, ref_x, ref_y
]
Parameters
name
(string): name of the facestyle, by which can be referred to this style
id
(integer): number of the facestyle
angle
(decimal): rotation angle (default: 0.0)
ref_x
, ref_y
(decimal): X resp. Y coordinate of the reference point (default: (0.0;0.0))
Corresponding commands
[SET
] FACE_STYLE name_string
[SET
] FACE_STYLE index
Index is a constant referring to a facestyle stack in the internal data structure; this stack is modified during script analysis and can also be modified from within the program. Any use of the index instead of the facestyle's name is only recommended with the prior use of the INDEX function.
INDEX (FACE_STYLE, "Name")
Remarks
Usable since script version 1.1 (Allplan 2012-1).
(C) ALLPLAN GmbH |
Privacy policy |