matrix3dzero

Hi,

Can you guys tell me where I can access matrix3dzero and all the other matrix functions in dotNET?

Are these functions detailed in vba help still the best way to manipulate matrices?

Thanks

Parents
  • Sorry to trouble you with what is probably a dumb question, but how is it implemented?

    If I have:

    BCOM.Matrix3d rotation = BCOM.Application.Matrix3dZero();
    app.CreateTextElement1(null, "hello", ref originPt, ref rotation);

    the error is:

    An object reference is required for the non-static field, method, or property. 'Bentley.Interop.MicroStationDGN.Application.Matrix3dZero()'

    I'm sure this is fundamental C# but I can't find a solution.  Matrix3dZero() returns a zero value of type Matrix3D, so how do I assign that to rotation?

    Thanks

Reply
  • Sorry to trouble you with what is probably a dumb question, but how is it implemented?

    If I have:

    BCOM.Matrix3d rotation = BCOM.Application.Matrix3dZero();
    app.CreateTextElement1(null, "hello", ref originPt, ref rotation);

    the error is:

    An object reference is required for the non-static field, method, or property. 'Bentley.Interop.MicroStationDGN.Application.Matrix3dZero()'

    I'm sure this is fundamental C# but I can't find a solution.  Matrix3dZero() returns a zero value of type Matrix3D, so how do I assign that to rotation?

    Thanks

Children