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.

API to create constraints in assembly using mate connectors or published surfaces

Is there any API available to create constraints using mate connectors or geometry attached to the component being instantiated in the assembly?

Comments

  • caden_armstrong2caden_armstrong2 Member, User Group Leader Posts: 127 ✭✭✭
    You can do an "add feature" to this endpoint if you want to add a constraint to an assembly.

    If you want a sample of what the feature definition should look like, the easiest way is to manually add one to your model, and then do a get request to this endpoint. The structure in the get features request is the same as it is to add the feature to the assembly.
Sign In or Register to comment.