< Rev API Docs

RebarConstrainedHandle Methods

The RebarConstrainedHandle type exposes the following members.

Methods
 NameDescription
Public methodAllowsConstraintToCustomTarget Checks if the RebarConstrainedHandle allows constraint of [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToCustomTarget] type.
Public methodAllowsConstraintToHostEdge Checks if the RebarConstrainedHandle allows constraint of [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToHostEdge] type.
Public methodAllowsConstraintToHostEdgeCover Checks if the RebarConstrainedHandle allows constraint of [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToHostEdgeCover] type.
Public methodAllowsConstraintToHostFaceOrToCover Checks if the RebarConstrainedHandle allows constraint of [!:Autodesk::Revit::DB::Structure::RebarConstraintType::FixedDistanceToHostFace] or [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToCover] type.
Public methodAllowsConstraintToOtherRebarEdge Checks if the RebarConstrainedHandle allows constraint of [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToOtherRebar] type, where target is [!:Autodesk::Revit::DB::Structure::RebarConstraintType::TargetRebarConstraintType::Edge].
Public methodAllowsConstraintToSurface Checks if the RebarConstrainedHandle allows constraint of [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToSurface] type.
Public methodAllowsDistanceToHostEdgeOrHostEdgeCover Checks if the RebarConstrainedHandle allows distance for a constraint of [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToHostEdge] or [!:Autodesk::Revit::DB::Structure::RebarConstraintType::ToHostEdgeCover] type.
Public methodCanSetBehavior Checks if the input behavior can be set for this RebarConstrainedHandle.
Public methodDispose 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetCustomHandleTag Returns the tag of the handle. The type of the handle should be 'CustomHandle'.
Public methodGetEdgeNumber If the RebarConstrainedHandle's RebarHandleType is 'Edge', then this function will return the number of the edge that is driven by the handle.
Public methodGetHandleName Gets the name of the handle.
Public methodGetHandlePosition Gets the position of this handle as it is while editing constraints.
Public methodGetHandleSurface Gets the surface of this handle.
Public methodGetHandleType Returns the RebarHandleType of a RebarConstrainedHandle.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPossibleHandleBehaviors Gets a list of possible handle behaviors for the current handle.
Public methodGetRebarConstraintsManager Gets the RebarConstraintsManager that is associated with this handle.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsCustomHandle Returns true if the RebarHandleType of the RebarConstrainedHandle is 'CustomHandle'.
Public methodIsDraggable Checks that the RebarConstrainedHandle can be draggable in canvas (it has drag controls while editing constraints).
Public methodIsEdgeHandle Returns true if the RebarHandleType of the RebarConstrainedHandle is 'Edge'.
Public methodIsEqual Checks if the specified RebarConstrainedHandle is the same as 'this'.
Public methodIsValid Checks that the RebarConstrainedHandle still has access to valid Rebar handle data and that its RebarConstraintsManager is still valid.
Public methodMove Moves the handle with the specified vector.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also