AllowsDistanceToHostEdgeOrHostEdgeCover Method


Rebar Constrained Handle Allows Distance To Host Edge Or Host Edge Cover Method

Checks if the RebarConstrainedHandle allows distance for a constraint of [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToHostEdge] or [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToHostEdgeCover] type.

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

Return Value

Boolean
Returns true if the RebarConstrainedHandle allows distance for a constraint of [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToHostEdge] or [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToHostEdgeCover] type, false otherwise.
Exceptions
Exception Condition
InvalidOperationException The RebarConstrainedHandle doesn't allow constraint of RebarConstraintType.ToHostEdge or RebarConstraintType.ToHostEdgeCover type.
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 →