how to get unnamed ucs transform matrix?

how to get unnamed ucs transform matrix?

Anonymous
Not applicable
865 Views
3 Replies
Message 1 of 4

how to get unnamed ucs transform matrix?

Anonymous
Not applicable
1. how to get unnamed ucs ucstablerecord ?
2.which property of ucstablerecord is ucs transform matrix?
0 Likes
866 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
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:[email protected]...
1. how to get unnamed ucs ucstablerecord ?
2.which property of ucstablerecord is ucs transform matrix?
0 Likes
Message 3 of 4

Anonymous
Not applicable
If i use ucs command in autocad , and select parameter "object: to set new ucs, autocad will generate a unnamed ucs.
0 Likes
Message 4 of 4

Anonymous
Not applicable
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:[email protected]...
If i use ucs command in autocad , and select parameter "object: to set new
ucs, autocad will generate a unnamed ucs.
0 Likes