Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello to all,
Trying to check in and move the Tetrix KOP library from the workspace to the CAD Models folder...
that includes assemblies created by our team. One particular part hangs up the entire process...
Message states...
"Cannot check in place holder document CAD Part - set_screw_large.prt, A.1."
Even when deselecting "set_screw_large.prt" Creo/Windchill still tries to push it up and it fails the whole batch process. Even when trying to delete the component and it tells me that...
"A referential integrity violation occurred for this operation:"
What a nightmare its a catch 22 situation, where one corrupt file hangs ups the whole process. It seems to be a single point of failure at its worst. Any chance I could share access to the Windchill workspace to have someone at PTC figure out this corruption issue? Are there any "Plan B Zapinator" functions for this wretched file?
Just as I was getting pumped up and excited about using Windchill after viewing the recent Robotalk Webinar on Windchill, I have been shot down in flames at the first step of the process!
Guess we have a case of a set screw jammed in the cogs here and has brought everything to an abrupt halt :-)!!!
Please take note that, I am brand new in these CAD/PLM issues as well.
Best Regards,
Emil
I have felt your frustration. Please, read on.
The simplest approach is to create the missing part and save that to the workspace. The ghost object may be the result of an unverified family table - find the assembly that uses the part, find the family the part is in, verify the table and save the Generic and away you go.
Also, try moving a few parts, then assemblies. While WC can handle more than you can likely create to throw at it, it is less frustrating to work through the operations that work and then develop the debugging skills required on the few that remain.
It's been a while since I've seen these Ghost parts - I think there are settings in the Windchill interface to deal with them automatically, but I think you're using WC10, which I've not gotten to.
This frustrating thing about WC is, in particular, a good thing. WC is designed to only work if everything is correctly referenced. Which makes sense for the billion-dollar companies that depend on it. The result is that WC has a large number of checks to preclude bad data from getting in - where it is much harder to deal with.
To most users, though, this comes across as an unexpected pie in the face. A concrete pie. Because not only will WC sometimes give no response, and sometimes gives a useless response, it never gives a suggestion as to how to fix it.
For example. I have copied a family table to a workspace with entries for all the members. To make sure there is no accidental change to items I don't want changed, I set their workspace status to locked. When it becomes necessary to make a change I open the Generic, unlock it, and it quietly refuses to change anything. I check it out - OK - still no changes. Because the instances are still locked. No error, no hint, just refuses to change anything. It's not the behaviour I would like it to have. Unlocking the Generic should unlock all the instances, just as checking out the Generic should check out the instances.
The reason for locking? Some instances have features that force them to regenerate when they are retrieved, which marks them as modified, which means they get saved with the assemblies they are in. I don't want to bump the version of the items that I don't meaningfully change, so I would have to undo the checkout on the instances (based on a preference to check out things ProE/Creo thinks need checking out) which takes time. Locking them prevents the modification and the checkout.
Hi David,
Thanks for your feedback. In reference to...
The simplest approach is to create the missing part and save that to the workspace. The ghost object may be the result of an unverified family table - find the assembly that uses the part, find the family the part is in, verify the table and save the Generic and away you go.
How would I find the assembly or part that uses it? Is there a tool for it or is it by hunt and peck? See there are alot of parts since I am collecting the entire Tetrix Kit of Parts. Are there some is there some query tool that can work backwards from the rogue part to the assemblies it thinks it belongs to?
I like Josh'es clean and simple suggestion, but the problem is that Windchill won't allow me to remove the object :-(.
Regards,
Emil
The icon that has an "i" in a circle on the same line with an item is the information button for that item. Pick that and it brings up a detailed information screen.Under "General" is "Where used" which will tell you what assembly uses it. Under "Related Objects" is "Family" which will tell you about its Generic and other family table members.
If it hasn't got a family, then just create a part by the same name as the Ghost object and save it to the Workspace. It doesn't need any geometry - just be a part file. If it is in a family table, open the Generic and then Tools/Family Table/Tools/Verify -OK, and then save.
Tried creating a new part by the same name, didn't help me either. I just selected all files from the workspace and deleted them. Odd enough, I couldn't delete the part by itself but when I selected all the components and told it to delete the objects, it took them all out. We must be in the corruption Twilight Zone :-). I will try to create a new workspace from scratch without that part included and see how it goes.
-Emil
The reason you could not delete it by itself is because an assembly or family table entry referenced it. In deleting all the records you deleted the assembly or family table generic that refered to it. The database was accurately reporting that there was a referenced item missing.
The part information window should list the item that needs that referenced item.
Hi Emil,
Sorry to hear you are having problems.
David makes some excellent points.
The ghost files (grey, torn sheet of paper icon), are created when a part or assembly references something that no longer exists. Usually this is just a mistake made by a designer, but sometimes it's due to a renamed file and there is a residual reference that keeps creating the ghost part.
The easiest way to handle this is to first delete all ghost files. You can sort by the column with the ghost part icon by hitting the grey box on top of the column, so all the ghost files are together, then just select them all and hit delete.
Next, select your files and hit "check-in".
Set the appropriate folder, then hit "next".
In the last stage of check-in, you will check the box for "Auto resolve incomplete Objects".
Finally, select "Update with object on server, then Ignore", and then "Finish".
This should kill all ghost parts and they "shouldn't" come back.
Josh,
Is there some special way of deleting the ghost file other than using the delete object from within Windchill? I tried that and it won't delete it.
Regards,
Hi Josh,
The Autoresolve and ignore not working, I am not even able to check in the part to autoresolve and ignore.
-Emil
Hi Emil,
Sorry to see you are having problems. Which set of files did you download? I grabbed the most recent Tetrix and NXT from PTC's site. I had some ghost parts, but was able to delete. Your situation where the ghost object can't be deleted is a little more challenging. Make sure you're attempting to delete before attempting to check-in.
With this scenario, you'll have to delete the references from within the model that they're associated to. There are a couple ways to do that, but this is one way.
1. Select the ghost part and then select the details or "View Information" icon (blue "i").
2. Select "Related Objects". Open the part that shows up.
a. (If no other part shows in the "Related Objects" tab, we have more challenges)
3. Right click on the assembly in the "Model Tree" and open the "Reference Viewer"
4.Check both the "Dependants" and "References" settings for any item in red. If it's red, right click on it and select "Break Dependancies". If "Break Dependancies" doesn't show up, reply back and we'll address that.
Josh,
Happy Thanksgiving and thanks for all your assistance as well.
Thank you Emil! I like to see your determination in learning Windchill!
Have a great Thanksgiving!
Fun times are blooming, I should have started this effort on Holloween :-). Here I am selecting the complement
files that are not in the CAD Files directory
Even though I purposely deselected these files preprocessor is telling me that I cannot upload these previously unchecked files and ignored the ones I selected!
Here its adding salt to the injury telling me I have not selected anything for check in.
I up the ante, and say, "ok if you can't do partials I'll just wipe out all the files in the CAD folder and do a mass upload". Great idea on paper, but I get shot down again...
I understand conservative thinking, but tying me up and saying "NO" to purging and deleting to start clean is pretty painful.
It is CRAZY to think that all I am trying to do is to copy or mirror my Google Drive CAD folder into Windchill and it is giving me the third degree all over the place. This process should be seamless! BTW, that rogue part was not a part of the original file list that I was uploading to the workspace! Windchill just pulled it of somewhere while preprocessing.
It must have fallen out (in the virtual sense) of one of the assemblies when trying to upload them to the workspace! This is crazy reality :-). Notice no set screw in original Google Drive folder...
No set screw while importing to Windchill
Magical screw appears out of thin air "SET_SCREW_LARGE.PRT"
Why should I have to know the structures and dependencies of all the assemblies and parts in order for me to upload them to Windchill???? Why should screws fall out of assemblies while uploading!
Thanks for your persistence and dedication to explain all this to me. Our current Google Drive depository is looking much less painful at the moment. It would be nice if PTC could make a "friendly mode" Windchill for freelance efforts like FTC and FRC.
Best Regards,
-Emil
You noticed correctly that the set screw was not one of the original files. That is why the error exists. Windchill looks through each file to determine what is required to build it. There must be matching files - either directly or by being part of a family table that is within a file. Some assembly or drawing requires the set screw, but there is no matching file.
Creating a part file with that name and saving it in the Google drive before trying to import it would fill the gap for Windchill. When the referencing item is opened there would still be a placement or other reference error, but the existance of the part would be accounted for.
Many people do get along with only a folder to work from, but if a file is deleted or even renamed, assemblies and drawings may no longer be retrievable because what they depend on is not available.
Going back to the billion-dollar company - if you contracted with an outside firm to provide an assembly model and they sent a folder of files, wouldn't you want an automated solution to stand in the way of accepting incomplete data? As a comparison - would a bank accept a $100 deposit request with only $85 attached to it?
It is a mistake, by their own admission, that PTC did not validate the KOP. On the other hand, it is a real-life occurance that data is missed and demonstrates why tools like Windchill are used.
Hi David,
Thanks again. I completely understand your explanations of why things are not working the way I thought they would or should. I get the criticality of a incorrectly placed or missing from a rocket and the criticality of data of billion dollar companies, like Boeing, Lockheed Martin, Honeywell, Raytheon, and $100 deposits, etc. I fly considerably and I would hate the thought of a missing critical set screw somewhere in the plane, so I get that. I occassionally skydive, so I understand the price of failure modes and missing things.
Aside from Scott Morris helping us in the effort of fixing the ghost issues in the KOP (his effort and dedication to FIRST greatly admired and appreciated), is there a way I can clear the slate in Windchill and upload the KOP as it stands from scratch? Even if I need to walk on fire and kneel on glass to get there, I'd be willing to learn the nitty gritty of it. My original hope was to get our team to promote the use of Creo, Mathcad, and Windchill as part of our outreach efforts.
Right now I am stuck between modes, like an elevator stuck between floors :-). Some parts are in the CAD folder like I intended them to be, but some are in the /default (whatever that means??), there are some components in "EPM Master (whatever that means??) and I can't move forward or backwards. Could I be having issues with deleting or purging due to limited access and permissions to do so? Is there a "super user mode" that could allow me to purge and start from scratch?
David, I know I am stuck in the tree, and you have done an excellent job in explaining why and how I got stuck in it. Would you have any tips on how to get down from the tree that could help me? In earnest this is rather funny at the moment, as we all know we need to have much patience, persistence and an odd twist of sense a of humor to deal all this cool techy stuff.
HELP!!! I'M STUCK AND I CAN"T GET DOWN (As I laugh at myself while up in the tree as you rather eloquently describe why and how I got there)
Cheers,
-Emil
PS, David, thanks alot for your VERY PROACTIVE ENGAGEMENT.
Hi David,
Happy Thanksgiving! And thank you for your feedback.
All previous details aside, how can I clear everything out in Windchill and copy my Google Drive CAD files into the CAD folder in Windchill? This is a simple and rudimentary task that would be required for FTCers and FRCers to start using Windchill for their CAD files assuming they want to use the KOP. It seems like some parts are in a default folder somewhere and the remnants are in the CAD Folder, can't delete them, can't move them.
I used this article as a reference...
http://ptc.hosted.jivesoftware.com/docs/DOC-4660
I am getting this message now when trying to copy or upload files to the CAD folder in Windchill...
Emil,
This error is on PTC. I just tried importing the Textrix KOP and have 7 ghost objects that need to be fixed. I will try to get this done ASAP and post the update on the Community until we can have it uploaded on the KOP site next week. Sorry about the mix up. We should have validated this before releasing the KOP.
Hi Scott,
Thank you so much for your intervention and help with this challenge I have run into. I became rather passionate and determined about implementing Windchill right after your Robotalk 2013 Windchill Webinar. Your presentation style, your faith and your confidence in Windchill gave me the final impetus to begin my journey into Windchill.
An another more important note, Happy Thanksgiving to all of the PTC employees dedicated to helping FIRST and presenting and promoting STEM to our future leaders. Also, Happy Thanksgiving also to all the members of this PTC Community as well they are so passionate about your incredibly powerful products.
It is rather refreshing to see such a high caliber of SUPER SMART people in PTC's Community that are truly dedicated to your products. It is also readily apparent their level loyalty and faith in your corporate culture by how quickly people in this community are willing to engage and help in an incredibly short notice. Plain out good will is obvious.
Best Regards,
-Emil
Emil,
Thanks for the kind words and pioneering the KOP checkin
I have updated all the offending assembly files in the Tetrix KOP and added them to this document. It also explains a little bit about ghost objects in Windchill and how to update your local KOP files.
We should have the master downloads on the CDS site updated by Monday, after Thanksgiving.
To make things easier for everyone else, I have enabled the option Josh mentioned as the default action for everyone since it is a viable solution. I'll also try to cover this in next week's Robotalk session on Windchill CAD Data Management.
Thanks to our friends at CDS, the master download at www.ptc.com/go/firstkop has been updated already!