Skip to content

RebarShapeMultiplanarDefinition

Public Class

A specification for a simple 3D rebar shape.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.Structure.RebarShapeMultiplanarDefinition

Namespace: Autodesk.Revit.DB.Structure

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class RebarShapeMultiplanarDefinition : IDisposable

The RebarShapeMultiplanarDefinition type exposes the following members.

Constructors

Name

Description


Public Method
RebarShapeMultiplanarDefinition

Create a RebarShapeMultiplanarDefinition for use in creating a RebarShape.


Properties

Name

Description


Public Property

Id of the parameter driving the multiplanar depth. The depth is measured center-to-center of the bar. A valid shape parameter must be assigned to DepthParamId before the MultiplanarDefinition can be used in RebarShape creation.


Public Property

Whether the shape definition includes an offset copy of the 2D shape.


Public Property

Whether a perpendicular segment is constructed from the end of the 2D shape.


Public Property

Whether a perpendicular segment is constructed from the start of the 2D shape.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

Bend diameter to be applied to the connector segments.


Methods

Name

Description


Public Method

Releases all resources used by the RebarShapeMultiplanarDefinition


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Simultaneously set the presence of all 3D segments.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

Simple 3D rebar shapes are supported by adding segments to a regular 2D shape definition. The added segments consist of three optional parts: a “duplicate shape” and two connectors. A “duplicate shape” is a second copy of the 2D shape, offset in a perpendicular direction, and connected at either the start or the end by a perpendicular connector segment. Also supported is adding one or both connector segments, without the duplicate shape. Fillets are applied to the connector segments with a diameter that is given by the OutOfPlaneBendDiameter property. The length of the connectors is given by the Rebar instance parameter “multiplanar depth.” The MultiplanarDepth property of this class is the default value of the parameter.