CAD software discussion forum > Other CAD/CAM Technology > Execute the Attdef command in autocad

Execute the Attdef command in autocad

Rank: 3Rank: 3

Yusuf

Junior Engineer

posts: 188

Registered: 2012-4-27

Message 1 of 1

 Execute the Attdef command in autocad
14-04-2014 02:03 . pm | View his/her posts only
Execute the Attdef command in cad software and pop out the attribute definition dialog as graph 10-14 shows. The main contents in the dialog are Tag, Prompt, Default, Coordinate, Mode, Text etc.
Use the Attdef command to define the brand and mode of the car, as shown in 10-1 and define them as a attribute block to insert into the current graphic. The attribute of car mode is invisible.
Steps:


   Command: Attdef
   execute the Attdef command and popped out the definition attribute dialog box
   Enter ”PINPAI” in the name box Enter the attribute name
   Enter ”please enter car’s brand name” in the prompt input dialog box
  Specify the prompt content when inserting the attributive block
   Select the verification mode in the “attribute tag position”
  Check out the value when setting the input attribute value
  Click the “chose” button to pick a insertion point of the attribute
  Specify the insertion point of the brand attribute, as shown in graph(b)
  Enter the defined HT in the font dialog box
   set the font type of attributive text as Black
  Click the “Define” or “Define and Exit” button
  Complete the definition of the brand attribute
  
  
   Command: Attdef Define the mode attribute
   Enter ”XIAOHAO” in the name box Enter the attribute name
   Enter ”please enter car’s mode” in the prompt input dialog box
  Specify the prompt content when inserting the attributive block
   Select the verification and hidden mode in the “attribute tag position”
  Check out the attribute value and attribute invisible
 Click the “chose” button to pick a insertion point of the attribute
  Specify the insertion point of the brand attribute, as shown in graph(b)
  Enter the defined HT in the font dialog box
  Specify the font type of attributive text
  Click the “Define” or “Define and Exit” button
  Complete the definition of the brand attribute


  Command: Block
   Execute the Block command and define the car block with attributes
   The new block’s name or “?” ,list the existing block QC
   Name the attributive block
  Insertion point of the new block: pick a point the draw area for the new block
  Specify the left blow corner of the car as the base point to insert
  Select the write block objects: specify the car entity has two attributes
  Another corner point: specify the another corner of the car as the point
  Select the entities attribute the block
Select the objects in the collection:93
Select the object to write the block
Enter to end.

  Command: Insert Execute Insert command
  Select the QC block in the “insert” dialog box
  Block or click the “insert” button Enter or select the name of the block
  Insertion point block or [Multi block(M)/Scale factor(S)/X/Y/Z/Rotation angle(R)]
   Pick a point in the draw
   Specify the insertion point of the block
   X scale factor<1.000000>; Enter and insert the default value
  Y scale factor<1.000000>; Enter and insert the default value
  Rotation angle; Specify the rotation angle of insert block
 Enter the car’s brand:BMW Enter the attribute value of the brand
 Enter the car’s mode:BM598 Enter the attribute value of the mode
 Check the attribute value Check the attribute value
 Enter the car’s brand:BMW
  Enter the car’s mode:BM598
  Correct input and Enter to end

Notes:
Before definition, the tag of attribute is text only. The user can modify and edit it through Text Edit command. Only when the attribute is defined as a block together with graphics, the attribute can be inserted into the graph according to the value specified by the user into the drawing. If a graphic symbol has multi attributes, you must define them separately firstly and then define them as a block together.
The call command of attribute block is same with the ordinary block while the prompts are more than ordinary command.
If the inserted attribute block had been decomposed by the Explode command, the attribute value will disappear and recover into the attribute tag. So you should be very careful to use the Explode command
drafting software download
3d drawing software
See also