Can't extract name of block reference #1109
Replies: 4 comments 1 reply
-
I can't help much.
The only way to get more information about such a block is to look at the DXF structure. The |
Beta Was this translation helpful? Give feedback.
-
Show me your code with the attached zipped DXF file and maybe I can help. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/mozman/ezdxf/blob/master/src/ezdxf/dynblkhelper.py This is a helper module based on a previous discussion about dynamic blocks. Keep in mind the dynamic block structure is not documented by Autodesk. |
Beta Was this translation helpful? Give feedback.
-
Aw man you are an absolute life saver. As soon as I tried it with the
.block_record attribute I was able to get the xdata.
Thank you so much.
…On Mon, Jun 17, 2024 at 4:40 PM Manfred Moitzi ***@***.***> wrote:
https://github.com/mozman/ezdxf/blob/master/src/ezdxf/dynblkhelper.py
This is a helper module based on a previous discussion about dynamic
blocks. Keep in mind the dynamic block structure is not documented by
Autodesk.
—
Reply to this email directly, view it on GitHub
<#1109 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYTZFY5SJT7AP6MMJ4L7IALZH37OBAVCNFSM6AAAAABJKSPTZSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TOOJWGIZTK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to get the name of block INSERT entities however some of them are returning *UXX instead of their actual name in AutoCAD. I understand these are anonymous block entries and therefore it's a bit more difficult to access some of their info directly but I haven't been able to find any clear workaround either online or from AI prompts.
The blocks have no effective name attributes and I am able to get the correct names for some block references. Any help would be greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions