RebarShapeDefinitionBySegments
Constructor
Description:
Create a rebar shape definition with a given number of segments.
Create a rebar shape definition with a given number of segments.
Parameters
| Parameter | Type | Description |
|---|---|---|
| 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. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | numberOfSegments must be at least 1. |
| ArgumentNullException | A non-optional argument was null |