Hi
When I try to create a new layer with a Description value set, the newly added layer's Description is not set to the value I assigned. Example code:-
LayerTableRecord ltr = new LayerTableRecord();
ltr.Name = myName;
ltr.Color = Autodesk.AutoCAD.Colors.Color.FromColor(myColour);
ltr.Description = myDescription;
ObjectId ltId = lt.Add(ltr);
tr.AddNewlyCreatedDBObject(ltr, true);
What I have to do is update it after insertion.
Is that to be expected or is my code lacking something?
Thanks
Craig
AutoCAD 2013, VS2010 SP1, C#