RebarShapeDrivenAccessor
Description:
A class that is used to access the properties and capabilities of shape-driven Rebar.
A class that is used to access the properties and capabilities of shape-driven Rebar.
Remarks:
Obtain an instance of this class from GetShapeDrivenAccessor.. The accessor includes a reference to the Rebar element. If the referenced Rebar element is deleted, using the methods form this class will throw exception.
Obtain an instance of this class from GetShapeDrivenAccessor.. The accessor includes a reference to the Rebar element. If the referenced Rebar element is deleted, using the methods form this class will throw exception.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Structure.RebarShapeDrivenAccessor
System.Object
Autodesk.Revit.DB.Structure.RebarShapeDrivenAccessor
public class RebarShapeDrivenAccessor : IDisposable
| Name | Return Type | Description |
|---|---|---|
| ComputeDrivingCurves() | IList<Curve> | Compute the driving curves. |
| Dispose() | None | Releases all resources used by the |
| FlipRebarSet() | None | Flips the rebar set by changing the RebarPlane with the OutOfPlaneExtent and vice versa. |
| GetBarPositionTransform(Int32) | Transform | Return a transform representing the relative position of any individual bar in the set. |
| GetDistributionPath() | Line | The distribution path of a rebar set. |
| ScaleToBoxFor3D(XYZ, XYZ, XYZ, Double) | None | Move and resize a spiral or multiplanar instance to fit within a specified box. The arguments are interpreted as an arbitrary rectangle in 3D with vertices: origin, origin+xVec, origin+xVec+yVec, origin+yVec. |
| ScaleToBox(XYZ, XYZ, XYZ) | None | Move and resize the bar to fit within a specified box. The arguments are interpreted as an arbitrary rectangle in 3D with vertices: origin, origin+xVec, origin+xVec+yVec, origin+yVec. The algorithm then proceeds as follows. |
| SetLayoutAsFixedNumber(Int32, Double, Boolean, Boolean, Boolean) | None | Sets the Layout Rule property of rebar set to FixedNumber. |
| SetLayoutAsMaximumSpacing(Double, Double, Boolean, Boolean, Boolean) | None | Sets the Layout Rule property of rebar set to MaximumSpacing |
| SetLayoutAsMinimumClearSpacing(Double, Double, Boolean, Boolean, Boolean) | None | Sets the Layout Rule property of rebar set to MinimumClearSpacing |
| SetLayoutAsNumberWithSpacing(Int32, Double, Boolean, Boolean, Boolean) | None | Sets the Layout Rule property of rebar set to NumberWithSpacing |
| SetLayoutAsSingle() | None | Sets the Layout Rule property of rebar set to Single. |
| SetRebarShapeId(ElementId) | None | Changes the RebarShape element that defines the shape of the rebar. Changing the value of this member causes the Rebar instance to choose values for its shape parameters to preserve its previous shape as closely as possible |
| Name | Return Type | Description |
|---|---|---|
| ArrayLength | double | Identifies the distribution path length of rebar set. |
| BarsOnNormalSide | bool | Identifies if the bars of the rebar set are on the same side of the rebar plane indicated by the normal. |
| BaseFinishingTurns | int | For a spiral, the number of finishing turns at the lower end of the spiral. |
| Height | double | For a spiral, the overall height. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| MultiplanarDepth | double | For a multiplanar rebar, the depth of the instance. |
| Normal | XYZ | A unit-length vector normal to the plane of the rebar |
| Pitch | double | For a spiral, the pitch, or vertical distance traveled in one rotation. |
| TopFinishingTurns | int | For a spiral, the number of finishing turns at the upper end of the spiral. |