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.
API: Export assembly as binary parasolid

I am working on an integration, and I would like to export Part Studio's and Assemblies as binary parasolid files via the API. In that regard, I primarily have two questions:
- Are there any synchronous ways to export an assembly? According to the documentation here and the API Explorer, I think the answer is no, but I just want to make sure.
- The synchronous export of Part Studios can export binary Parasolid (x_b) files, but I do not see a way to do it for assemblies. Is there a way?
Thanks in advance for any help, I am really enjoying Onshape.
0
Comments
Assemblies are only exported with the translations workflow. They could potentially be very slow depending on the size of the assembly.
Its really not that difficult, its just an extra step of having to check the translation.
1. Start the translation
2. Using the resulting translation id → check the translation request state (at a reasonable rate) on some interval, and wait for it to no longer be ACTIVE
3. Download the stream using the resultExternalDataIds parameter.
For parasolid, set the formatName to "PARASOLID".
Custom FeatureScript and Onshape Integrated Applications
Hi Caden,
Yes, I already have that asynchronous approach working, I just wanted to check if there was a synchronous option because the documentation states that is much quicker. The "PARASOLID" option seems to export
x_t
is it possible to exportx_b
(the binary format) instead?Hi Robert,
We don't offer any synchronous export options for assemblies at this time; an asynchronous export is the recommend approach.
To export to
x_b
, set thebinaryExport
query param totrue
in the [exportParasolid](https://cad.onshape.com/glassworks/explorer/#/PartStudio/exportParasolid) call.Hi Susan,
Thank you for your response. Does that mean that only synchronous approaches support x_b export then, so there is no way to export an assembly to x_b?
Correct, not at this time.