Overview | Statement List


创建图纸

Synopsis

DRAWC/'drawing name',[MMETER,]{height,width|n}[,IFERR,label:]

Description

Creates a drawing of a specified name and size in the database. The specified drawing becomes the current drawing. Once the drawing is created, views can be added and manipulated using the Edit Drawing statement, DRAWE.

Parameters

Parameter

Description

'drawing name'

A string or string variable which represents the name of the drawing. You must use this name to refer to the drawing for any other purpose (e.g., editing, placing in a layout, etc.).

MMETER

Minor word which indicates that the drawing size is to be specified in millimeters. Inches is used if this minor word is not specified.

height,width

The size of the drawing to be created. Height is measured in the positive YC axis and width is measured in the positive XC axis. The drawing is created with its lower left hand corner at the origin of the WCS.

n

A valid drawing size code. The code creates the drawing in either inches or millimeters as specified by use of the minor word MMETER. The valid codes are shown in the table below.

IFERR,label:

Specifies a label to which the program jumps if an error occurs in creating the drawing.

Code

Size in Inches

Size in Millimeters

1

Ansi A - 8.5 x 11

ISO A0 - 841 x 1189

2

Ansi B - 11 x 17

ISO A1 - 594 x 841

3

Ansi C - 17 x 22

ISO A2 - 420 x 594

4

Ansi D - 22 x 34

ISO A3 - 297 x 420

5

Ansi E - 34 x 44

ISO A4 - 210 x 297


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.