[V8i C# or VB.net] mdlElmdscr_stroke

I'm looking for a working code example on using mdlElmdscr_stroke in C# or VB. (Using COM)

Parents
  • Unknown said:
    mdlElmdscr_stroke

    The MDL documentation provide no function declaration for VBA, but has this comment: For VBA, this function is wrapped by the ConstructVertexList method.

    No example is provided in VBA help.  Presumably, you would do something like this...

    Const Tolerance As Double = 0.1
    Dim points() As Point3d
    points = oElement.AsVertexList.ConstructVertexList (Tolerance)

    However, I haven't tested that code.  You'll have to experiment.

     
    Regards, Jon Summers
    LA Solutions

    Answer Verified By: Lars Karlsson 

Reply
  • Unknown said:
    mdlElmdscr_stroke

    The MDL documentation provide no function declaration for VBA, but has this comment: For VBA, this function is wrapped by the ConstructVertexList method.

    No example is provided in VBA help.  Presumably, you would do something like this...

    Const Tolerance As Double = 0.1
    Dim points() As Point3d
    points = oElement.AsVertexList.ConstructVertexList (Tolerance)

    However, I haven't tested that code.  You'll have to experiment.

     
    Regards, Jon Summers
    LA Solutions

    Answer Verified By: Lars Karlsson 

Children
No Data