Overview | Statement List


添加视图

Synopsis

DRAWE/['drawing name',]ADD,'view name',x,y[,IFERR,label:]

Description

Adds an existing view to a previously created drawing at the specified coordinates. This function is equivalent to the UG interactive 'add view' function with 'Inherit XY Clipping Planes' selected. Views added to the drawing by this command will not update automatically.

Parameters

Parameter

Description

'drawing name'

A string or string variable which represents the name of the drawing to which the view is added.

ADD

Minor word which indicates that a view is to be added to a drawing.

'view name'

A string or string variable which represents the name of the view to be added. The view must not already be on the drawing and must not be a drawing.

x,y

The coordinates which define the drawing reference point and are used to place the view in the drawing. The coordinates are measured from the lower left hand corner of the drawing to the view reference point of the view being added.

IFERR,label:

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

 


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