title: How to change Revit 2014 element name by API C#
body: <p>I want to change element name by API and I have the following code.</p>
  
  <pre><code>Reference r = docUI.Selection.PickObject(ObjectType.Element, "Please pick an element");
  Element element = doc.GetElement(r.ElementId);
  
  element.Name = "MyElement";
  </code></pre>
  
  <p>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 ?</p>
  
  <p>Please help!</p>