Importing to Trueview 2024 gives error with Leader

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Importing to Trueview 2024 gives error with Leader

ChrisT
After introducing myself, here is my problem... and I've experienced it across the past few releases.

I create my drawing in LibreCAD with leaders and save as DXF. Re-opening in LibreCAD never has a problem.
But, if I open the DXF in Trueview, I sometimes get an error and the file refuses to open...

****
The following error was encountered while reading
in LEADER starting at line 6888:
Leader entity with no vertices
Invalid or incomplete DXF input -- drawing discarded.
****

Below is a snippet from the DXF (opened in PSPAD):

****
6884  AcDbEntity
6885    8
6886  Drawing
6887    6
6888  ByLayer
6889   62
6890    256
6891  370
6892     -1
6893  100
6894  AcDbCircle
6895 etc...
****

If I go back and delete and re-do my Leaders, I eventually hit on the one causing the problem and opening in Trueview works.
Any ideas? Has this come up in other threads?

Thanks for any help can provide that saves me from going back and double checking my work [opening in Trueview] after setting every Leader.

Chris
Reply | Threaded
Open this post in threaded view
|

Re: Importing to Trueview 2024 gives error with Leader

ChrisT
Well this is not very good protocol, replying to one's own message, but I did some digging and wanted to report what I found.

Obviously line 6888 isn't a Leader, I found the first one around 16700.
I decided to manually change the layer in the DXF file one Leader section at a time, opening LibreCAD between each change, so I could identify which  block of text was which Leader... and got lucky... the 2nd one I changed didn't show up in the drawing on any layer.
I concluded it must have been one I had previously deleted, so I manually deleted the whole section, saved the file and lo-and-behold, the DXF opens in Trueview without any problems.

So the root cause seems to be because the Leader section is not being deleted completely from the DXF file sometimes.

I got lucky this time, but if a file has many Leaders and you only discover the problem at the end of the day, it is a royal pain to find the correct section.
Anyone have any better ideas? Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Importing to Trueview 2024 gives error with Leader

sand1024
hm... but may be by chance you could share a version of dxf that includes that case with such broken leader?
Reply | Threaded
Open this post in threaded view
|

Re: Importing to Trueview 2024 gives error with Leader

ChrisT
Thanks for your reply... As I've fixed the existing files, I don't have any to share, but next time it happens, I'll update this thread with example data.