Get part studio name within featurescript
Can you get part studio name within featurscript?
Why?
I'm using a CAM that allows importing of solids with metadata via a CSV file. In said file the first column must have the File path of the .x_t solids that it will import.
Since conveniently onshape can export parasolid files with the part studio name - part name (a feature I don't want to adjust) I must include the part studio name in the file name portion of the file path.
I'm currently doing this manually with a string parameter but would prefer it to be automatic.
Comments
-
FeatureScript only allows you to get properties from bodies (parts), Part Studio level information isn't available.
The only automatic way to do it would be with the API and to use webhooks to set a variable, or part level property.www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
Experts in Onshape Automation - Custom Features and Integrated Applications1 -
I wish my boss understood the power of this software and invested in me to develop for it :(
0
