TheSwamp
CAD Forums => CAD General => Topic started by: Matt__W on January 25, 2016, 10:55:40 AM
-
I've got a DWG that has some objects that...
1) I can't select
2) don't show in a print preview
3) disappear after a REGEN
4) show up again after saving/closing/re-opening the DWG.
I've tried to recover, audit, purge, wblock but nothing works. The weird thing is that after a wblock it looks like the un-selectable, disappearing objects are in the new drawing however I still can't select them and they disappear after a regen.
I've attached the DWG. When I open it, it looks like the attached image. Can someone take a look at it and let me know if you see the same thing and if there's a way to fix it? I could always ask the surveyor to send over a new file but at this point I'm curious as to why it's doing this and how to resolve it (just I know for future reference).
Thanks.
-
I don't get the ghosts.
-
Do you see anything??!?
-
I didn't go to model space before. I see ghosts now and when I regen they go away.
-
Regen & they go away .. zoom extents & they reappear :D .. perhaps proxy objects?
Here's a drawing with them removed.
-
they seem to be on locked layers...
more in a minute
-
Here's a drawing where you can select them :)
-
your ghost objects are belong to you now
-
First off, thanks.
Second... what did you guys do to fix the drawing?
-
First off, thanks.
Second... what did you guys do to fix the drawing?
I ran a MAP query....after first unlocking all layers in original
BTW
May have started life as an EaglePoint file, as the 'points' were block objects NOT civil objects.
-
First off, thanks.
Second... what did you guys do to fix the drawing?
I selected all objects (ctrl+a) then pasted into a new drawing.
To remove the points did a filter by layer PNTS*.
-
what did you guys do to fix the drawing?
DVIEW command, POints, set the camera and target (0,0,0 and 0,0,1).
You may find the current values include a huge "Z" value.
Then regenall.
More details: http://cadpanacea.com/wp/?p=1903
In the most recent case I ran across, this worked for MS, but when we make a viewport in a layout, these 'special' entities are still not selectable in the viewport.
But if we go back to MS, they are okay.
-
Quick & Dirty one off bare bones fix:
(defun c:Poof ( / ename obj x y )
(and
(setq ename (car (entsel)))
(eq "VIEWPORT" (cdr (assoc 0 (entget ename))))
(vl-load-com)
(setq obj (vlax-ename->vla-object ename))
(equal '(0.0 0.0 1.0) (vlax-get obj 'Direction))
(setq target (vlax-get obj 'Target))
(vlax-put obj 'target (append (mapcar 'set '(x y) (vlax-get obj 'Target)) '(0.0)))
)
(princ)
)
An aside, if you're curious about the (non trivial) difference between the original dwg and the one Ronjonp posted have a look at the attached object dumps. O.o
Cheers.
-
Looks like I stripped out a wheee bit of data ;D
-
I didn't lose any data....one of the beauties of a MAP query
ONLY VALID Objects are copied from the source file....
Used to be the best 'fix' for a corrupted Land Desktop file.
right up until Autodesk failed to allow MAP to see Civil 3d objects.
-
Looks like I stripped out a wheee bit of data ;D
indeed! ;D
-
This is on old post, but i have the same issue with autocad general. I have found post with this issue from 2010 so its not new.
Weird its hadnt been patched since then.
Any idea what cause this, or a solution?
Sorry for bad english.
-
This is on old post, but i have the same issue with autocad general. I have found post with this issue from 2010 so its not new.
Weird its hadnt been patched since then.
Any idea what cause this, or a solution?
Sorry for bad english.
The 'ghost' objects were possibly made in a non autodesk product, was my conclusion...
Attach a copy of your affected file, and we can have a look at it, possibly repair and return it to you.
-
This is on old post, but i have the same issue with autocad general. I have found post with this issue from 2010 so its not new.
Weird its hadnt been patched since then.
Any idea what cause this, or a solution?
Sorry for bad english.
The 'ghost' objects were possibly made in a non autodesk product, was my conclusion...
Attach a copy of your affected file, and we can have a look at it, possibly repair and return it to you.
Thank you mjfarell, but i've already fixed it. Copied to a new draing.
BTW it was fully created in autocad by me.
I've made some testing and seems regen screws it up somehow. I use regen a lot. Its habitat. If i dont use regen , everything works fine. No unselectable objects and no disappearing objects. When i use regen, something goes wrong at a point. I thouth it is maybe graphic card related, but i've read it happened with Quadro card also wich is Autocad certified. I try to use redraw instead of regen, but that doesnt solve everything regen could.
As for the testing,i don't know if any other circumstances need regen to go wrong. I have xrefs (also drawn with the same autocad) in my drawing, blocks, and was goups too. First i thouth groups the problem, but it went go wrong without the groups too. So beyond regen i dont have a clue.