home *** CD-ROM | disk | FTP | other *** search
/ Global Amiga Experience / globalamigaexperience.iso / graphic / cad / xcad3000 / xcdoc / makesym < prev    next >
Text File  |  1995-07-10  |  3KB  |  60 lines

  1.  
  2.    5.12.1 DEFINE SYMBOL
  3.  
  4.  
  5. The DEFINE SYMBOL command is used to create an external symbol file for the
  6. command DRAW SYMBOL.
  7.  
  8. A symbol is first drawn using the X-CAD drawing commands. The symbol
  9. graphics can be created from any entities including other symbols. The
  10. DEFINE SYMBOL command is then used to identify all of the entities that make
  11. up the symbol and save the definition in a symbol file. The symbol can then
  12. be recreated at any time as a single entity or group of entities with the
  13. DRAW SYMBOL command.
  14.  
  15.  
  16.    COMMAND FORMAT
  17.  
  18.       #DEFINE SYMBOL NAME name [modifiers] :Ent x1 x2 ... xn :Origin xm
  19.  
  20. The existing entities that constitute the required symbol are identified at
  21. the Ent prompt. The local origin of the symbol - the origin that will be
  22. used when the symbol is drawn - is defined by 'xm'. If the symbol origin
  23. location is omitted, then the symbol origin is taken as the active viewport
  24. origin. ( See fig. 5.98 ).
  25.  
  26. Any user-defined inter-entity relationships - those created with the LINK
  27. ENTITY command - are not saved with the symbol definition.
  28.  
  29. The units type of the viewport in which the identified entities exist is
  30. saved with the symbol definition for automatic scaling purposes if the
  31. symbol is drawn in a viewport with a different units type.
  32.  
  33. Text label substitution for any tnode related text entities can be made at
  34. draw time if the sub-string "#LABEL" is contained within the string for any
  35. text entity in the symbol definition. This sub-string can be substituted for
  36. any user-defined string using the LABEL modifier in the DRAW SYMBOL command.
  37.  
  38.  
  39.    MODIFIERS
  40.  
  41. NAME           The name of the symbol in standard AmigaDos format consisting
  42.                of no more then 80 characters. The full path name should be
  43.                used as DEFINE SYMBOL does not consult the currently selected
  44.                symbol directory.
  45.  
  46.                DEFINE SYMBOL will automatically add a ".sym" suffix to the
  47.                symbol name. The suffix is used to identify symbol files and
  48.                should not be entered when DRAW SYMBOL is used.
  49.  
  50. ATTRIBUTE      Used to enter one or more attributes that will be saved
  51.                with this symbol definition. When the resulting symbol is
  52.                inserted into a drawing using DRAW SYMBOL, the attributes
  53.                saved with the symbol definition will be associated with
  54.                each symbol instance.
  55.  
  56.                For a full description of the ATTRIBUTE option, see the 
  57.                documentation for the command ADD ATTRIBUTE.
  58.  
  59.  
  60.