Share

SpatialElementFromToCalculationPoints.IsAcceptableToPosition Method

Checks whether a given "to" position is valid.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public bool IsAcceptableToPosition(
	XYZ toPosition
)

Parameters

toPosition  XYZ
 

Return Value

Boolean
True if the input is an acceptable "to" position and False otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

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.

See Also

Reference

Was this information helpful?