willy Posted July 22, 2003 Share Posted July 22, 2003 I need to automate some menu operations. The 'DoMenu...' function works fine in VectorScript, but it then needs two points or a line drawn to complete the operation. How do I provide this input to VectorScript from within a script rather than sitting and waiting for the cursor to appear and doing it by hand? DoMenu... is a good idea, but it would seem like a big omission if I can't automate all the required steps of the menu command as well. Quote Link to comment
Jason33 Posted July 23, 2003 Share Posted July 23, 2003 Unfortunately you have come across a limitation of Vectorscript. As far as I know your only option is to rewrite a script from scratch, and alter the means of inputing the necessary data. However, there are many menu commands which do have an equivalent Procedure existing in Vectorscript. If you let me know what you're after I may be able to help. -Jason Quote Link to comment
willy Posted July 23, 2003 Author Share Posted July 23, 2003 Well, my idea was to make an automatically updateable 2-D section of a model by defining the workplane and the line for the section cut and using DoMenuByText("Cut 2D Section) more or less. I have the script that calls DoMenuByText, but it requires user intervention to define the cut. This is similar to an AutoCAD feature that I have always wanted to see in VW. I'm a big VW fan, since MC 4, but I expect a lot from software so I find limitations frequently. Any ideas of accomplishing this would be appreciated. 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.