create_reference_point
Create a reference point on an active SolidWorks part at a point on an edge or at a face centroid using coordinates and optional along-curve distance or percent.
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 | |||