Revit 2025 API
Direct |
Sets the name for the DirectShape element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.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