RebarTrimExtendData Class

RebarTrimExtendData Class

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
SystemObject
  Autodesk.Revit.DB.StructureRebarTrimExtendData

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public class RebarTrimExtendData : IDisposable
Public Class RebarTrimExtendData
	Implements IDisposable
public ref class RebarTrimExtendData : IDisposable
type RebarTrimExtendData = 
    class
        interface IDisposable
    end

The RebarTrimExtendData type exposes the following members.

Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodAddBarGeometry(CurveLoop) Adds a new rebar geometry. This information is set to the rebar after the API execution is finished successfully.
Public methodAddBarGeometry(IListCurve) 
Public methodCanAddBarGeometry Returns true if getNumberOfBarGeometry() is less than GetNumberOfBars(), false otherwise.
Public methodClearAllAddedBarGeometry This function will remove all bars geometry that were added by calling AddBarGeometry().
Public methodCreateEndConstraint 
Public methodCreateStartConstraint 
Public methodDisposeReleases all resources used by the RebarTrimExtendData
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetAddedBarGeometry Gets the added curves that will represent the bar at index barIndex.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNumberOfBarGeometry Gets the number of Bar Geometry that were added.
Public methodGetRebarUpdateCurvesData Gets a class that contains information used as input and output for rebar free form calculation.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
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.
See Also