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.

Solutions for Batch Exporting

Kyle_DupreeKyle_Dupree Member Posts: 2 PRO
Hi all,

I'm trying to find a method for batch exporting drawings into PDFs and sheet metal parts into DXFs from OnShape, when you have large released assemblies with parts and drawings in multiple documents, and potentially multiple configurations.  Whether this be a 3rd party program, OnShape app, or something native.

Currently I have to create a large release package and export the PDFs one-by-one from that release package, Onshape did recently add a feature to batch export drawings from the tab manager; however, when you do that it cannot use your naming scheme correctly.  I have to choose whether to rename 100+ PDFs by hand in File Explorer (and potentially make a mistake) or export them one by one from the release package.

It's the same issue with DXFs except these have to be done at the part studio level grabbing the sheet metal model.

It's just an exceedingly manual process that takes hours and it allows for a lot of mistakes to be made during the process.

I'm wondering what everyone else uses as a solution to this, if there's a 3rd party program or software that people have found success with or just a different method.


  • MichaelPascoeMichaelPascoe Member Posts: 876 PRO
    @caden_armstrong Do you know if this already exists or if it is possible to do this with API?
  • caden_armstrongcaden_armstrong Member, User Group Leader Posts: 39 PRO
    Hi Kyle,

    We talked about this back in January, and at the time exporting a sheet metal DXF via the Onshape API wasn't supported.
    But I just tested it again, and it looks like it is now supported!

    I'll send you another email to follow up.

    For any future readers, it can be done via the endpoint:
    Software Development Lead - CADSharp.com - Email
    We specialize in custom FeatureScripts, and Onshape integrated applications
  • chadstoltzfuschadstoltzfus Member, Developers Posts: 81 PRO
    It is absolutely possible with the API, we have done this ourselves for drawings (before the batch export from Onshape was created). What we do is we export the drawing as a PDF (you could also export it in other formats like DXF), store the PDF in the Onshape document, put the newly created PDF in a ZIP file, download the ZIP file, then delete all of the PDFs that were created by that batch export. 
Sign In or Register to comment.