The properties are read-only because the managed Matrx3d is a struct/value type (e.g., its fields cannot be modified).
Matrix3d m = Matrix3d.Identity;
// Set translation:
m *= Matrix3d.Displacement( new Vector3d( x, y, z )); // x,y,z translation
// Set rotation (rotate by PI/2 around WCS Z axis)
m *= Matrix3d.Rotation( Math.PI/2.0, Vector3d.ZAxis, Point3d.Origin );
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
wrote in message news:5865390@discussion.autodesk.com...
Hello, Guys.
In Arx the class AcGeMatrix3d has methods like 'setToTranslation', 'setToRotation'. In .NET this are now readonly properties. Does anyone know how to set this in .NET?
I would really appreciate the help, friends.
Bruno Neves Pires Silva