Replies: 3 comments
-
I don't know what an "enhancement" (damn google translate!) attribute is, and without the test data and your code I can't help - read the issue template I provided! |
Beta Was this translation helpful? Give feedback.
0 replies
-
f=r'D:\cad\92ffc57198eb44bc9b330b2b0682b7f1.dxf'
doc = ezdxf.readfile(f)
block = doc.blocks.get('EPLFRAME')
for e in block.entity_space.entities:
if 'prompt' in e.dxfattribs() and e.dxfattribs()['prompt'] =='项目描述':
print(s.dxfattribs()) Here's the source file, and the demo. {
'handle': '1E4',
'owner': '1D7',
'layer': 'EPLAN451',
'insert': Vec3(101.0, 9.0, 0.0),
'height': 2.504999999999999, 'text': '14_10011',
'style': '宋体', 'prompt': '项目描述',
'tag': '14_10011',
'flags': 0,
'lock_position': 0
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
If your want to access the attached |
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.
-
As shown in the picture, the value of the enhancement attribute is displayed directly, I would like to be able to read and modify it, I don't know if it is supported, thanks!
Beta Was this translation helpful? Give feedback.
All reactions