Login | Sign Up
 





 
AutoLISP Function Detail
Name: trans

Syntax:
(trans pt from to [flag])

Description:
Translates the point from one coordinate system to another. The optional flag determines how the point is returned.

System From/To Description
0 World coordinate system (WCS)
1 User coordinate system {UCS)
2 Current display coordinate system (DCS) use with codes 0 and 1
2 Current model space display coordinate system (DCS) use with code 3
3 Paper space display coordinate system (DCS) use with code 2 only

Flag Description
T 3D displacement (vector)
nil 3D point


Example(s):
(trans '(5.2550 1.0000) 0 1)
(5.255 1.0 0.0)