TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: csgoh on December 23, 2010, 03:13:17 AM

Title: convert viewport ucs coord to layout coordinate
Post by: csgoh on December 23, 2010, 03:13:17 AM
I am trying to convert a list of coord (-16200 24600) to the layout coordinate but fail.
did this

Command: (TRANS '(-16200 24600) 0 1)
(-698.442 1284.35 0.0)

Command: _.PSPACE
Command: (TRANS '(698.442 1284.35) 2 3)
(29250.3 -5623.53 0.0)

the coordinate should be around 32.2 456.15. did i do something wrong
Title: Re: convert viewport ucs coord to layout coordinate
Post by: Lee Mac on December 23, 2010, 05:48:08 AM
If I understand correctly, search for Giles WCS2PCS function  :-)