2027 Method
Changes 0
M

SpatialElementFromToCalculationPoints.MakeToPositionAcceptable

Description:
This function takes a potential "to" point and converts it to be a similar point on the opposite side of the family's host from the "from" point if necessary.
Remarks:
If the point is already an acceptable "to" location then the original point will be returned. Otherwise, the point's X and Y will be projected onto the centerline of the family's host.
public XYZ MakeToPositionAcceptable(
	XYZ newToLocation
)
  • newToLocation
    The desired "to" location
Return Value XYZ The valid "to" location.