home *** CD-ROM | disk | FTP | other *** search
/ Global Amiga Experience / globalamigaexperience.iso / graphic / cad / xcad3000 / xcdoc / addatt next >
Text File  |  1995-07-10  |  2KB  |  53 lines

  1.  
  2.    15.2 ADD ATTRIBUTE
  3.  
  4.  
  5. The ADD ATTRIBUTE command is used to associate one or more attributes to a
  6. set of entities.  
  7.  
  8.  
  9.    COMMAND SYNTAX
  10.  
  11.       #ADD ATTRIBUTE modifiers :Ent x1 x2 ... xn
  12.  
  13. The specified attributes will be added to the entities selected with 'x1' to
  14. 'xn'.
  15.  
  16. If any of the attributes entered with the command are not found in the
  17. attribute look-up file "XCDATA:attribute", an error message will be
  18. displayed and the command will be aborted.
  19.  
  20.  
  21.    MODIFIERS
  22.  
  23. ATTRIBUTE      The name of an attribute that exists in the attribute
  24.                look-up file "XCDATA:attribute". The maximum length of an
  25.                attribute name is 16 characters.
  26.  
  27.                This modifier can be repeated up to 32 times allowing multiple
  28.                attributes to be added in the same command. For example:
  29.  
  30.                   #ADD ATTRIBUTE ATTRIBUTE NUMBER INTEGER 10 ATTRIBUTE
  31.                      TYPE TEXT "Office chair" :Ent ...
  32.  
  33.    The following three modifiers are dependent on the data type of the
  34.    entered attribute. The data type of the required attribute should be
  35.    known as the correct data type modifier must be used or an error will
  36.    occur. Attributes with the data type NULL do not require a value to be
  37.    entered after the attribute name.
  38.  
  39. .TEXT          This modifier is used if the attribute that has been
  40.                entered is of the data type TEXT. The modifier is followed
  41.                by a text string.
  42.  
  43. .INTEGER       This modifier is used if the attribute that has been entered
  44.                is of the data type INTEGER. The modifier is followed by one
  45.                or more integer values. If more that one value is entered,
  46.                each value should be separated by a comma.
  47.  
  48. .REAL          This modifier is used if the attribute that has been entered
  49.                is of the data type REAL. The modifier is followed by one
  50.                or more real values. If more that one value is entered, each
  51.                value should be separated by a comma.
  52.  
  53.