April, 2008 Description:
This script add the possibility to automaticly duplicate (if only one object is selected)
and connect the attributes from the first selected object to the duplicated or the others selected objects.
The default attributes are defined in the NPduplicateAndConnect.mel file.
It is also possible to define manualy the desired attributes to connect in the options box selecting the mode "Select Attributes" Instalation:
Put the file:
on your mel scripts folder:
(Windows) drive:Documents and SettingsusernameMy Documentsmayascripts
(Mac OS X) Users/username/Library/Preferences/Alias/maya/x.0/scripts
(IRIX and Linux) ~username/maya/scripts
and create or locate your userSetup.mel, by default on this folder:
(Windows) :Documents and SettingsMyDocumentsmayascripts
or, if you use the BonusTool, in the script folder of it.
(Windows) :Program FilesAliasMayaBonusTools
and put the command:
buildDeferredMenus(); //for Maya 2009 (only once)source NPduplicateAndConnect;
restart maya...How to use:
The command and options menu items are located on the default edit menu.
Select one node, if you want to duplicate it, or select how much you want: the first will be the source, the other will be the targets.
The attributes are by default setted in the NPduplicateAndConnect.mel file or mannualy selected in the scroll list on the options box.
The command is:
and for the options is :