PEEKAY-CAD

Export Data

THIS SECTION IS UNDER REVIEW
11.1 Selecting Drawings and Setup the Script File.
      11.1.1Using "Explorer" copy the drawings into a directory e.g. "C:\DRAWINGS".
      11.1.2 Setup a file with a  "SCR" extension with a line for each drawing as follows:- OPEN Y [drawing filename] ATTEXT S [template filename] [drawing filename].
11.2 Setup the Template File (for dBase).
From the drawing identify the attributes you want extracted, note the attribute tag names, put them into the template file with a "TXT" extension, examples follow: -
      11.2.1 Drawing Index
DWGNO C008000
REV C003000
TITLE1 C025000
TITLE2 C025000
TITLE3 C025000
TITLE4 C025000
SCALE C005000
      11.2.2 Instrument Index
BL:NAME C008000
DWGNO C008000
TITLE C020000
FUNC C008000
LOOPNO C008000
      11.2.3 Material List
QTY N003000
UOM C005000
SCODE C008000
DESC C055000
11.3 Extract the Data from the Drawing.
      Start AutoCAD® with a blank drawing, run the appropriate script file. This will create an ASCII text file for each of the drawings selected using the same file name with a "TXT" extension.

RETURN TO TABLE OF CONTENTS