Overview | Statement List | Example


重新定位坐标

Synopsis

pos = MAP/pos1,FROM,{csys1,TO,csys2|member_view_name,TO,parent_drawing_name}

Descriptions

Maps coordinate data from one coordinate system to another.

Parameters

Parameter

Description

pos1

A three-element numerical array which consists of X,Y and Z coordinates in the coordinate system csys1.

NOTE: The receiving variable must also be a three-element array.

FROM

Minor word that indicates the source of the coordinate system for pos1. The coordinate system can be obtained from one of the following sources: csys1 or the member view name.

TO

Minor word which indicates the target coordinate system to which pos1 is to be mapped. The target coordinate system can be obtained from one of the following: csys2 or the parent drawing name.

csys1

A previously defined coordinate system from which the coordinates are mapped.

csys2

A previously defined coordinate system to which the coordinates are mapped.

member_view_name

The name of the member view whose coordinates are to be used in the mapping. This parameter can be a string variable or literal string.

parent_drawing_name

The name of the parent drawing whose coordinates are to be used in the mapping. This parameter can be a string variable or literal string.


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