DirectShape.SetName Method

DirectShapeSetName Method

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.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also