Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So, I want to create layers, who's info is stored in an XML file.
By the XML file I can get the color and linetype and apply them to the layer. for your info:
***
newLayer.Color = Autodesk.AutoCAD.Colors.Color.FromColorIndex(ColorMethod.ByAci, Convert.ToInt16(getlaagkleur(laagnaam)));
newLayer.LinetypeObjectId = aclintbl[getlaaglinetype(laagnaam)];
***
However, for the lineweight I have to do it different. Question is how? Cause I can't input a variable with
***
newLayer.LineWeight = LineWeight.LineWeight005;
***
there's only some standard values I can pick. U not gonna tell me this ain't possible right????
Solved! Go to Solution.