<Code Lib>
2020 Class
Changes 0
C

RebarCurvesData

Description:
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

public class RebarCurvesData : IDisposable

Name Return Type Description
M AddBarGeometry(CurveLoop) RebarFreeFormValidationResult Adds a new bar to the 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 bar to the new rebar geometry. This information is set to the rebar after the API execution is finished successfully.
M CanAddBarGeometry() bool 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.
M ClearAllAddedBarGeometry() None This function will remove all bars geometry that were added by calling AddBarGeometry().
M Dispose() None Releases all resources used by the RebarCurvesData
M GetAddedBarGeometry(Int32) IList<Curve> Gets the added curves that will represent the bar at index barIndex.
M GetDistributionPath() IList<Curve> Gets the distribution path currently stored in the rebar.
M GetNumberOfBarGeometry() int 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 SetDistributionPath(IList<Curve>) None 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.

Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.

Loading…