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.

Import a number of external 3D parts (stp) at the same time.

nicholas_withamnicholas_witham Member Posts: 13
Is it possible to import a number of parts (say 20-30 step files) into an on-shape assembly (or part studio) all at the same time using a spreadsheet with the file name and coordinates/rotation for each part? 

Comments

  • nicholas_withamnicholas_witham Member Posts: 13
    I guess it's not possible?
  • paul_chastellpaul_chastell Onshape Employees Posts: 126
    There's no way to do this through Onshape's UI. You would need to use the API (via a local python script for example) to read a CSV file, import/translate and insert/transform. For each line:
    1. Import all the files with the API
    2. Poll the API to wait for the translations to be complete (or fail).
    3. Use the API to insert the translation results into an assembly, with a specified transform.
    Paul Chastell
    TVP, Onshape R&D
Sign In or Register to comment.