Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Undeletable Ghost object !?!?

Søren Spætte

New member
Hej

I have a ghost object that keeps pooping up! Whatever i do,
cleanup_Drw_dependencies or not, export/import, replace on
the ghost etc. it just keeps coming.

Problem is: I can't get rid of it! 'Referential integrity
violation' is reported in event manager. I currently hvae
three workspaces containing that single object, that cannot
be deleted, so the workspace cannot be deleted.

Any suggestions?
 
Well, a sort of workaround:

* Created an empty part with same name in another
workspace (Couldn't in same WS)
* Exported the part to desktop
* Imported the part to the WS where the ghost was placed
* Result: The ghost was replaced. This part could then be
checked in, and at last! I could check in my drawings.

Now I have to do a major cleanup operation to get this
part purged from all drawings (The ghost appeared for
several drw.s - suspicion: It might be connected to one
of the lower level assys...)

Ah, yes, I might add: I still have 28 ghosts I can't get
rid of, but these are no showstoppers - I can just
override them. They'll be there next time I open the
drawing, but then again: I might be lucky and not be the
next one :-[]<edited><editID>S
 
When you check in select NEXT at the first page and then set the option "AUTO RESOLVE INCOMPLETE OBJECTS" and then click on finish
 
WF4 Solution- Hopefully you have WF4



In the model tree, right click on the assembly object that contains the ghost file.
Info>Reference Viewer
Click the radio button for Show Dependencies.
<?:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" />
Right Click on the item shown in the diagram that has a red
 
WF4 it is.

I tried the reference viewer but as I am not very familiar
with it and the assembly is a 2000+ parts thingy(NO, I
would not have built it this way, but now I get it to do
some manuals...)

As posted above I found a workaround, that will have to do
for now. Thanks for all suggestions, I'll try some more
when/if I get the time...
 
these are types of models which cuase often problems with ghosts:

*models with copy geometry feature

*models with public geoemtry features

*models with merge feature

*inheritance models

and

*drawing which contains models which are then not used to create views. This is really a nightmare
 
yah, check on most points...

Just finished with another drawing containing ghosts. Had
to empty the drawing of all models, remove all tables etc.
to a totally empty sheet, then started from the beginning
adding models and so on. Then they disappeared.

The ghosts are most definitely connected to the drawing,
not the model.
 
well, I can tell you that in my previuos company they obtained(?) or set up appropriate confnigs to push pro/e+windchill to prompt user any time when drawing was opened to confirm if he/she want to erase all lost links/references to not existed models. Then - bua la, ghost were removed from Workspace.

But this isfunny thing isn`t it? Assy and model has got Reference viewer, drawing not.
 
muadib3d said:
well, I can tell you that in my
previuos company they obtained(?) or set up appropriate
confnigs to push pro/e+windchill to prompt user any time
when drawing was opened to confirm if he/she want to
erase all lost links/references to not existed models.
Then - bua la, ghost were removed from Workspace.
You don't happen to have those settings somewhere, do
you? It would be really helpful.
Anyone else know about this?

In the old days you could set 'cleanup drawing
dependencies' to yes, but that doesn't seem to work as
well as it used to. Or maybe another type of ghosts has
popped into existence that is not detected.
 
hence, it could be that setting you already have discussed. Well, I miss the details, it was 4 years ago. I`ll check what is possible regarding discusse issue
 
I believe Jacek is refering to cleanup_drawing_dependencies https://www.ptc.com/appserver/cs/view/solution.jsp?n=137288

"The workaround is creating a new drawing with the assembly model and
merging the "having ghost" drawing into it, then save the drawing. That
is going to #Insert > #Share Data > #From File, select the
"Problematic" drawing to be merged in the new drawing. After that select
#Edit > #Remove > #Sheet, enter sheet number 1 to remove the
empty sheet 1. Save the drawing and done.



Another method is setting config.pro hidden option
cleanup_drawing_dependencies to yes, launching Pro/ENGINEER when
connected to a PDMLink workspace, opening the "having ghost" drawing,
the user will be presented with a dialog listing the potential ghosts
and asked to confirm their removal."

Here is a description about how to use cleanup_drawing_dependencies https://www.ptc.com/appserver/cs/view/solution.jsp?n=137198

There is another config check_ghost_features option here although I'm not sure if it's valid for newer releases http://www.ptc.com/cs/cs_25/howto/agf10843/agf10843.htm
 
Yes! The new drawing method worked!

Thank you Magnusod!
smiley32.gif
<edited><editID>S
 

Sponsor

Articles From 3DCAD World

Back
Top