habakay Posted December 10, 2015 Posted December 10, 2015 Hi, I have some lines and Mtext objects in my drawing. Mtext objects inserted at midpoint of lines. I can select lines with macro. Is it possible to select Mtext object automatically that exist in modelspace according to midpoint of line with macro? Quote
BlackBox Posted December 10, 2015 Posted December 10, 2015 Sure; just create a selection set without prompting user, or iterate a selection set of all MText (on that layer?), checking for coincident insertion point. Either way, you may benefit from reading up on the myriad ways of creating selection sets, filters, etc. Cheers Quote
habakay Posted December 10, 2015 Author Posted December 10, 2015 Thanks a lot He had never used acSelectionAll before instead of SelectOnScreen I learned something new. I'm grateful Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.