IsToCustomTarget Method


Rebar Constraint Is To Custom Target Method

Checks if the RebarConstraintType of the RebarConstraint is 'ToCustomTarget'.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public bool IsToCustomTarget()

Return Value

Boolean
Returns true if the RebarConstraintType of the RebarConstraint is 'ToCustomTarget', false otherwise.
Exceptions
Exception Condition
InvalidOperationException RebarConstraint is no longer valid.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →