Create file of symbols |
For file creation it is necessary to execute following actions: 1. By means of the text editor add into a file of symbols a marker of object (.OBJ). 2. If necessary fill a "SEMANTICS of object" field by using attributing semantics. 3. Execute creation of the SYMBOL description. 3.1 Load AutoCAD. 3.2 By means of AutoCAD draw a symbol. The sizes of a symbol are specified in millimeters. Coordinates of a point of symbol binding should be 0,0, i.e. zero (in system of coordinates of AutoCAD drawing field). 3.3 Choose Create block button, further: - in the appeared Creation of block description window press Choose objects button; - choose into the block graphic primitives making the drawn symbol. Upon termination of a choice press the Blank; - in again appeared Creation of block description window set a name of the block (no more than 30 symbols - numerals and (or) latin symbols, unique within the file of symbols), for example KOLODEC, and set the coordinates of a base point as a zero; - press OK button, the block is created; - in main menu of AutoCAD by command File/Export unload the block into a DXF-file, for example, with name BLOK.DXF. It is necessary to unload in DXF of 14 version; - in the received text file (in our case BLOK.DXF) by means of any text editor you must find the description of created block with the fixed name (in our case KOLODEC) and by means of text editor you must copy this description into file of symbols after MARKER OF OBJECT field (if there is no SEMANTICS field) or after SEMANTICS field (if semantics is attributed to object). To copy it is necessary from BLOCK marker to ENDBLK marker inclusive.
|