Hi everyone
I want to change element name by API and I have the following code.
Reference r = docUI.Selection.PickObject(ObjectType.Element, "Please pick an element");
Element element = doc.GetElement(r.ElementId);
element.Name = "MyElement";
But why occured this error ? 'This element does not support assignment of a user-specified name.'
Or should I change the name by another way ?
Please help!