.NET

Reply
Valued Contributor
netcai
Posts: 66
Registered: ‎07-22-2004
Message 1 of 4 (240 Views)

how to get unnamed ucs transform matrix?

240 Views, 3 Replies
07-09-2005 08:55 PM
1. how to get unnamed ucs ucstablerecord ?
2.which property of ucstablerecord is ucs transform matrix?
*Albert Szilvasy
Message 2 of 4 (240 Views)

Re: how to get unnamed ucs transform matrix?

07-14-2005 08:57 AM in reply to: netcai
1. I don't think that AutoCAD ever uses unnamed ucstablerecords. Are you
looking for Editor.CurrentUserCoordinateSystem?
2. Here's how you get the transform:
UcsTableRecord ucs;

Matrix3d xform = Matrix3d.AlignCoordinateSystem(

Point3d.Origin,Vector3d.XAxis,Vector3d.YAxis,Vector3d.ZAxis,

ucs.Origin,ucs.XAxis,ucs.YAxis,ucs.XAxis.CrossProduct(ucs.YAxis)

);

Albert

wrote in message news:4897283@discussion.autodesk.com...
1. how to get unnamed ucs ucstablerecord ?
2.which property of ucstablerecord is ucs transform matrix?
Valued Contributor
netcai
Posts: 66
Registered: ‎07-22-2004
Message 3 of 4 (240 Views)

Re: how to get unnamed ucs transform matrix?

07-14-2005 11:47 PM in reply to: netcai
If i use ucs command in autocad , and select parameter "object: to set new ucs, autocad will generate a unnamed ucs.
*Albert Szilvasy
Message 4 of 4 (240 Views)

Re: how to get unnamed ucs transform matrix?

07-15-2005 08:47 AM in reply to: netcai
Ok. I see what you mean. This simply sets the "current" ucs. It doesn't
create a new anonymous UcsTableRecord. I guess we just had a different
understanding of what "unnamed ucs" means.

Albert
wrote in message news:4902323@discussion.autodesk.com...
If i use ucs command in autocad , and select parameter "object: to set new
ucs, autocad will generate a unnamed ucs.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.