If acadapp. ActiveDocument. ModelSpace (I) EntityType=acCircle Then 'enumeration model control entity, find round
'access to circle the center coordinates and radius values
CurrCentPt=acadapp. ActiveDocument. ModelSpace (I). The Center
Red=acadapp. ActiveDocument. ModelSpace (I). The Radius
Text1=CStr (red)
Ask: 1. If I want to read the tolerance? What should I do? Acadapp. ActiveDocument document this class the following method?
CodePudding user response:
There is no tolerance concept in CAD object, you can only be obtained from the text box or mark information, are usually the artist taggingCodePudding user response:
CAD drawing inside with a lot of tolerance, is a designer label, but read management is very useful for usCodePudding user response:
Are generally text annotation, from AcadMText or AcadText tolerance derived in the text boxCodePudding user response:
Trouble you help me to write a few lines of code signal, is not very well, thank you!CodePudding user response:
Suddenly write not to come out, your online to find a good, a lot, such ashttp://blog.sina.com.cn/s/blog_3f6643ee0102wxhy.html
http://blog.sina.com.cn/s/blog_5d25ac4e0100vzoh.html
CodePudding user response:
Thank you very much! I'll give it a try