Share

RebarConstraintsManager Methods

The RebarConstraintsManager type exposes the following members.

Methods

 NameDescription
Public methodAllowConstraintTargets Returns true if references are valid targets for handle, false otherwise.
Public methodApplyRebarConstraints Returns true if constraints were applied to rebar with success.
Public methodClearHandleConstraintPairHighlighting Clears all highlighting in all views.
Public methodDispose 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetAllConstrainedHandles Retrieves all handles on the Rebar that are constrained to external references.
Public methodGetAllHandles Gets all RebarConstrainedHandles of this bar.
Public methodGetConstraintCandidatesForHandle(RebarConstrainedHandle)Obsolete.

For shape driven rebar returns all possible automatic RebarConstraints that could be used for a specified RebarConstrainedHandle.

For free form rebar will return an empty list.

Public methodGetConstraintCandidatesForHandle(RebarConstrainedHandle, ElementId)

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.

Public methodGetConstraintCandidatesForHandle(RebarConstrainedHandle, Reference)

For shape driven rebar returns all possible RebarConstraints that will constrain RebarConstrainedHandle to the provided reference.

For free form rebar will return an empty list.

Public methodGetCurrentConstraintOnHandle Retrieves the RebarConstraint that acts on the specified RebarConstraintHandle.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPreferredConstraintOnHandle

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.

Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasValidRebar Checks whether the Manager's Rebar is still valid.
Public methodHighlightHandleConstraintPairInAllViews Highlights the specified RebarConstrainedHandle and RebarConstraint in all views.
Public methodRemovePreferredConstraintFromHandle

For ShapeDriven: Clears the user-preferred RebarConstraint from the specified RebarConstrainedHandle.

For FreeForm: Removes the RebarConstraint that is associated to the specified RebarConstrainedHandle.

Public methodSetPreferredConstraint Sets the RebarConstraint as preferred constraint for its RebarConstrainedHandle.
Public methodSetPreferredConstraintForHandleObsolete.

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.

Public methodSetPreferredConstraintsToSurfaceForHandles

For ShapeDriven Rebar it will set a preferred 'ToSurface' RebarConstraint for each input handle. The surface that will be used by the constraint is the current surface that is used to compute the position of the handle.

This function applies only for shape driven Rebar, and will throw exception for free form rebar.

Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?