The Hamma Posted July 3, 2012 Share Posted July 3, 2012 Anyone know why this script runs from the script Palette but not if I add it to the menu. When added to the menu it runs but nothing happens. PROCEDURE ClassStyle; PROCEDURE changedoors(h :HANDLE); BEGIN SETRFIELD(h, 'door', 'IDLabelClass', 'Marks'); ResetObject(h); END; BEGIN ForEachObject(changedoors, (INSYMBOL & INVIEWPORT & (PON='door'))); END; Run(ClassStyle); Quote Link to comment
The Hamma Posted July 3, 2012 Author Share Posted July 3, 2012 Ok correction the resetObject does not work the class does change but the objects are not reset. Quote Link to comment
Kevin McAllister Posted September 20, 2012 Share Posted September 20, 2012 Did you ever resolve this? I have a small script to change views which works fine from the script palette too but does nothing once I make it into a menu item. Kevin 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.