RebarTrimExtendData
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.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Structure.RebarTrimExtendData
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RebarTrimExtendData : IDisposable
The RebarTrimExtendData type exposes the following members.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
AddBarGeometry(CurveLoop)
Adds a new rebar geometry. This information is set to the rebar after the API execution is finished successfully.
Public Method
AddBarGeometry(IList.Curve.)
Adds a new rebar geometry. This information is set to the rebar after the API execution is finished successfully.
Public Method
CanAddBarGeometry
Returns true if getNumberOfBarGeometry() is less than GetNumberOfBars(), false otherwise.
Public Method
ClearAllAddedBarGeometry
This function will remove all bars geometry that were added by calling AddBarGeometry().
Public Method
CreateEndConstraint
Creates a constraint for the end handle of the rebar. This constraint will be set preferred after the API execution is finished successfully.
Public Method
CreateStartConstraint
Creates a constraint for the start handle of the rebar. This constraint will be set preferred after the API execution is finished successfully.
Public Method
Dispose
Releases all resources used by the RebarTrimExtendData
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetAddedBarGeometry
Gets the added curves that will represent the bar at index barIndex.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetNumberOfBarGeometry
Gets the number of Bar Geometry that were added.
Public Method
GetRebarUpdateCurvesData
Gets a class that contains information used as input and output for rebar free form calculation.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
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.