AddCustomHandle Method


Adds a new handle definition to the rebar. This information is set to the rebar after the API execution is finished successfully.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2018

Syntax

C#
public void AddCustomHandle(
	int customHandleTag
)
Visual Basic
Public Sub AddCustomHandle ( _
	customHandleTag As Integer _
)
Visual C++
public:
void AddCustomHandle(
	int customHandleTag
)

Parameters

customHandleTag
Type: System Int32
The tag of the handle. The tag should be different from the previous ones that were added.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException customHandleTag is a duplicate tag.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →