• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Valued Contributor
    Posts: 66
    Registered: ‎07-22-2004

    how to get unnamed ucs transform matrix?

    202 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?
    Please use plain text.
    *Albert Szilvasy

    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?
    Please use plain text.
    Valued Contributor
    Posts: 66
    Registered: ‎07-22-2004

    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.
    Please use plain text.
    *Albert Szilvasy

    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.
    Please use plain text.