2027 Class
Changes 0
C

RebarTrimExtendData

Description:
The class that contains the information needed to calculate and return the curves in a trimmed/extended state, and also find the constraints that trim/extend it.
Remarks:
If new curves will be added by calling addBarGeometry(), the existing curves in Rebar element will be replaced with these curves. It will not add curves to the existing ones.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.RebarTrimExtendData
public class RebarTrimExtendData : IDisposable
Name Return Type Description Inherited From
M AddBarGeometry(CurveLoop) RebarFreeFormValidationResult Adds a new rebar geometry. This information is set to the rebar after the API execution is finished successfully.
M AddBarGeometry(IList<Curve>) RebarFreeFormValidationResult Adds a new rebar geometry. This information is set to the rebar after the API execution is finished successfully.
M CanAddBarGeometry() Boolean Returns true if getNumberOfBarGeometry() is less than GetNumberOfBars(), false otherwise.
M ClearAllAddedBarGeometry() None This function will remove all bars geometry that were added by calling AddBarGeometry().
M CreateEndConstraint(IList<Reference>, Boolean, Double) Boolean Creates a constraint for the end handle of the rebar. This constraint will be set preferred after the API execution is finished successfully.
M CreateStartConstraint(IList<Reference>, Boolean, Double) Boolean Creates a constraint for the start handle of the rebar. This constraint will be set preferred after the API execution is finished successfully.
M Dispose() None Releases all resources used by the RebarTrimExtendData
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetAddedBarGeometry(Int32) IList<Curve> Gets the added curves that will represent the bar at index barIndex.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetNumberOfBarGeometry() Int32 Gets the number of Bar Geometry that were added.
M GetRebarUpdateCurvesData() RebarUpdateCurvesData Gets a class that contains information used as input and output for rebar free form calculation.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.