ericl Posted May 22, 2008 Share Posted May 22, 2008 I have several vectorscripts that run when I change views, mostly so that when I go into a section/elevation/back to plan all of my 3d layers align themselves. For example: DoMenuTextByName('Standard Views',4); DoMenuTextByName('Align Layer Views',0); Until I started using 2008, this worked fine. Now I get a vectorscript error: Error: no name DOMENUTEXTBYNAME - Menu cannot be found. Align Layer Views I can't figure out what's wrong with the script, if anything. Has something been added in 2008 that makes this easier so maybe I don't have to bother with vectorscript at all? Quote Link to comment
Pat Stanford Posted May 22, 2008 Share Posted May 22, 2008 Align Layer Views has been moved to a vwplugin file in VW2008. Apparently you are supposed to use the file name with DoMenuTextByName, but I can't get it to work. Robert, Charles, can either of you shed some light on how to use DoMenuTextByName with vwplugin and vwlibrary files? Pat Quote Link to comment
ericl Posted May 25, 2008 Author Share Posted May 25, 2008 If it helps, the previous version I was using in which it worked was 11.5. A friend of mine who uses the same script told me it stopped working in one of the 12.5 updates. Quote Link to comment
Charles Chandler Posted June 9, 2008 Share Posted June 9, 2008 Try: DoMenuTextByName('AlignLayerViews',0); Like VectorScript plug-ins, use the filename. 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.