2023 Class
Changes 8
C

RebarUpdateCurvesData

Description:
Class holding the information needed to calculate the rebar curves.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.RebarUpdateCurvesData
public class RebarUpdateCurvesData : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetAttachmentType() StirrupTieAttachmentType Returns attachment type for stirrups to be used in cover calculation.
M GetBarGeometry(Int32) IList<Curve> Returns the geometry for a bar at the specified index currently in the Rebar.
M GetBarModelDiameter() double Gets the model diameter of the Rebar.
M GetBarNominalDiameter() double Gets the nominal diameter of the Rebar.
M GetBarsNumber() int Gets the number of bars specified in the layout options. This is used to calculate the sets driven by bar number.
M GetBendingRadius() double Gets the current bending radius of the rebar.
M GetChangedCustomHandles() IList<int> Returns an array containing custom handles that were changed since the last regeneration. Array is empty if no handles were changed since the last regeneration.
M GetChangedSharedParameterGUIDs() IList<Guid> Returns an array containing the shared parameter GUIDs that were changed since the last regeneration. Array is empty if no shared params were changed since the last regeneration.
M GetCustomConstraints() IList<RebarConstraint> Gets all rebar constraints that are attached to custom handles for this rebar.
M GetDocument() Document Gets a reference to the current document.
M GetEndConstraint() RebarConstraint Gets the current constraint for the end handle of the Rebar.
M GetHookOrientationAngle(Int32) double Get the hook orientation angle at end that is currently in the rebar.
M GetHookPlaneNormalForBarIdx(Int32, Int32) XYZ Returns the normal of plane in which the hook at end of bar with index barPositionIndex that is currently in Rebar.
M GetHostId() ElementId Gets the id of the host structural for this rebar.
M GetLayoutRule() RebarLayoutRule Gets the layout rule for this bar.
M GetNumberOfBars() int Returns the number of bars currently in the rebar.
M GetRebarId() ElementId Get the id of the Rebar element currently being calculated.
M GetRebarStyle() RebarStyle Gets the style of the rebar.
M GetStartConstraint() RebarConstraint Gets the current constraint for the start handle of the Rebar.
M SetHookOrientationAngle(Int32, Double) None Set the hook orientation angle at end. This information is set to the rebar after the API execution is finished successfully.
M SetHookPlaneNormalForBarIdx(Int32, Int32, XYZ) None Set the normal of plane in which the hook at end of bar with index barPositionIndex will stay. This information is set to the rebar after the API execution is finished successfully.
Name Return Type Description
P AreWorkshopInstructionsChanged bool Indicates if the workshop instructions have changed since the last regeneration.
P ErrorMessage string The reason for calculation failure. If the calculation fails, this message will be shown in an error, or warning if we are editing the constraints.
P HostMirrored bool If true, then host of the rebar was mirrorred (along with the rebar) before this regeneration.
P IsAttachmentTypeChanged bool Indicates if the attachment type has changed since the last regeneration.
P IsBarsNumberChanged bool Indicates if the bar number has changed since the last regeneration.
P IsBendingRadiusChanged bool Indicates if the bending radius has changed since the last regeneration.
P IsEndConstraintChanged bool Indicates if the end handle constraint has changed since the last regeneration.
P IsLayoutChanged bool Indicates if the layout has changed since the last regeneration.
P IsReversed bool Used to store the state of the bar refering to the direction of the bars. This is useful when using face intersection to calculate bars.
P IsSpacingChanged bool Indicates if the spacing has changed since the last regeneration.
P IsStartConstraintChanged bool Indicates if the start handle constraint has changed since the last regeneration.
P IsStyleChanged bool Indicates if the style has changed since the last regeneration.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P Spacing double The spacing between the bars, according to the LayoutRule.
P WorkshopInstructions RebarWorkInstructions Identifies the workshop instructions of this rebar.