Hi, this is Patrick from Taiwan. Thanks for Google translate, I've learned so many OSD tricks from you experts here!
Recently, I am working on an OSD annotation customization project.
The target is to create "automatic balloon numbering (symbol)" for dimensions.
These numbered dimensions will be exported to Excel for later use.
It could be achieved by automatically modifying the dimension prefix or postfix.
But it is preferred to separate the symbols from dimensions to avoid lengthy/crowded dimensions
(eg: "12.35 +/- 0.05 @34") & to follow 2D common used format.
My idea is to create numbering symbols & group it with dimensions by TCL.
Then these "numbered" dimensions could be selected automatically.
But the problem is, "Group" is not part of Annotation select foci.
I tried to use get_selection *sd-anno-group-seltype* but of no luck.
I am interested to know:
1. How to get all group object ids from drawing?
2. How to get grouped dimension/symbol id from group id?
3. How to get group id from grouped dimension/symbol id?
If the above command is not available, is there any alternative tricks?
Thanks a lot! Wish you Merry Christmas & Happy New Year!
------------------
-----------
Patrick Hsu
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP