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.
How to duplicate a model and its associated drawing?
I've created a model of a pull stud and a fully dimensioned drawing for it. I now want to create a slightly longer variant of it - and a dimensioned drawing for that too. It's easy enough to duplicate the model but how do I duplicate the associated drawing? I don't want to have to create the drawing all over again.
In the model tab right click menu there is the "duplicate" option but this doesn't exist in the equivalent drawing tab menu. I'd imagined copying the first drawing and redefining the source - or possibly being able to duplicate both the model and the drawing together.
Is this operation possible? It needs to be but I can't see how it might be done.
In the model tab right click menu there is the "duplicate" option but this doesn't exist in the equivalent drawing tab menu. I'd imagined copying the first drawing and redefining the source - or possibly being able to duplicate both the model and the drawing together.
Is this operation possible? It needs to be but I can't see how it might be done.
1
Comments
Although I can copy one of the model tabs to the clipboard and thence into the other workspace with its friend, I can't do the same for the drawing tab. Can I get them into the same workspace?
I'm here because my colleague just showed me how to duplicate a part and it's drawing.
Knowing about this feature a month ago would have saved me over 10 hours of my life, so I'm surprised it has not been mentioned in forums and Youtube tutorials more.
There's an easier way…
Use the "move to document" for your drawing and part and move it to either a new document or some temporary other place.
This new document has the copy of the part and its drawing but these are still associated.
"Restore" the original document to before the move to get the "originals" back. If you want the new parts in the "original" document, you can just use a move to document from the temporary one.
This works the same for assemblies if you want to copy the assembly and have use copy of the parts as well, here's an example: https://www.youtube.com/watch?v=ZMLvZJ7dYJQ
This looks like a job for configured parts.
First part on sheet one of a drawing and second part on sheet 2 instead of copying whole document and easier to track.
when replacing drawing references, if you switch to the sort by reference view of the sheets panel- the replace will handle all parent child view sets for the entire drawing - essentially a global replace for the reference in the drawing.
If you replace while in the sort by sheets view, the replace will handle just the current parent/child dependent set of views and no more.
I just tried this and it works!
For clearer instructions.
1. Create a version of your document, so that you can restore to it later.
2. Open the tab manager (alt/⌥+t), ctrl+click the part file as well as the drawing, then right click and Move to document
3. Select New document, name it something like "temp document for moving
"
4. Open the new document once it's moved, and rename both the part file and the drawing.
5. Go back to your original document, and in the Versions and History tab, right click the version you made in step 1, and click Restore to [name of workspace]… (This will re-create the original copy of your part file and drawing without deleting them from the temporary document you created)
6. Go back to the temporary document. Create a new part studio. Then use the tab manager again to select both the copied part and its drawing, right-click and select Move to document again, but this time select Other documents so that you can choose the original document to move the copy back to.
Now you will have both copies and their associated drawings in the original document. I'm surprised this works without creating any conflicts.
@Rishabh_Garikiparithi
Glad you found it useful.
Note that you don't actually need to create a version in order to do the restore in the original document so that's why I didn't mention it…
I forgot about the "no empty doc" rule so you are right that you have to create a new tab (any kind of tab) before you can move both everything back to the original doc.
Note that renaming the tabs in the temporary doc isn't actually required as it will still work fine without doing that, but it's a good idea to make it obvious which is which when they are back in the original doc!