Help! appears for Autocad error reports without crashing

Help! appears for Autocad error reports without crashing

info
Explorer Explorer
723 Views
8 Replies
Message 1 of 9

Help! appears for Autocad error reports without crashing

info
Explorer
Explorer

I'm updating Autocad 2020 with Autocad 2024
the following lisp code I used with Autocad 2020 works fine


(command "filedia" "0")
(command "_insert" "pview$1$" pause "1" "1" pause )
(command "_explode" "_last" )
(command "purge" "Y" "Y" "Y" "Y" "Y" "B" "pview$1$" "N" )
(command "filedia" "1")


in Autocad 2024 the AUTOCAD ERROR REPORT form appears, see image

 

errore codice.png

 


I would like to point out that the folder where the dwg is located, in options, is both in the support path and in the trusted path
Autocad does not crash
the acminidump.dmp and dmpuserinfo.xml files are created
then the form disappears after a short time
and you can continue with your work as if nothing had happened
but this is very annoying

I also tried to simplify the code with the -inser command

(command "-inser" "pview$1$" "_e" "" pause "1" "1" pause )
(command "purge" "S" "S" "S" "S" "S" "B" "pview$1$" "n" )

nothing changes, the AUTOCAD ERROR REPORT form appears

any help is appreciated

I apologize for my bad English
Thank you

0 Likes
724 Views
8 Replies
Replies (8)
Message 2 of 9

paullimapa
Mentor
Mentor

Enter About command do a screenshot and share that here


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 9

ec-cad
Collaborator
Collaborator

Probably due to your (command "_purge" ..... line.

try:

(command "_purge" "B" "pview$1$" "N" )

And, if you also want to purge something else, add another purge command.

For the USA, Acad versions, English, the (command "purge" "Y" "Y" "Y" "Y" "Y" "B" "pview$1$" "N" )

line will just return 'Bad Option' or something like that.

 

ECCAD

 

0 Likes
Message 4 of 9

paullimapa
Mentor
Mentor

@info I agree with @ec-cad The AutoCAD 2024 US version does not crash and the prompts only appear when you respond Yes to Verify each name to be purged? And there is only a prompt when there is something that requires purging:

paullimapa_0-1716703289608.png

Below is the Purge command sequence when you don't want to verify:

paullimapa_1-1716703368449.png

I'm still hoping you would do a screenshot of ABOUT command so you can show if you've installed the latest 2024 version 

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 5 of 9

info
Explorer
Explorer

Thank you for the replies and I ask you to excuse me because I forgot to mention that
together with Autocad I use an application for carpentry.
The dwg that I import into Autocad is a dwg created by this application.
By doing the purge command with this application the sequence of requests changes like this:

Comando: _PURGE
Check Drawing Integrity
Checked Database in Time=0 Tenth of Seconds
Number of BlockRecords checked 36
Number of BlockRecord Objects checked 176
Number of Layers checked 28
Number of Linetypes checked 6
Number of Named Object Dictionary checked 36
Number of Named Dictionarys checked 138
Vuoi eliminare i Riferimenti dei Profili non utilizzati? Si,<No> [Si/No]S
Vuoi eliminare gli Stili delle Bandierine di Posizione non utilizzati? No,<Si> [Si/No]S
Vuoi eliminare gli Stili dei Bulloni non utilizzati? No,<Si> [Si/No]S
Vuoi eliminare gli Stili delle Quote Altimetriche non utilizzati? No,<Si> [Si/No]S
Vuoi eliminare gli Stili dei Simboli di Saldatura non utilizzati? No,<Si> [Si/No]S
Elementi nidificati = Off Dati isolati = Off

 

From the tests I'm doing, I think it's a problem with the application itself
I noticed that if an application block already exists in the drawing, the error does not occur.


the Autocad version is: Product version U.171.0.0 Autocad 2024.1.3
I hope it's the last

I'll let you know

Thanks

Ciao

 

 

0 Likes
Message 6 of 9

paullimapa
Mentor
Mentor

Yes, you do have the latest 2024 installed.

I wonder the crash may be caused by the dwg being created by your carpentry application.

If you can share this dwg with the community here, then I'm sure any one of us can test to confirm if this is the case.


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 7 of 9

info
Explorer
Explorer

Thanks for your answers
I share the dwg, but without the application I'm sure it won't be possible to view it, I managed to capture the screen on the error, I'm also attaching this screen
I don't know if it can be useful.

ERROR 3.png

0 Likes
Message 8 of 9

ec-cad
Collaborator
Collaborator

Looks like an application / Acad version issue.

Did you 'update' the Pro_Stahl_3d Object Enabler when you upgraded from 2020 to 2024 ?

Try finding the latest update / download and install.

Your attached drawing loaded OK in Mechanical 2021, and Purge All removed some Layers,

an Audit reported 0 errors. So, I don't think it's an issue with the .dwg itself.

 

ECCAD

0 Likes
Message 9 of 9

info
Explorer
Explorer

Thanks for your answers
yes, obviously I updated Pro_hl_3d otherwise the application doesn't work, at this point I think it's a problem with the application

0 Likes