2027 Members
Changes 0
M

RebarShapeDrivenAccessor Methods

Name Return Type Description Inherited From
M ComputeDrivingCurves() IList<Curve> Compute the driving curves.
M Dispose() None
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M FlipRebar() None Flips the rebar by flipping the ends and the bar segments.
M FlipRebarSet() None Flips the rebar set by changing the RebarPlane with the OutOfPlaneExtent and vice versa.
M GetBarPositionTransform(Int32) Transform Return a transform representing the relative position of any individual bar in the set.
M GetDistributionPath() Line The distribution path of a rebar set.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M 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. First the bar is given the default values of the shape parameters from the shape definition. Then, if it is possible to do so without violating the shape definition, the parameter values are scaled so that the width and height of the shape (including bar thickness) match the lengths of xVec and yVec. If there is no way to do this within the shape definition due to overconstraining, a compromise is attempted, such as scaling the whole shape until either the width or the height is correct. Finally the shape is rotated to match the coordinate system of the box. The algorithm is the same one used in one-click placement.
M 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. One end of the rebar shape is inscribed in this rectangle following the procedure described for the ScaleToBox method. The other end is placed in the parallel plane at distance (center-to-center) given by the height argument, in the direction of (xVec x yVec). Note that spiral shapes interpret the input arguments using a different convention than multiplanar shapes. For spiral shapes, the spiral start will be placed in the rectangle defined by origin, xVec, yVec, and the end of the spiral will be placed in the parallel plane. For multiplanar shapes, the rebar is placed with its primary shape definition located in the parallel plane defined by the height argument, and its connector segments extending in the direction opposite (xVec x yVec). This method replaces ScaleToBoxForSpiral() from prior releases.
M SetLayoutAsCustomSpacing(String, Double, Boolean, Boolean, Boolean) None Sets the Layout Rule property of rebar set to Custom Spacing.
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 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
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object