Create a rebar shape definition with a given number of segments.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public RebarShapeDefinitionBySegments(
Document doc,
int numberOfSegments
)
Parameters
- doc Document
-
A document. The definition object is not a part of the document,
but it will contain references to parameters that are in a document.
The definition can be used for RebarShape creation only in the
specified document.
- numberOfSegments Int32
-
The number of segments in the definition.
Exceptions
See Also
Reference