Skip to content

RebarUpdateCurvesData

Public Class

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

The RebarUpdateCurvesData type exposes the following members.

Properties

Name

Description


Public Property

Orientation options for an Aligned Free Form Rebar set.


Public Property

Indicates if the orientation options have changed since the last regeneration.


Public Property

Indicates if the workshop instructions have changed since the last regeneration.


Public Property

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

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

If true, then host of the rebar was mirrorred (along with the rebar) before this regeneration.


Public Property

Indicates if the attachment type has changed since the last regeneration.


Public Property

Indicates if the bar number has changed since the last regeneration.


Public Property

Indicates if the bending radius has changed since the last regeneration.


Public Property

Indicates if the end handle constraint has changed since the last regeneration.


Public Property

Indicates if the layout has changed since the last regeneration.


Public Property

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

Indicates if the spacing has changed since the last regeneration.


Public Property

Indicates if the start handle constraint has changed since the last regeneration.


Public Property

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

The spacing between the bars, according to the LayoutRule.


Public Property

Identifies the workshop instructions of this rebar.


Methods

Name

Description


Public Method

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

Returns attachment type for stirrups to be used in cover calculation.


Public Method

Returns the geometry for a bar at the specified index currently in the Rebar.


Public Method

Gets the model diameter of the Rebar.


Public Method

Gets the nominal diameter of the Rebar.


Public Method

Gets the number of bars specified in the layout options. This is used to calculate the sets driven by bar number.


Public Method

Gets the current bending radius of the rebar.


Public Method

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

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

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

Gets a reference to the current document.


Public Method

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

Get the hook orientation angle at end that is currently in the rebar.


Public Method

Returns the normal of plane in which the hook at end of bar with index barPositionIndex that is currently in Rebar.


Public Method

Gets the id of the host structural for this rebar.


Public Method

Gets the layout rule for this bar.


Public Method

Returns the number of bars currently in the rebar.


Public Method

Get the id of the Rebar element currently being calculated.


Public Method

Gets the style of the rebar.


Public Method

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

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)