I'm looking for a working code example on using mdlElmdscr_stroke in C# or VB. (Using COM)
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
I agree with Jon that ConstructVertexList is the right direction. This method looks quite straightforward and providing quite exact copy of mdlElmdscr_stroke functionality.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point