Share

RebarCurvesData Class

The class that contains the information needed to calculate and return the result of the external curve generation.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.Structure.RebarCurvesData


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class RebarCurvesData : IDisposable

The RebarCurvesData type exposes the following members.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.

Methods

 NameDescription
Public methodAddBarGeometry(CurveLoop) Adds a new bar to the new rebar geometry. This information is set to the rebar after the API execution is finished successfully.
Public methodAddBarGeometry(IList<Curve>) Adds a new bar to the new rebar geometry. This information is set to the rebar after the API execution is finished successfully.
Public methodCanAddBarGeometry

If the layout rule is Singe or FixedNumber or NumberWithSpacing this function will return true if getNumberOfBarGeometry() is less getBarsNumber(), false otherwise.

If the layout rule is MaximumSpacing or MinimumClearSpacing this function will return always true.

Public methodClearAllAddedBarGeometry This function will remove all bars geometry that were added by calling AddBarGeometry().
Public methodDisposeReleases all resources used by the RebarCurvesData
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 methodGetDistributionPath Gets the distribution path currently stored in the rebar.
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 methodSetDistributionPath Sets a new distribution path to be applied to the rebar. This information is set to the rebar after the API execution is finished successfully.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?