I'd love it if we could have a option for Duplicate Group Mesh on the Group context menu pretty please
I figure an easy way to set that up would be:
1: have it automatically deselect everything selected 2: select the groupmesh with the code used in the context menu's Select Group 3: then call the code for Edit > Duplicate Mesh Selection 4: then deselect everything selected 5: and finally call the code on the newly created duplicated mesh's Select Group
You're right bt i was hoping to get it added to the context menu for speed reasons ( all those clickings to duplicate every time tend to take a while with lots and lots and lots of meshes )
What's the 'real' difference in Right Mouse Click and drag down in a context menu and clicking and dragging down in the Edit menu...LOL.
I, myself, if I really wanted to speed up productivity....why I would create a shortcut[hotkey] to the function...FTW!.......which could be done by each individual endUser; as opposed to taking up Dave's time with redundant functionality...??!!
unzip this into the fragMOTION/schema/UI folder and restart fragmotion.
Using the Edit/Customize User Interface dialog in the Script drop down I created a 3 line UIScript=>LuaUIScript that deselects all faces, selects the group, and then duplicates it.
Every menu/context menu/toolbar item has a script associated with it that can be called from another script like so:
Then in the Context Menus drop down I created a new menu item under Group and linked it to the new script.
If you create any new functionality like this in the future it's always a good idea to export all the new objects you create to an xml file from the Customize User Interface dialog since resetting the user interface or deleting the ui.xml file will remove everything you added. Another bonus here is that you can transfer your features to newer versions of the product by copying these files into the corresponding folder. I had you place the xml file in the Schema/UI folder because files in this folder are automatically reloaded when the user interface is reset.
enjoy
dave
« Last Edit: June 15, 2011, 10:58:50 AM by fragmo »