Application.NewPointOnEdge
Method
Description:
Create a PointOnEdge object which is used to define the placement of a ReferencePoint.
Create a PointOnEdge object which is used to define the placement of a ReferencePoint.
Syntax
public PointOnEdge NewPointOnEdge(
Reference edgeReference,
PointLocationOnCurve locationOnCurve
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| edgeReference | Reference | The reference whose edge the object will be created on. |
| locationOnCurve | PointLocationOnCurve | The location on the edge. |
Return Value
| Type | Description |
|---|---|
| PointOnEdge | If creation was successful then a new object is returned, otherwise an exception with failure information will be thrown. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the input argument edgeReference or locationOnCurve is. |