Method SetName
SetName(ElementId, string)
Sets the name of an element.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
void SetName(ElementId inElementId, string inName)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the element to modify. |
| string | inName | New name of the element. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.6.