get coordinates from an INSERT #837
aminreguig
started this conversation in
General
Replies: 1 comment
-
Please read the documention: https://ezdxf.mozman.at/docs/usage_for_beginners.html |
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.
-
I'm trying to get INSERT coordinates with :
insert_entities = self.dxf_file.modelspace().query('INSERT[layer=="%s"]' % layer )
for entity in insert_entities :
for attr in entity.attribs:
print( attr.dxf.tag)
print(attr.dxf.text)
This code doesn't return all the infermations (ps : I can see coordinates by visualizing the dxf file in a text editor)
Beta Was this translation helpful? Give feedback.
All reactions