SpatialElementFromToCalculationPoints.MakeFromPositionAcceptable
Method
Description:
This function takes a potential "from" point and converts it to be a similar point on the opposite side of the family's host from the "to" point if necessary.
This function takes a potential "from" point and converts it to be a similar point on the opposite side of the family's host from the "to" point if necessary.
Remarks:
If the point is already an acceptable "from" 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.
If the point is already an acceptable "from" 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.
Parameters
Parameter | Type | Description |
---|---|---|
newFromLocation | XYZ | The desired "from" location |
Return Value
Type | Description |
---|---|
XYZ | The valid "from" location. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |