Identifying Number of Inserts #844
Unanswered
littlekittel
asked this question in
Q&A
Replies: 1 comment
-
You could: block_name = entity.dxf.name Use this with ezdxf, since INSERT entities or blocks have unique names, it should work, or it works for me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have converted a .dwg file into .dxf and I am trying to export several information of it. One thing is a count of certain blocks within a viewport. I have blocks that are inserted in AutoCAD multiple times in the 2D drawing because they are exactly above each other. I can see this in AutoCAD as it is an attribute of that block. I can't find this information anywhere in ezdxf. I have tried several attributes of the INSERT like mcount and also attributes of the block but I can not find it anywhere.
Does anyone have an idea where this could be found?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions