This input method is for creating a construction point on the specified path. This can result in a parametric or non-parametric construction point, depending on whether the parent design is parametric or is a direct edit component, or if the construction point is created in a base feature in a parametric design.
| path |
Path |
Specifies the Path object the construction point will be created on. To create a Path from a single BRepEdge or SketchCurve, use the static Path.create method (e.g. Path.create(edge, ChainedCurveOptions.noChainedCurves)). |
| distanceType |
PathDistanceTypes |
Specifies PathDistanceTypes value indicating the measurement type for distance. |
| distance |
ValueInput |
Specifies the distance to determine the position on the specified path to place the new construction point.
If the distanceType is set to ProportionalPathDistanceType this should be a unitless number from 0 to 1 indicating the proportion of the path. Values outside [0, 1] will cause this method to return false. This can be a real value or an expression which can be evaluated as a unitless number.
If the distanceType is set to PhysicalPathDistanceType this will be interpreted as a centimeter value if it is set using a real, or if an expression is provided it must be able to be evaluated as a valid distance. Values exceeding the total path length are clamped to the endpoint. |