| Article | 70000593 |
| Type | Wish |
| Product | Engine |
| Date Added | 10/8/2015 12:00:00 AM |
| Fixed | 7.7006.0.4 (10/8/2015 12:00:00 AM) |
| Submitted by | Giorspyros Vissarion |
Summary
I cannot rename a layer to the same name but with different case letters, like layer "START" to layer "Start"
Solution
Added in 7.7006.0.4 This code :
vdLayer lay = new vdLayer(doc, "test");
doc.Layers.AddItem(lay);
lay.Update();// a new layer named "test" is created
//rename this layer from "test" to "TeSt", like
lay.Name = "TeSt";
lay.Update();
now works and renames the layer.
Beside vdLayer, similar code now renames all table objects: vdBLock, vdTextStyle, vdDimStyle, vdGroup, vdHatchPattern, vdImageDef, vdLayersFilter, vdLayersGroup, vdLayout, vdLineType, vdMultilineStyle, vdNamedUCS and vdView.
