RebarUpdateCurvesData Class

Class holding the information needed to calculate the rebar curves.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.StructureRebarUpdateCurvesData

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RebarUpdateCurvesData : IDisposable

The RebarUpdateCurvesData type exposes the following members.

Properties
 NameDescription
Public propertyAlignedFreeFormSetOrientationOptions Orientation options for an Aligned Free Form Rebar set.
Public propertyAreOrientationOptionsChanged Indicates if the orientation options have changed since the last regeneration.
Public propertyAreWorkshopInstructionsChanged Indicates if the workshop instructions have changed since the last regeneration.
Public propertyCycleCounterChanged

True if the cycle counter was changed, false otherwise.

The cycle counter value is changed when the free form Rebar element is selected and the user press Space key -or- by through [!:Autodesk::Revit::DB::Structure::RebarRebarFreeFormAccessor::CycleCounter] property. -or- by the server if it considers that the counter reaches the maximum value and reset it (set it to 0).

Public propertyErrorMessage 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.
Public propertyHostMirrored If true, then host of the rebar was mirrorred (along with the rebar) before this regeneration.
Public propertyIsAttachmentTypeChanged Indicates if the attachment type has changed since the last regeneration.
Public propertyIsBarsNumberChanged Indicates if the bar number has changed since the last regeneration.
Public propertyIsBendingRadiusChanged Indicates if the bending radius has changed since the last regeneration.
Public propertyIsEndConstraintChanged Indicates if the end handle constraint has changed since the last regeneration.
Public propertyIsLayoutChanged Indicates if the layout has changed since the last regeneration.
Public propertyIsReversed 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. After mirroring, curves created from intersecting faces may be reversed, so we use this to store the state and keep the rebar pointing in the correct direction.
Public propertyIsSpacingChanged Indicates if the spacing has changed since the last regeneration.
Public propertyIsStartConstraintChanged Indicates if the start handle constraint has changed since the last regeneration.
Public propertyIsStyleChanged Indicates if the style has changed since the last regeneration.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertySpacing The spacing between the bars, according to the LayoutRule.
Public propertyWorkshopInstructions Identifies the workshop instructions of this rebar.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the RebarUpdateCurvesData
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetAttachmentType Returns attachment type for stirrups to be used in cover calculation.
Public methodGetBarGeometry Returns the geometry for a bar at the specified index currently in the Rebar.
Public methodGetBarModelDiameter Gets the model diameter of the Rebar.
Public methodGetBarNominalDiameter Gets the nominal diameter of the Rebar.
Public methodGetBarsNumber Gets the number of bars specified in the layout options. This is used to calculate the sets driven by bar number.
Public methodGetBendingRadius Gets the current bending radius of the rebar.
Public methodGetChangedCustomHandles 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.
Public methodGetChangedSharedParameterGUIDs 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.
Public methodGetCustomConstraints Gets all rebar constraints that are attached to custom handles for this rebar.
Public methodGetCycleCounter Gets the cycle counter that is stored in the rebar.
Public methodGetDocument Gets a reference to the current document.
Public methodGetEndConstraint Gets the current constraint for the end handle of the Rebar.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetHookOrientationAngle Get the hook orientation angle at end that is currently in the rebar.
Public methodGetHookPlaneNormalForBarIdx Returns the normal of plane in which the hook at end of bar with index barPositionIndex that is currently in Rebar.
Public methodGetHostId Gets the id of the host structural for this rebar.
Public methodGetLayoutRule Gets the layout rule for this bar.
Public methodGetNumberOfBars Returns the number of bars currently in the rebar.
Public methodGetRebarId Get the id of the Rebar element currently being calculated.
Public methodGetRebarStyle Gets the style of the rebar.
Public methodGetStartConstraint Gets the current constraint for the start handle of the Rebar.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetCycleCounter Sets the cycle counter to a specific value.
Public methodSetHookOrientationAngle Set the hook orientation angle at end. This information is set to the rebar after the API execution is finished successfully.
Public methodSetHookPlaneNormalForBarIdx 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.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also