Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

Is there any way to fetch all parameters can be used to create a feature?

liang_dailiang_dai Member Posts: 5
Is there any way to fetch all parameters which can be used to create a feature such as sketch, extrude, etc. Using Get the Feature List end point won't list all parameters and I can find any document to learn those params which makes me confused when I using feature-creating rest api to create my own feature

Best Answer

Answers

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,690
    See the FeatureScript definitions https://cad.onshape.com/FsDoc/library.html
    Senior Director, Technical Services, EMEAI
  • liang_dailiang_dai Member Posts: 5
    Thank you for the answer, Neil. We can't create featrues using feature studio which internally uses feature script codes because such feature will hide all it's internal heriachy being shown on Part studio which we will use to run our automation script. So we can only use rest api to create all features we need. But using rest api to create features always need we input a 'btType', so what we really need is a document to describe all 'btTypes' and how we use it.
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,690
    Answer ✓
    OK - does this page not give you everything you need? https://onshape-public.github.io/docs/api-adv/featureaccess/
    Senior Director, Technical Services, EMEAI
Sign In or Register to comment.