GetCustomHandles Method

This function should define all handles that the Rebar has. This function is called when the Rebar is created.

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


bool GetCustomHandles(
	RebarHandlesData handlesInfoData
Visual Basic
Function GetCustomHandles ( _
	handlesInfoData As RebarHandlesData _
) As Boolean
Visual C++
bool GetCustomHandles(
	RebarHandlesData^ handlesInfoData


Type: Autodesk.Revit.DB.Structure RebarHandlesData
Use the methods on this class to define the handles for the free form rebar. Revit will use these handles to create appropriate RebarConstraints.

Return Value

Returns true if the handles were defined successfully, false otherwise.


Revit consider the execution failed if we have duplicate tags for custom, start and end handles.

See Also