Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Evaluate existing FeatureScript using API
morteza_karimi
Member Posts: 13 ✭
I understand the 'Evaluate FeatureScript' endpoint takes in "script" and "queries" in the body of request for API call and I have had some luck using the API this way.
But I keep thinking there should be a way to reference an existing FeatureScript that lives in a document. Does anyone have any experience doing this?
Thanks,
P.S. Aside from convenience, one of the reasons I'm looking to do this is that the original method limits you from using "import" statements as your script needs to be purely a function.
Tagged:
0
Comments