A human readable name for the Element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public virtual string Name { get; set; }
Property Value
StringExceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the name of the element cannot be changed. |
ArgumentException | Thrown when the element requires a unique name and a non-unique name is set. |