RebarUpdateCurvesData
Class holding the information needed to calculate the rebar curves.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Structure.RebarUpdateCurvesData
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RebarUpdateCurvesData : IDisposableThe RebarUpdateCurvesData type exposes the following members.
Properties
Name
Description
Public Property
AlignedFreeFormSetOrientationOptions
Orientation options for an Aligned Free Form Rebar set.
Public Property
AreOrientationOptionsChanged
Indicates if the orientation options have changed since the last regeneration.
Public Property
AreWorkshopInstructionsChanged
Indicates if the workshop instructions have changed since the last regeneration.
Public Property
CycleCounterChanged
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 Property
ErrorMessage
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 Property
HostMirrored
If true, then host of the rebar was mirrorred (along with the rebar) before this regeneration.
Public Property
IsAttachmentTypeChanged
Indicates if the attachment type has changed since the last regeneration.
Public Property
IsBarsNumberChanged
Indicates if the bar number has changed since the last regeneration.
Public Property
IsBendingRadiusChanged
Indicates if the bending radius has changed since the last regeneration.
Public Property
IsEndConstraintChanged
Indicates if the end handle constraint has changed since the last regeneration.
Public Property
IsLayoutChanged
Indicates if the layout has changed since the last regeneration.
Public Property
IsReversed
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 Property
IsSpacingChanged
Indicates if the spacing has changed since the last regeneration.
Public Property
IsStartConstraintChanged
Indicates if the start handle constraint has changed since the last regeneration.
Public Property
IsStyleChanged
Indicates if the style has changed since the last regeneration.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
Spacing
The spacing between the bars, according to the LayoutRule.
Public Property
WorkshopInstructions
Identifies the workshop instructions of this rebar.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the RebarUpdateCurvesData
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetAttachmentType
Returns attachment type for stirrups to be used in cover calculation.
Public Method
GetBarGeometry
Returns the geometry for a bar at the specified index currently in the Rebar.
Public Method
GetBarModelDiameter
Gets the model diameter of the Rebar.
Public Method
GetBarNominalDiameter
Gets the nominal diameter of the Rebar.
Public Method
GetBarsNumber
Gets the number of bars specified in the layout options. This is used to calculate the sets driven by bar number.
Public Method
GetBendingRadius
Gets the current bending radius of the rebar.
Public Method
GetChangedCustomHandles
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 Method
GetChangedSharedParameterGUIDs
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 Method
GetCustomConstraints
Gets all rebar constraints that are attached to custom handles for this rebar.
Public Method
GetCycleCounter
Gets the cycle counter that is stored in the rebar.
Public Method
GetDocument
Gets a reference to the current document.
Public Method
GetEndConstraint
Gets the current constraint for the end handle of the Rebar.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetHookOrientationAngle
Get the hook orientation angle at end that is currently in the rebar.
Public Method
GetHookPlaneNormalForBarIdx
Returns the normal of plane in which the hook at end of bar with index barPositionIndex that is currently in Rebar.
Public Method
GetHostId
Gets the id of the host structural for this rebar.
Public Method
GetLayoutRule
Gets the layout rule for this bar.
Public Method
GetNumberOfBars
Returns the number of bars currently in the rebar.
Public Method
GetRebarId
Get the id of the Rebar element currently being calculated.
Public Method
GetRebarStyle
Gets the style of the rebar.
Public Method
GetStartConstraint
Gets the current constraint for the start handle of the Rebar.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
SetCycleCounter
Sets the cycle counter to a specific value.
Public Method
SetHookOrientationAngle
Set the hook orientation angle at end. This information is set to the rebar after the API execution is finished successfully.
Public Method
SetHookPlaneNormalForBarIdx
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 Method
ToString
Returns a string that represents the current object.
(Inherited from Object)