Page 1 of 1
How to get the entity value from entity text
Posted: 16 Sep 2021, 14:57
by 曹Jin
how to get the entity value from entity text ?
for case , the text is 2×∅3.2512+0.127+0.0254
and i want to get quantity=2, value =3.2512 , upper tolerance=+0.127, lower tolerance=0.0254
may be get the computable value from other formated text 4×60°,2×M5×0.8 ......
thank you.
Re: How to get the entity value from entity text
Posted: 17 Sep 2021, 17:23
by support
Hello,
We did not quite understand, what would the entity value be in this case. Do we understand it right, that you have a DWG/DXF drawing and you would like to get certain text from this drawing and then split this text into several parts according to your requirements?
Please correct us, if we are wrong. Or provide some more details on your task.
Thanks
Andrei
Re: How to get the entity value from entity text
Posted: 23 Sep 2021, 16:03
by 曹Jin
Hi Andrei,
Sorry for my unclear description.
Your understandarding is right.
Now i can get the full text "2×∅3.2512+0.127+0.0254", but i want to get the seprated parts.
and every attribute of the seprated value.
The seprated value may be the "quanity" or may be the "upper tolerance" ......
Can this be possible?
Re: How to get the entity value from entity text
Posted: 23 Sep 2021, 18:15
by support
Hello
Thanks for the additional information,
CAD .NET allows to get the text from a DWG/DXF drawing. You can then process this text the way you need, e. g. split it into parts according to your custom rules, this is not the task of CAD .NET.
Andrei
Re: How to get the entity value from entity text
Posted: 26 Sep 2021, 14:47
by 曹Jin
support wrote: ↑23 Sep 2021, 18:15
Hello
Thanks for the additional information,
CAD .NET allows to get the text from a DWG/DXF drawing. You can then process this text the way you need, e. g. split it into parts according to your custom rules, this is not the task of CAD .NET.
Andrei
Hello, thank you for your kindly support.