Document.NewOpening(Level, Level, CurveArray)
Method
Description:
Creates a new shaft opening between a set of levels.
Creates a new shaft opening between a set of levels.
Remarks:
This method forms an opening on floor, ceiling and roof. Make sure topLevel is higher than bottomLevel, otherwise an exception will be returned.
This method forms an opening on floor, ceiling and roof. Make sure topLevel is higher than bottomLevel, otherwise an exception will be returned.
Parameters
Parameter | Type | Description |
---|---|---|
bottomLevel | Level | bottom level |
topLevel | Level | top level |
profile | CurveArray | profile of the opening. |
Return Value
Type | Description |
---|---|
Opening | If successful, an Opening object is returned. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the bottom level does not exist in the given document. |
ArgumentException | Thrown if the top level does not exist in the given document. |