I have a dwg that when I Zoom Extents, it also goes too far out.
I have tried all of the trick that typically solve this (Erasing all but the selected objects, Audit, Purge) and even stripped everything out of the drawing one thing at a time and didn't find anything. There is nothing left in the dwg and it sill does it.
The odd thing is that now when I enter Erase All, it says:
3 found
3 were filtered out
There seems to be three objects in this dwg that I cannot select/read/edit. Also, when I open the Design Center, there are a bunch of blocks (looks like tick, arrows, and some text blocks) that I can't get rid of.
This is not a dwg that I can just Wblock and create a new file, because there are many database connection, custom visual settings, layouts, etc. that I don't have the time to recreate.
Any Suggestions?
Hi,
you have 3 non-graphical entities in the modelspace:
MAPBULKFEATURE, MAPGISLABES, MAPGISLAYERBITMAP ... these are all Map3D-objects and yes, you are right, you can't delete them with _ERASE.
What you can do:
save this drawing as DXF file
open the DXF file with an ascii-editor (e.g. Notepad++, Notepad would also be possible, but a little bit slow)
search for the part:
0 SECTION 2 ENTITIES 0 MAPBULKFEATURE 5 131117 330 17
And start erasing at the red marked lines up to this part:
100 AcMapGisLayerBitmap 70 1 0 CIRCLE 5 22DC03 330 17 100
then save the file and open it with AutoCAD. ==> now ZoomExtents works.
- alfred -
alfred.neswadba wrote:start erasing at the red marked lines up to this part:
I love this Cad "surgery", Herr Alfred.. Wuenderbar!
Hi,
and getting your answer (thank you) I saw that the formating of the red part of the DXF (the lines to be erased) where reformatted in a way that is wrong, sorry for that! (and now I can't modify that ;( )
@edwa8511:
Please compare the lines between your DXF and my attachment!
- alfred -
This worked great on the stripped down dwg, but the original with all of its complexity is causing problems when trying to reopen the .dxf in CAD. It keeps crashing.
When I save the dwg to a dxf, I got it to open it before I edited it. If I try to open it after making your changes, CAD shuts down.
I am trying to edit the dxf with Notepad, is there something better to use?
Hi,
>> I am trying to edit the dxf with Notepad, is there something better to use?
As mentioned, Notepad is not built for large files, try Notepad++ instead, downloadable >>>here<<<
- alfred -
I have installed Notepad++, I am amazed that I didn't need IT for that..Thanks.
I opened the dxf and tried to delete those lines, but when I try to open it in CAD, I get:
The following error was encountered while reading
in SEQEND starting at line 828316:
Premature end of object
Invalid or incomplete DXF input -- drawing discarded.
I don't know enough about this language to understand what the problem is. I didn't start editing until line 828325.
Hi,
it's hard to say what you did or what is wrong with this part of the DXF-file.
At least you have a line-number and I would first look to this line ... plus a few lines above and below. Of course I understand that replacing parts of the file needs knowledge about how DXF is structured. Deleting one line on the wrong place can cause big troubles and in most cases the DXF is then not readable anymore.
Can you upload this DXF (zipped)?
- alfred -
I don't know if I got this small enough to attach, but I will give it one more try.
I really appreciate your help..Thanks.
Hi,
find attached a version, that does ZoomExtents like it should. Please verify first all your dataconnections before deleting your previous file!
- alfred -
You Are The Man...
That's Great.
Did you have to do anything different than what you had explained to me earlier? I have at least one other drawing with the same problem and will try to fix them later.
Thanks for all the help.
Hi,
>> Did you have to do anything different than what you had explained to me earlier?
No;)
- alfred -
Can't find what you're looking for? Ask the community or share your knowledge.