create_reference_point
Creates a reference point on a part's edge or face: on edges at a specified distance or percentage along the edge; on faces at the centroid. Provide a coordinate on the target geometry.
Instructions
Create a reference point on the active part.
Two modes:
along_curve— a point on the edge under(x, y, z)mm, placeddistancemm from the edge start, or atpercent(0–100) of its length. Give exactly one ofdistance/percent.face_center— a point at the centroid of the face under(x, y, z)mm.
The coordinate must lie on the target edge/face; SolidWorks resolves
it with a coordinate pick. InsertReferencePoint always returns a
feature, so success is confirmed by the feature tree growing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | Mode, coordinate, and the along-curve parameter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||