home *** CD-ROM | disk | FTP | other *** search
-
- 5.12.1 DEFINE SYMBOL
-
-
- The DEFINE SYMBOL command is used to create an external symbol file for the
- command DRAW SYMBOL.
-
- A symbol is first drawn using the X-CAD drawing commands. The symbol
- graphics can be created from any entities including other symbols. The
- DEFINE SYMBOL command is then used to identify all of the entities that make
- up the symbol and save the definition in a symbol file. The symbol can then
- be recreated at any time as a single entity or group of entities with the
- DRAW SYMBOL command.
-
-
- COMMAND FORMAT
-
- #DEFINE SYMBOL NAME name [modifiers] :Ent x1 x2 ... xn :Origin xm
-
- The existing entities that constitute the required symbol are identified at
- the Ent prompt. The local origin of the symbol - the origin that will be
- used when the symbol is drawn - is defined by 'xm'. If the symbol origin
- location is omitted, then the symbol origin is taken as the active viewport
- origin. ( See fig. 5.98 ).
-
- Any user-defined inter-entity relationships - those created with the LINK
- ENTITY command - are not saved with the symbol definition.
-
- The units type of the viewport in which the identified entities exist is
- saved with the symbol definition for automatic scaling purposes if the
- symbol is drawn in a viewport with a different units type.
-
- Text label substitution for any tnode related text entities can be made at
- draw time if the sub-string "#LABEL" is contained within the string for any
- text entity in the symbol definition. This sub-string can be substituted for
- any user-defined string using the LABEL modifier in the DRAW SYMBOL command.
-
-
- MODIFIERS
-
- NAME The name of the symbol in standard AmigaDos format consisting
- of no more then 80 characters. The full path name should be
- used as DEFINE SYMBOL does not consult the currently selected
- symbol directory.
-
- DEFINE SYMBOL will automatically add a ".sym" suffix to the
- symbol name. The suffix is used to identify symbol files and
- should not be entered when DRAW SYMBOL is used.
-
- ATTRIBUTE Used to enter one or more attributes that will be saved
- with this symbol definition. When the resulting symbol is
- inserted into a drawing using DRAW SYMBOL, the attributes
- saved with the symbol definition will be associated with
- each symbol instance.
-
- For a full description of the ATTRIBUTE option, see the
- documentation for the command ADD ATTRIBUTE.
-
-
-