DXF issue with ACAD input #1016
-
Dear all, when reading a dxf (generated from ACAD). adding entities (just circles and text) and then saving the same, it becomes not legible for ACAD anymore. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
Not enough information to help ...
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply.
Will send you once on the mac again.
Best regards / Mit freundlichen Gruessen
Florian Krenn
----------------------------------------------------------------------
Dr. Florian Krenn
Managing Director
Mobile: +91 98 10092339
GEOCONSULT India Pvt.Ltd. CIN No : U74220DL2007PTC167317
Corporate Office:
04B106, WeWork
Platina Tower, MG Road
Near Sikandarpur Metro Station
Sector 28, Gurugram, HR 122 001
INDIA
Disclaimer: "All Disclaimer Clauses as applicable to electronic communications, under all the relevant Acts, are applicable to the contents of this email and its attachments"
…________________________________
From: Manfred Moitzi ***@***.***>
Sent: Thursday, January 25, 2024 5:00:02 PM
To: mozman/ezdxf ***@***.***>
Cc: Dr. Florian Krenn ***@***.***>; Author ***@***.***>
Subject: Re: [mozman/ezdxf] DXF issue with ACAD input (Discussion #1016)
CAUTION: This message was sent from outside of Geoconsult India. Please do not click links or open attachments unless you recognize the source of this email and know the content is safe. Please report all suspicious emails to ***@***.******@***.***>" as an attachment.
not enough information
—
Reply to this email directly, view it on GitHub<#1016 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASOSOO75O4UYSXVY46YQJIDYQI63VAVCNFSM6AAAAABCJ44V3WVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DENBUGAYDE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
To the questions –
* I am using a MacBook, MacOS 14.3
* ezdxf 1.1.0
* anaconda for Mac
Best regards / Mit freundlichen Gruessen
Florian Krenn
…----------------------------------------------------------------------
Dr. Florian Krenn
Managing Director
Mobile: +91 98 10092339
GEOCONSULT India Pvt.Ltd.
CIN No: U74220DL2007PTC167317
Corporate Office:
04B106, WeWork
Platina Tower, MG Road
Near Sikandarpur Metro Station
Sector 28, Gurugram, HR 122 001
INDIA
[signature_2855349985]
Disclaimer: "All Disclaimer Clauses as applicable to electronic communications, under all the relevant Acts, are applicable to the contents of this email and its attachments"
From: Manfred Moitzi ***@***.***>
Date: Thursday, 25 January 2024 at 17:22
To: mozman/ezdxf ***@***.***>
Cc: Dr. Florian Krenn ***@***.***>, Author ***@***.***>
Subject: Re: [mozman/ezdxf] DXF issue with ACAD input (Discussion #1016)
CAUTION: This message was sent from outside of Geoconsult India. Please do not click links or open attachments unless you recognize the source of this email and know the content is safe. Please report all suspicious emails to ***@***.******@***.***>" as an attachment.
Not enough information to help ...
· I need your script and the code should be executable out of the box.
· I need the DXF file to reproduce the problem.
· Upload DXF files in a zip-archive.
· What operating system are you using?
· Which version of ezdxf are you using:
o Type ezdxf -V on the command line
o or py -c "import ezdxf; ezdxf.print_config()"
o or python3 -c "import ezdxf; ezdxf.print_config()"
—
Reply to this email directly, view it on GitHub<#1016 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASOSOOYJGJN2RQ5UG5OSH5LYQJBPLAVCNFSM6AAAAABCJ44V3WVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DENBUGIYTE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip to upgrade, unfortunately it did not help …
Files are attached …
Best regards / Mit freundlichen Gruessen
Florian Krenn
…----------------------------------------------------------------------
Dr. Florian Krenn
Managing Director
Mobile: +91 98 10092339
GEOCONSULT India Pvt.Ltd.
CIN No: U74220DL2007PTC167317
Corporate Office:
04B106, WeWork
Platina Tower, MG Road
Near Sikandarpur Metro Station
Sector 28, Gurugram, HR 122 001
INDIA
[signature_768759089]
Disclaimer: "All Disclaimer Clauses as applicable to electronic communications, under all the relevant Acts, are applicable to the contents of this email and its attachments"
From: Manfred Moitzi ***@***.***>
Date: Friday, 26 January 2024 at 15:02
To: mozman/ezdxf ***@***.***>
Cc: Dr. Florian Krenn ***@***.***>, Author ***@***.***>
Subject: Re: [mozman/ezdxf] DXF issue with ACAD input (Discussion #1016)
CAUTION: This message was sent from outside of Geoconsult India. Please do not click links or open attachments unless you recognize the source of this email and know the content is safe. Please report all suspicious emails to ***@***.******@***.***>" as an attachment.
Still not enough information to help ...
· I need your script and the code should be executable out of the box.
· I need the DXF file to reproduce the problem.
· Upload DXF files in a zip-archive.
The latest released ezdxf version is 1.1.4 - install via pip Anacoda packages are often outdated.
—
Reply to this email directly, view it on GitHub<#1016 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASOSOO624AVKK6ODS6M6UYTYQNZZNAVCNFSM6AAAAABCJ44V3WVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DENJUGY4DK>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The default linetype is Error message from DWG Trueview 2024:
The solution is simple: duplicate doc.linetypes.duplicate_entry("CONTINUOUS", "SOLID") BTW: BricsCAD is not that picky and opens the DXF file with missing linetype definitions |
Beta Was this translation helpful? Give feedback.
-
Dear Manfred Moitzi
Thanks a lot.
And please excuse my taking your time … that mistake on my end I completely overlooked (was not even on my radar).
I checked on my end – yes, that was it.
Thanks for your efforts and I really appreciate ezdxf ( using it for some “sketching”), it is a great tool !
Best regards / Mit freundlichen Gruessen
Florian Krenn
…----------------------------------------------------------------------
Dr. Florian Krenn
Managing Director
Mobile: +91 98 10092339
GEOCONSULT India Pvt.Ltd.
CIN No: U74220DL2007PTC167317
Corporate Office:
04B106, WeWork
Platina Tower, MG Road
Near Sikandarpur Metro Station
Sector 28, Gurugram, HR 122 001
INDIA
[signature_3623775734]
Disclaimer: "All Disclaimer Clauses as applicable to electronic communications, under all the relevant Acts, are applicable to the contents of this email and its attachments"
From: Manfred Moitzi ***@***.***>
Date: Saturday, 27 January 2024 at 15:18
To: mozman/ezdxf ***@***.***>
Cc: Dr. Florian Krenn ***@***.***>, Author ***@***.***>
Subject: Re: [mozman/ezdxf] DXF issue with ACAD input (Discussion #1016)
CAUTION: This message was sent from outside of Geoconsult India. Please do not click links or open attachments unless you recognize the source of this email and know the content is safe. Please report all suspicious emails to ***@***.******@***.***>" as an attachment.
I extended the Auditor to fix non-existing linetypes in layers. The auditing process is time consuming and therefor not called automatically, you run doc.validate() before exporting the DXF file:
doc.validate()
doc.saveas("4m_holesCStxt.dxf")
Without creating the SOLID entry you get this output:
1 issues fixed.
1. Issue [100] fixed in LAYER(#338).
Replaced undefined linetype SOLID in layer 'GrHo_4m_TXT' by CONTINUOUS
No unrecoverable errors found.
—
Reply to this email directly, view it on GitHub<#1016 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASOSOO4KD6VS6U6UFN5NNQ3YQTEN3AVCNFSM6AAAAABCJ44V3WVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DENRUGMZDA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
The default linetype is
CONTINUOUS
notSOLID
andSOLID
does not exist.Error message from DWG Trueview 2024:
The solution is simple: duplicate
CONTINUOUS
asSOLID
BTW: BricsCAD is not that picky and opens the DXF file with missing linetype definitions