Extract text with a layer filter? #3116
-
Hello! This is a fantastic library and will already be very useful for what I do, thanks for making it! Here is my special snowflake case I need some help with: I have an engineering drawing and that I want to extract some information from. This works very well for the shapes. The info I want is on a specific layer and I can just create a new page and recreate the shapes there, this is covered in the docs. I merely have to check I can't do this with text? The solution I have now is to get the text via the dictionary and look for the color value. But that feels suboptimal. If you have a suggestion on how to solve this better, that would amazing! Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are two ways to achieve what you need:
|
Beta Was this translation helpful? Give feedback.
There are two ways to achieve what you need:
get_text()
is missing there.