Revit 2026 API
Direct |
Sets the name for the DirectShape element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetName( string name )
Public Sub SetName ( name As String )
public: void SetName( String^ name )
member SetName : name : string -> unit
Parameters
- name String
- The name.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also