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.

Automating Wiring Definitions

mark_mcbridemark_mcbride Member Posts: 2

Hi, I'm working with somebody on automating wiring definitions, building on the https://www.onshape.com/en/resource-center/tech-tips/tech-tip-how-to-use-custom-features-for-wiring-in-onshape feature using a combination of featurescript and the REST API. A simple example document is here https://cad.onshape.com/documents/44adfa521eac9f65b1686aba/w/e94a5de4028a6ac7b2de2707/e/c3524d72f04047fa46de8b2f. The Wiring feature wants wiring operations to be done in an in-context part studio. I'd like to be able to automatically lay out connectors based off items in the assembly context. Looking at the data returned by /partstudios/d/{did}/{wvm}/{wvmid}/e/{eid}/features I can see the foreign references when I base geometry off of the assembly, but it looks like those reference parasolid objects accessible with /documents/d/{did}/externaldata/{fid}. Is there a way to auto-generate geometry based on the assembly context?

Sign In or Register to comment.