JMR Posted March 19, 2019 Share Posted March 19, 2019 Hi all, I needed to reset my space objects in order to show changed custom data in the tags. It takes a long time to reset everything, is there a way to reset only one type of objects? As in select similar - space object - reset plug-ins Thanks Quote Link to comment
Marionette Maven Marissa Farrell Posted March 19, 2019 Marionette Maven Share Posted March 19, 2019 You could create a script in your Resource Manager (set the language to Python Script from the drop down) and place this code in it: def ResetThem(h): vs.ResetObject(h) vs.ForEachObject( ResetThem, "SEL = True" ); This script will reset all selected objects. Another option is to create a set of scripts that reset objects based on criteria, for example, the following script will reset all Space objects: def ResetThem(h): vs.ResetObject(h) vs.ForEachObject( ResetThem, "((PON='Space'))" ) You can also add these scripts as menu commands using the Plug In Manager. 1 Quote Link to comment
JMR Posted March 19, 2019 Author Share Posted March 19, 2019 Excellent, thank you very much! (That functionality could be put into a submenu of the reset plug-ins menu, in stock VW...no? Would be very useful IMHO.) 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.