Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DGNPURGE Won't work on this DWG

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
rexman.ng
2790 Views, 9 Replies

DGNPURGE Won't work on this DWG

Hello ACAD Community,

 

I can't "DGNPURGE" this drawing because of the following pop up error log when using the command on the drawing I linked since I cannot upload a file more than 5 mb.  I already used "AUDIT" and "PURGE" but "DGNPURGE" won't work.

 

https://www.dropbox.com/s/q9m6c7dve57ell6/201411-x-base-elev.DWG?dl=0

 

Any assistance to resolve this issue will be great thank you so much.

 

Rexman Ng  Associate Architect

                Baron Design and Associates

                1855 S. Ingram Mill Road, Ste. 201

                Springfield, Missouri 65804

                Ph. 417-877-9800

                Fx. 417-877-9802

                rng@baron-design.com

 

"See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Autodesk.AutoCAD.Runtime.Exception: eNullObjectId
at Autodesk.AutoCAD.DatabaseServices.OpenCloseTransaction.GetObject(ObjectId id, OpenMode mode, Boolean openErased, Boolean forceOpenOnLockedLayer)
at Autodesk.AutoCAD.DatabaseServices.OpenCloseTransaction.GetObject(ObjectId id, OpenMode mode)
at DgnPurger.Commands.PurgeLinetypesReferencedNotByAnonBlocks(Database db, Transaction tr, ObjectIdCollection ids)
at DgnPurger.Commands.PurgeDgnLinetypes()
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Acdbmgd
Assembly Version: 19.1.0.0
Win32 Version: 19.1.108.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202014/AcdbMgd.DLL
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
AdApplicationFrame
Assembly Version: 0.0.0.0
Win32 Version: 4.0.19.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202014/AdApplicationFrame.DLL
----------------------------------------
AdWindows
Assembly Version: 4.0.36.100
Win32 Version: 4.0.36.100
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202014/AdWindows.DLL
----------------------------------------
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
PresentationFramework.Aero
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
accoremgd
Assembly Version: 19.1.0.0
Win32 Version: 19.1.108.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202014/accoremgd.DLL
----------------------------------------

" etc etc etc etc etc

9 REPLIES 9
Message 2 of 10
Alfred.NESWADBA
in reply to: rexman.ng

Hi,

 

please find attached the cleaned drawing, did it with plain AutoCAD 2015.

I have no idea at least what happened with the tool in your 2014.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 10
rexman.ng
in reply to: Alfred.NESWADBA

Thanks so much Alfred for fixing the file!
But how do I make sure this error log doesn't happen again? Because there are other files I try to DGNPURGE and it pops a similar error log ><

Message 4 of 10
Alfred.NESWADBA
in reply to: rexman.ng

Hi,

 

>> But how do I make sure this error log doesn't happen again?

Don't import content that has such linetypes (mostly files with high filesize, but only less content).

 

>> Because there are other files I try to DGNPURGE and it pops a similar error log

May be your AutoCAD does not run on the latest servicepack? >>>click<<<

And if you have a subscription then you can install AutoCAD 2015, even if you like to work on 2014. Use 2015 to clean up the file and continue to draw/work in 2014.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 5 of 10

ALFRED, HOW DO YOU DGN PURGE WITH 2015?

Message 6 of 10

Hi,

 

>> HOW DO YOU DGN PURGE WITH 2015?

Just run purge and use the new option for "Automatically purge orphaned data"

 

2014-10-21 23-17-46.png

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 7 of 10

THANKS ^5
Message 8 of 10
nestly2
in reply to: BHandleson

Purging DGN data is easier in 2015 because of the enhanced PURGE option, but the result is the same using the DGN hotfix in 2014.

Below is DGNPURGE from within 2014 on the attached file.  (it went from 10MB to 373KB) just by using DGNPURGE to free up the DGN data, then PURGE > Linetypes to get rid of the previously orphaned Linetypes )

 

DGNPURGE.gif

 

PS,  I initally had trouble getting DGNPURGE to Netload.  I had to go into both of the files after I had moved them into my 2014 directory and allow "Full control" to my current Windows profile.

 

 

 

 

Message 9 of 10
rexman.ng
in reply to: nestly2

Wow what a PRO.
Thanks Alfred and Nestly!
Although here at our office we currently do not own a license to the 2015 AutoCAD version so we are using the hotfix on our 2014 versions of AutoCAD.
Thank you much for the fix and the video is very nice, how did you make a gif out of the screen? Very nice!

Message 10 of 10
nestly2
in reply to: rexman.ng

I use Camtasia Studio to capture the screen video then convert to an animated gif, but a couple of free alternatives are Autodesk's Screencast (formerly known as Chronicle) and Jing.  You can use both to capture video of your screen and both offer free hosting of the videos.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost