RebarContainerItem Class

Provides implementation for Rebar stored in RebarContainer.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.StructureRebarContainerItem

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

The RebarContainerItem type exposes the following members.

Properties
 NameDescription
Public propertyArrayLength Identifies the distribution path length of rebar set.
Public propertyBarsOnNormalSide Identifies if the bars of the rebar set are on the same side of the rebar plane indicated by the normal.
Public propertyBarTypeId The identifier of the rebar bar type.
Public propertyBaseFinishingTurns For a spiral, the number of finishing turns at the lower end of the spiral.
Public propertyHeight For a spiral, the overall height.
Public propertyIncludeFirstBar Identifies if the first bar in rebar set is shown.
Public propertyIncludeLastBar Identifies if the last bar in rebar set is shown.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyItemIndex The index of this item in its associated RebarContainer.
Public propertyLayoutRule Identifies the layout rule of rebar set.
Public propertyMaxSpacing Identifies the maximum spacing between rebar in rebar set.
Public propertyMultiplanarDepth For a multiplanar rebar, the depth of the instance.
Public propertyNormal A unit-length vector normal to the plane of the rebar
Public propertyNumberOfBarPositions The number of potential bars in the set.
Public propertyPitch For a spiral, the pitch, or vertical distance traveled in one rotation.
Public propertyQuantity Identifies the number of bars in rebar set.
Public propertyRebarShapeId The RebarShape element that defines the shape of the rebar.
Public propertyTopFinishingTurns For a spiral, the number of finishing turns at the upper end of the spiral.
Public propertyTotalLength The length of an individual bar multiplied by Quantity.
Public propertyVolume The volume of an individual bar multiplied by Quantity.
Top
Methods
 NameDescription
Public methodCanApplyPresentationMode Checks if a presentation mode can be applied for this rebar in the given view.
Public methodCanUseHookType Checks if the specified RebarHookType id is of a valid RebarHookType for the Rebar's RebarBarType
Public methodClearPresentationMode Sets the presentation mode for this rebar set to the default (either for a single view, or for all views).
Public methodComputeDrivingCurves Compute the driving curves.
Public methodDisposeReleases all resources used by the RebarContainerItem
Public methodDoesBarExistAtPosition Checks whether a bar exists at the specified position.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFindMatchingPredefinedPresentationMode Determines if there is a matching RebarPresentationMode for the current set of selected hidden and unhidden bars assigned to the given view.
Public methodGetBarPositionTransform Return a transform representing the relative position of any individual bar in the set.
Public methodGetBendData Gets the RebarBendData, containing bar and hook information, of the instance.
Public methodGetCenterlineCurves(Boolean, Boolean, Boolean) A chain of curves representing the centerline of the rebar.
Public methodGetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption) A chain of curves representing the centerline of the rebar.
Public methodGetDistributionPath The distribution path of a rebar set.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetHookOrientation Returns the orientation of the hook plane at the start or at the end of the rebar with respect to the orientation of the first or the last curve and the plane normal.
Public methodGetHookTypeId Get the id of the RebarHookType to be applied to the rebar.
Public methodGetPresentationMode Gets the presentaion mode for this rebar set when displayed in the given view.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasPresentationOverrides Identifies if this rebar set has overridden default presentation settings for the given view.
Public methodIsBarHidden Identifies if a given bar in this rebar set is hidden in this view.
Public methodIsRebarInSection Identifies if this rebar set is shown as a cross-section in the given view.
Public methodSetBarHiddenStatus Sets the bar in this rebar set to be hidden or unhidden in the given view.
Public methodSetFromCurves Set an instance of a RebarContainerItem element according to the parameters list.
Public methodSetFromCurvesAndShape Set an instance of a RebarContainerItem element according to the parameters list. The instance will have the default shape parameters from the RebarShape. If the RebarShapeDefinesHooks flag in ReinforcementSettings has been set to true, then both the curves and hooks must match the RebarShape definition. Otherwise, the hooks can be different than the defaults specified in the RebarShape
Public methodSetFromRebar Set an instance of a RebarContainerItem element according to a Rebar parameters. Will throw exception if given rebar is not shape driven. Will throw exception if given rebar has moved bars in set.
Public methodSetFromRebarShape Set an instance of a RebarContainerItem element, as an instance of a RebarShape. The instance will have the default shape parameters from the RebarShape, and its location is based on the bounding box of the shape in the shape definition. Hooks are removed from the shape before computing its bounding box. If appropriate hooks can be found in the document, they will be assigned arbitrarily.
Public methodSetHookOrientation Defines the orientation of the hook plane at the start or at the end of the rebar with respect to the orientation of the first or the last curve and the plane normal.
Public methodSetHookTypeId Set the id of the RebarHookType to be applied to the rebar.
Public methodSetLayoutAsFixedNumber Sets the Layout Rule property of rebar set to FixedNumber.
Public methodSetLayoutAsMaximumSpacing Sets the Layout Rule property of rebar set to MaximumSpacing
Public methodSetLayoutAsMinimumClearSpacing Sets the Layout Rule property of rebar set to MinimumClearSpacing
Public methodSetLayoutAsNumberWithSpacing Sets the Layout Rule property of rebar set to NumberWithSpacing
Public methodSetLayoutAsSingle Sets the Layout Rule property of rebar set to Single.
Public methodSetPresentationMode Sets the presentation mode for this rebar set when displayed in the given view.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also