hello,
I want to draw mline in the dwg automatically. Here is some codes, and what should I do next?
C# codes by VS2010,FOR AUTOCAD 2010.
Line dashdot = new Line();
dashdot.Linetype = "DashDot";
MlineStyleElement off1100 = new MlineStyleElement(3720/2,Autodesk.AutoCAD.Colors.Color.FromRgb (0,0,0),dashdot .LinetypeId );
MlineStyle mlineStyle = new MlineStyle();
mlineStyle.Elements.Add(off1100,false );
Mline mline = new Mline();
mline.Style = mlineStyle.ObjectId;//HOW CAN I DEFINE THE MLINE? it should contain lines and I don't know
// how to add lines(may be points) into it.
The code may be wrong.
Please give me some help and advice.
Thanks in advance.
Allen