| Revit 2021.1 API |
| DirectShape..::..SetName Method |
| DirectShape Class See Also |
Sets the name for the DirectShape element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since:
2015
Syntax
| C# |
|---|
public void SetName( string name ) |
| Visual Basic |
|---|
Public Sub SetName ( _ name As String _ ) |
| Visual C++ |
|---|
public: void SetName( String^ name ) |
Parameters
- name
- Type: System..::..String
The name.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |