> I need to export the transformation
> > matrixes (a.k.a. the coordinates: origin and orientation) of some UCS to
> > a text file to elaborate them with MATLAB...does anybody know how to
> > export those informations?
> This will be list code 210 when you pick an object with
> (entget(car(entsel)))
> You get the direction with (cdr (assoc 210 (entget(car(entsel)))))
I'm sorry, but I couldn't understand ur answer, or maybe u've misunderstood my question... I'll try to explain it better with an example....
Imagine to create a new UCS on a face of a solid (command: UCS/new/face...) and then to save it in the UCS's list (command: UCS/save...)... if U show the list of the saved UCSs (command: UCS/?/*) every saved UCS is followed by its origin and its spatial orientation (expressed by the cosins of the angles formed by each of the 3 axys of the UCS and the axys of the WCS) = 12 values totally.
What I need to do is to write down to a text file those 12 values with a LISP routine.
Any suggestion?
Thanks a lot
Alberto