tomhaupt Posted October 12, 2016 Share Posted October 12, 2016 I have used many DoMenuTextByName scripts in the past to automate menu command selection but am having no luck using it for Modify>Drafting Aids>Simplify Polys... Can not find any reference to 'Simplify Polys...' in any of the Appendices. Has anyone had any better luck with it? Quote Link to comment
Pat Stanford Posted October 12, 2016 Share Posted October 12, 2016 I did a fairly thorough search and could not find it. I can't even find a PIO with anything approaching that name. It shows up in the Workspace Editor and works, but I don't have any idea where the code (and the internal name that you need to access via DMTBN) is at. Quote Link to comment
tomhaupt Posted October 12, 2016 Author Share Posted October 12, 2016 Thanks Pat. I was thinking it might have gone in as a built-in plug-in but I don't see it there either. I have no idea how or where to find what the actual internal name would be. Obviously there has got to be one because it works in the program. Thanks for the response though. One more request for info please: I think PIO stands for 'Programmed Input/Output', correct? Not sure what DMTBN means though? Quote Link to comment
tomhaupt Posted October 12, 2016 Author Share Posted October 12, 2016 Duh . . . Figured it out by myself. Quote Link to comment
Pat Stanford Posted October 12, 2016 Share Posted October 12, 2016 PIO = Plug In Object - This is a "script" that either works as a menu command, tool or plug in object in a drawing. DMTBN = DoMenuTextByName. Quote Link to comment
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.