.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to get unnamed ucs transform matrix?

3 REPLIES 3
Reply
Message 1 of 4
netcai
453 Views, 3 Replies

how to get unnamed ucs transform matrix?

1. how to get unnamed ucs ucstablerecord ?
2.which property of ucstablerecord is ucs transform matrix?
3 REPLIES 3
Message 2 of 4
Anonymous
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?
Message 3 of 4
netcai
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.
Message 4 of 4
Anonymous
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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost