PDA

View Full Version : Any way to shortcut a mirror and instance?


Absinthe-Rogue
09-13-2005, 09:18 PM
I know you can copy the last thing done, or last option set up in your duplicate options.
What i'm looking for is a way to make either 2 different buttons, or hotkeys so that i can always mirror an object along the x axis and the product is an instance, and another so that it makes a copy.
Any help is appreciated, thanks! =)

Lalecp
09-13-2005, 09:21 PM
hmmm im not sure, but u could probably make a shelf button, that would speed up ur workflow a bit

SajNT
09-13-2005, 11:15 PM
You can try scripting a window out with 2 buttons as the alternate duplicate command:

//================================================================
int $colWidth = 70;

if (`window -ex dupWin`)
deleteUI dupWin;

window -t "duplicate Window" -wh 300 70 dupWin;
rowColumnLayout -w 150 -h 150 -numberOfColumns 4 -cw 2 $colWidth -cw 3 $colWidth;
button -l "as an Instance";
radioCollection;
radioButton -label "x";
radioButton -label "y";
radioButton -label "z";

button -l "as a Copy";
radioCollection;
radioButton -label "x";
radioButton -label "y";
radioButton -label "z";

showWindow dupWin;
//================================================================

This command sets up the window, you'll just have to attach the command to the 2 buttons after that ; j

FiendishVegan
09-15-2005, 06:18 AM
for a duplicate:

duplicate -rr; scale -r -1 1 1;

for instance:

instance; scale -r -1 1 1;

paste these into whatever kind of button you want. I personally have these two commands in a custom marking menu.

CGTalk Moderation
09-15-2005, 06:18 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.