SpatialElementFromToCalculationPoints.IsAcceptableToPosition
Method
Description:
Checks whether a given "to" position is valid.
Checks whether a given "to" position is valid.
Remarks:
The "from" position and the "to" position must be on opposite sides of the family's host. Flipping the calculation point will reverse the direction.
The "from" position and the "to" position must be on opposite sides of the family's host. Flipping the calculation point will reverse the direction.
Parameters
| Parameter | Type | Description |
|---|---|---|
| toPosition | XYZ |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the input is an acceptable "to" position and False otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |