Hi
I have a problem with a block, which is shown in my software, although it clearly does not fit into the drawing.
It is - correctly - not displayed in QCAD and other DXF reading programs.
But in the Entities Section there is a INSERT Entity which calls this block. I could not find why this block should not be inserted.
Any ideas what can prevent a block from being inserted?
Unfortunately I cannot include the file because it is confidential.
Thanks.
Robert.
Too many blocks displayed
Moderator: andrew
Re: Too many blocks displayed
Could you e-mail the drawing to us?
The presence of an INSERT entity does mean that there is a block reference.
I can't actually think for a reason why a block insert would have to be intentionally ignored but maybe I'm overseeing something.
The presence of an INSERT entity does mean that there is a block reference.
I can't actually think for a reason why a block insert would have to be intentionally ignored but maybe I'm overseeing something.
Re: Too many blocks displayed
I sent you the original file as PM.
I attach here the image how it's imported in my program.
The white and red frame should not be there, and is not when using QCAD or other programs.
Thanks for any help.
I attach here the image how it's imported in my program.
The white and red frame should not be there, and is not when using QCAD or other programs.
Thanks for any help.
- Attachments
-
- Test.gif (3.92 KiB) Viewed 30071 times
Re: Too many blocks displayed
Thanks.
The block reference (INSERT) and a POINT entity which is also in the ENTITIES section both use the DXF code 67, a flag that indicates that the entity should be imported into paper space.
I've added proper support for this flag to dxflib v3.7.5:
http://www.qcad.org/en/dxflib-downloads
You can check for this flag in your DL_CreationInterface implementation:
The block reference (INSERT) and a POINT entity which is also in the ENTITIES section both use the DXF code 67, a flag that indicates that the entity should be imported into paper space.
I've added proper support for this flag to dxflib v3.7.5:
http://www.qcad.org/en/dxflib-downloads
You can check for this flag in your DL_CreationInterface implementation:
if (attributes.isInPaperSpace()) { ... }
Re: Too many blocks displayed
Thank you very much - this helped a lot!
Best regards and Grüezi
Robert.
Best regards and Grüezi
Robert.