Document.NewSpace(Level, UV)
Method
Description:
Creates a new space element on the given level at the given location.
Creates a new space element on the given level at the given location.
Parameters
Parameter | Type | Description |
---|---|---|
level | Level | The level on which the space is to exist. |
point | UV | A 2D point that dictates the location on that specified level. |
Return Value
Type | Description |
---|---|
Space | If successful the new space element is returned, otherwise . |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when level or point is. |
InvalidOperationException | Thrown when the space cannot be created. |
ArgumentException | Thrown if the level does not exist in the given document. |