2027 Class
Changes 1
C

RebarContainerItem

Description:
Provides implementation for Rebar stored in RebarContainer.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.RebarContainerItem
public class RebarContainerItem : IDisposable
Name Return Type Description Inherited From
M CanApplyPresentationMode(View) Boolean Checks if a presentation mode can be applied for this rebar in the given view.
M CanUseHookType(ElementId) Boolean Checks if the specified RebarHookType id is of a valid RebarHookType for the Rebar's RebarBarType
M ClearPresentationMode(View) None Sets the presentation mode for this rebar set to the default (either for a single view, or for all views).
M ComputeDrivingCurves() IList<Curve> Compute the driving curves.
M Dispose() None Releases all resources used by the RebarContainerItem
M DoesBarExistAtPosition(Int32) Boolean Checks whether a bar exists at the specified position.
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M FindMatchingPredefinedPresentationMode(View) RebarPresentationMode Determines if there is a matching RebarPresentationMode for the current set of selected hidden and unhidden bars assigned to the given view.
M GetBarPositionTransform(Int32) Transform Return a transform representing the relative position of any individual bar in the set.
M GetBendData() RebarBendData Gets the RebarBendData, containing bar and hook information, of the instance.
M GetCenterlineCurves(Boolean, Boolean, Boolean) IList<Curve> A chain of curves representing the centerline of the rebar.
M GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption) IList<Curve> A chain of curves representing the centerline of the rebar.
M GetDistributionPath() Line The distribution path of a rebar set.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetHookTypeId(Int32) ElementId Get the id of the RebarHookType to be applied to the rebar.
M GetPresentationMode(View) RebarPresentationMode Gets the presentaion mode for this rebar set when displayed in the given view.
M GetTerminationOrientation(Int32) RebarTerminationOrientation Gets 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.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M HasPresentationOverrides(View) Boolean Identifies if this rebar set has overridden default presentation settings for the given view.
M IsBarHidden(View, Int32) Boolean Identifies if a given bar in this rebar set is hidden in this view.
M IsRebarInSection(View) Boolean Identifies if this rebar set is shown as a cross-section in the given view.
M SetBarHiddenStatus(View, Int32, Boolean) None Sets the bar in this rebar set to be hidden or unhidden in the given view.
M SetFromCurves(RebarStyle, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarTerminationOrientation, RebarTerminationOrientation, Boolean, Boolean) None Set an instance of a RebarContainerItem element according to the parameters list.
M SetFromCurvesAndShape(RebarShape, RebarBarType, RebarHookType, RebarHookType, XYZ, IList<Curve>, RebarTerminationOrientation, RebarTerminationOrientation) None 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
M SetFromRebar(Rebar) None 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.
M SetFromRebarShape(RebarShape, RebarBarType, XYZ, XYZ, XYZ) None 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.
M SetHookTypeId(Int32, ElementId) None Set the id of the RebarHookType to be applied to the rebar.
M SetLayoutAsFixedNumber(Int32, Double, Boolean, Boolean, Boolean) None Sets the Layout Rule property of rebar set to FixedNumber.
M SetLayoutAsMaximumSpacing(Double, Double, Boolean, Boolean, Boolean) None Sets the Layout Rule property of rebar set to MaximumSpacing
M SetLayoutAsMinimumClearSpacing(Double, Double, Boolean, Boolean, Boolean) None Sets the Layout Rule property of rebar set to MinimumClearSpacing
M SetLayoutAsNumberWithSpacing(Int32, Double, Boolean, Boolean, Boolean) None Sets the Layout Rule property of rebar set to NumberWithSpacing
M SetLayoutAsSingle() None Sets the Layout Rule property of rebar set to Single.
M SetPresentationMode(View, RebarPresentationMode) None Sets the presentation mode for this rebar set when displayed in the given view.
M SetTerminationOrientation(Int32, RebarTerminationOrientation) None 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.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P ArrayLength double Identifies the distribution path length of rebar set.
P BarsOnNormalSide bool Identifies if the bars of the rebar set are on the same side of the rebar plane indicated by the normal.
P BarTypeId ElementId The identifier of the rebar bar type.
P BaseFinishingTurns int For a spiral, the number of finishing turns at the lower end of the spiral.
P Height double For a spiral, the overall height.
P IncludeFirstBar bool Identifies if the first bar in rebar set is shown.
P IncludeLastBar bool Identifies if the last bar in rebar set is shown.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P ItemIndex int The index of this item in its associated RebarContainer.
P LayoutRule RebarLayoutRule Identifies the layout rule of rebar set.
P MaxSpacing double Identifies the maximum spacing between rebar in rebar set.
P MultiplanarDepth double For a multiplanar rebar, the depth of the instance.
P Normal XYZ A unit-length vector normal to the plane of the rebar
P NumberOfBarPositions int The number of potential bars in the set.
P Pitch double For a spiral, the pitch, or vertical distance traveled in one rotation.
P Quantity int Identifies the number of bars in rebar set.
P RebarShapeId ElementId The RebarShape element that defines the shape of the rebar.
P TopFinishingTurns int For a spiral, the number of finishing turns at the upper end of the spiral.
P TotalLength double The length of an individual bar multiplied by Quantity.
P Volume double The volume of an individual bar multiplied by Quantity.