Jump to content

Suppress Missing Xref dialogue by Autolisp


handasa

Recommended Posts

Hello Everyone

is there a way to suppress this dialogue message of unresolved references at opening the drawings by autolisp.

when the drawing is opened by ObjectDBX method it fails to open due to this problem.

i want to suppress this problem from the code not by checking the box of "always ignore unresolved references"

 i tried to change "xrefnotify" variable with no hope to suppress this dialogue.

thanks

 

image.png.3d22ebb3f3d3d1e076660136f671efcc.png

Link to comment
Share on other sites

1 hour ago, ronjonp said:

Strange, I always thought that XREF's were not loaded in ODBX sessions.

ATTACHED BELOW A DRAWING.IF YOU CAN HELP.THANK YOU ANYWAY

the problem came when i try to use "DXFOUT" method on the drawing

(vlax-invoke-method dbdoc 'Dxfout dxf)

with this error

error: Automation Error. Description was not provided

 

CA1712-M438.DWG

Edited by handasa
Link to comment
Share on other sites

Here's a start of issues:
 

Quote

Command: AUDIT
Fix any errors detected? [Yes/No] <N>: Y
Auditing Header
Auditing Tables
Auditing Entities Pass 1
Pass 1 193000  objects audited
Auditing Entities Pass 2
Pass 2 24500   objects auditedAcDbBlockReference(38B36)  BTR Id invalid
AcDbBlockReference(38B36)         could not be repaired.  It will be Erased.
AcDbBlockReference(38B37)  BTR Id invalid
AcDbBlockReference(38B37)         could not be repaired.  It will be Erased.
AcDbBlockReference(38B38)  BTR Id invalid
AcDbBlockReference(38B38)         could not be repaired.  It will be Erased.
AcDbBlockReference(38B39)  BTR Id invalid
AcDbBlockReference(38B39)         could not be repaired.  It will be Erased.
AcDbBlockReference(38B3A)  BTR Id invalid
AcDbBlockReference(38B3A)         could not be repaired.  It will be Erased.
AcDbBlockReference(38B3B)  BTR Id invalid
AcDbBlockReference(38B3B)         could not be repaired.  It will be Erased.
Pass 2 157900  objects auditedAcDbBlockReference(5CD96)  BTR Id invalid
AcDbBlockReference(5CD96)         could not be repaired.  It will be Erased.
AcDbBlockReference(5CD97)  BTR Id invalid
AcDbBlockReference(5CD97)         could not be repaired.  It will be Erased.
AcDbBlockReference(5CD98)  BTR Id invalid
AcDbBlockReference(5CD98)         could not be repaired.  It will be Erased.
AcDbBlockReference(5CD99)  BTR Id invalid
AcDbBlockReference(5CD99)         could not be repaired.  It will be Erased.
AcDbBlockReference(5CD9A)  BTR Id invalid
AcDbBlockReference(5CD9A)         could not be repaired.  It will be Erased.
AcDbBlockReference(5CD9B)  BTR Id invalid
AcDbBlockReference(5CD9B)         could not be repaired.  It will be Erased.
Pass 2 193000  objects audited
Auditing Blocks
 771     Blocks audited
Auditing AcDsRecords
Total errors found 12 fixed 12
Erased 12 objects

 

  • Like 1
Link to comment
Share on other sites

On 10/2/2021 at 8:28 AM, BIGAL said:

Did you ggogle pretty sure there is an option about disabling messages, found some about proxy objects and others, but not xref's.

i googled it with no hope

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...