2021 Members
Changes 5
M

RebarConstraintsManager

Name Return Type Description Inherited From
M AllowConstraintTargets(RebarConstrainedHandle, IList<Reference>) bool Returns true if references are valid targets for handle, false otherwise.
M ApplyRebarConstraints(IList<RebarConstraint>, IList<Reference>, IList<Reference>) bool Returns true if constraints were applied to rebar with success.
M ClearHandleConstraintPairHighlighting(Document) None Clears all highlighting in all views.
M Dispose() None Releases all resources used by the RebarConstraintsManager
M Equals None (Inherited from Object .) Object .
M GetAllConstrainedHandles() IList<RebarConstrainedHandle> Retrieves all handles on the Rebar that are constrained to external references.
M GetAllHandles() IList<RebarConstrainedHandle> Gets all RebarConstrainedHandles of this bar.
M GetConstraintCandidatesForHandle(RebarConstrainedHandle) IList<RebarConstraint> For shape driven rebar returns all possible RebarConstraints that could be used for a specified RebarConstrainedHandle. For free form rebar will return an empty list.
M GetConstraintCandidatesForHandle(RebarConstrainedHandle, ElementId) IList<RebarConstraint> For shape driven rebar returns all possible RebarConstraints belonging to references from the provided element that could be used for a specified RebarConstrainedHandle. For free form rebar will return an empty list.
M GetConstraintCandidatesForHandle(RebarConstrainedHandle, Reference) IList<RebarConstraint> For shape driven rebar returns all possible RebarConstraints that will constrain RebarConstrainedHandle to the provided reference. For free form rebar will return an empty lists.
M GetCurrentConstraintOnHandle(RebarConstrainedHandle) RebarConstraint Retrieves the RebarConstraint that acts on the specified RebarConstraintHandle.
M GetHashCode None (Inherited from Object .) Object .
M GetPreferredConstraintOnHandle(RebarConstrainedHandle) RebarConstraint For ShapeDriven: Returns the RebarConstraint that has been set as preferred for the specified RebarConstrainedHandle. For FreeForm: Returns the RebarConstraint that acts on the specified RebarConstraintHandle.
M GetType None (Inherited from Object .) Object .
M HasValidRebar() bool Checks whether the Manager's Rebar is still valid.
M HighlightHandleConstraintPairInAllViews(Document, RebarConstrainedHandle, RebarConstraint) None Highlights the specified RebarConstrainedHandle and RebarConstraint in all views.
M RemovePreferredConstraintFromHandle(RebarConstrainedHandle) None For ShapeDriven: Clears the user-preferred RebarConstraint from the specified RebarConstrainedHandle. For FreeForm: Removes the RebarConstraint that is associated to the specified RebarConstrainedHandle.
M SetPreferredConstraintForHandle(RebarConstrainedHandle, RebarConstraint) None For ShapeDriven Rebar: Sets the RebarConstraint as preferred constraint target for the specified RebarConstrainedHandle. For FreeForm Rebar: Sets the RebarConstraint as the target for the specified RebarConstraintHandle.
M ToString None (Inherited from Object .) Object .
Name Return Type Description Inherited From
P IsRebarConstrainedPlacementEnabled bool A static property defining if the 'Rebar Constrained Placement' setting is on or off in current Revit Application Session.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.