Overview | Symbol List


工件坐标系

Synopsis

&WCS

Description

Accesses the current work coordinate system. The values of the current WCS can be extracted and used for operations such as transformations and coordinate system definition, or the current WCS can be changed by writing an existing coordinate system to &WCS.

For example, a coordinate system can be created, rotated, and then made the new WCS as follows:

ENTITY/NEWSYS(2)
NUMBER/MAT(12)
NEWSYS(1)=&WCS
MAT=MATRIX/YZROT,90
NEWSYS(2)=TRANSF/MAT,CSYS(1)
&WCS=NEWSYS(2)

NOTE: The WCS points to a CSYS for its data. This associated CSYS may be temporary or permanent. When the associated CSYS is permanent, it may not be deleted or transformed while it is equal to the WCS. This function is not intended to be used when a drawing is displayed.

Characteristics

Read/Write - Object


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