Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello,
Another obscure Creo issue that I will try and describe. I just attempted checkin of a new drawing. The assembly was checked in by itself already. Upon checkin of the drawing, a new part having nothing to do with the drawing is being checked in. This same part did not "want" to be checked in with the assembly, only the drawing. Where is this link taking place and how do I break this link? Thank you.
More than likely if you view the details page for the drawing and/or the part, you will see a reference from each to the other on the 'Related Objects' tab.
How the link was created is a whole different issue. Things I normally check:
If the only link is between the part and the drawing, and there are no other links from this part to the assembly or any other parts, then usually I go down the path of backing the drawing up to disk, erasing it from session, removing it from the workspace, removing the offending parts, and then reopening it from disk with the config option "cleanup_drawing_dependencies" set to "YES_CS_NOT_REQUIRED". This should pop up a box giving you the opportunity to permanently remove this (now missing) reference from the drawing.
Is that part shown on the drawing?
I have attached a test part to a drawing template one time by mistake. Not shown on the drawing, but still loaded with the drawing only.
no, the offending part was not added to the drawing independently, I have double-checked. The only model associated with the drawing is the assembly.
If that part is in the assembly that is in the drawing, it will always check in with the drawing.
If you don't want that part to check in, undo the check out.
The offending part is not part of the assembly. At one point it was. Then it was replaced by copy. The link remained in the drawing, but not the assembly. I have a smart table (on-drawing PL) in the drawing. Possibly the smart table is holding the old session ID as Tom U mentioned. I had updated the smart table prior to checkin to preclude this. Maybe that was not sufficient.
Please try the solution with the config option "cleanup_drawing_dependencies". We have lot of problems with orphan references being left on drawings and I'm starting to think it's directly related to Creo's 'replace by copy' functionality.
Here is more info on that config option:
https://www.ptc.com/en/support/article/CS28858
I haven't had to use the cleanup drawing dependencies option in a while but I have used it a lot in the past.
Make sure you follow the instructions in the support document link Tom posted. I always had to do it twice because I would do something wrong and don't forget to remove it after using it.
I don't necessarily follow all the rules and warnings in that article. I leave the config option turned on for everyone, all the time. (It's in our company config.) Since we normally work from Windchill, it never comes into play unless someone intentionally backs up a drawing to disk, and then reopens it from disk (and there are missing objects.)
I've learned that most of the time you don't need to remove the offending drawing from the workspace, you just have to erase the one drawing from session, reopen it from disk, save it to the workspace (hit 'okay' to the conflict warnings), and then use the workspace 'update' command (with 'reuse' - the triangle icon) to 'snap' the 'new' workspace object back to the server copy. From there you can just check it out and then check it back in. 🙂