Home Technical Talk

Is it possible to bind the MultiCut tool to a hotkey?

polycounter lvl 11
Offline / Send Message
daniellooartist polycounter lvl 11
Hello. I've been googling this for a few hours yesterday and it does not appear anyone talks about this. I have SplitEdge bound to the "T" key but I think MultiCut is a more powerful version. Is this even possible? Is there a script to run Multicut?

Replies

  • Stromberg90
    Options
    Offline / Send Message
    Stromberg90 polycounter lvl 11
    Bind:
    setToolTo nexMultiCutCtx1;
    to the hotkey, it's a mel command.

  • daniellooartist
    Options
    Offline / Send Message
    daniellooartist polycounter lvl 11
    // Error: setToolTo: Object 'nexMultiCutCtx1' not found. // 
  • daniellooartist
    Options
    Offline / Send Message
    daniellooartist polycounter lvl 11
    I also googled the command and the only thing that turns up is this thread. Do you have a reference?
  • Stromberg90
    Options
    Offline / Send Message
    Stromberg90 polycounter lvl 11
    I'm using maya 2015 at work and 2016 at home and it works in both places.
    The way I found it was opening the script editor, then History -> Echo All Commands
    And when I start the multi cut tool it says.
    dR_contextChanged;
    currentCtx;
    // Result: nexMultiCutCtx1 //
    Edit: Also got a colleague to test it out, works for him.

  • daniellooartist
    Options
    Offline / Send Message
    daniellooartist polycounter lvl 11
    I'm using 2015 as well with no results. I did the echo thing but no new commands show up when i click the multi cut button in the toolbox. The button highlights and I can still use the tool, but no commands show up.  I have tried this command in both object and component mode in a new scene on a pCube1
  • daniellooartist
    Options
    Offline / Send Message
    daniellooartist polycounter lvl 11
    found out that "dR_multiCutTool;" works in 2015. I'm trying to get it to work in 2012. Long story. Is that possible?

    WHen I did echo in 2012 I just got this. When I put it into the script editor and run it nothing happens. What gives?

    [quote]
    // Result: scriptEditorPanel1Window|TearOffPane|scriptEditorPanel1|formLayout120|formLayout122|paneLayout5|cmdScrollFieldReporter4 //

    nexOpt -e manipType cut; dR_updateCommandPanel(); dR_addRepeatManip("cut");

    storeLastAction( "restoreLastContext " + `currentCtx` ); setToolTo nexCtx1;

    if(`viewManip -q -v`) viewManip -visible off;

    dR_updateHUD;

    softSelect -softSelectEnabled false;

    changeToolIcon;

    autoUpdateAttrEd;

    updateAnimLayerEditor("AnimLayerTab");

    statusLineUpdateInputField;

    iconTextCheckBox -e -v `selectPref -q -xformNoSelect` lockSelectionIcon;

    // Result: lockSelectionIcon //

    updateHighlightSelectIcon;

    editMenuUpdate MayaWindow|mainEditMenu;

    dR_updateCommandPanel;

    dR_contextChanged;

    currentCtx;

    // Result: nexCtx1 //

    dR_refreshHUD;

    nexCtx -upm; refresh -f;

    interToUI(`nexOpt -q manipCoordSpace`);

    // Result: World //

    dR_manipEntered;

    dR_updateCommandPanel;

    [/quote]

  • Stromberg90
    Options
    Offline / Send Message
    Stromberg90 polycounter lvl 11
    dR_multiCutTool works for me as well, if it will work in 2012 I have no idea, didn't use maya back then.
    I think the multicut tool is a more recent addition.

  • Bartalon
    Options
    Offline / Send Message
    Bartalon polycounter lvl 12
    All the commands beginning with "dR_" and "nex" are originally from a third-party plugin by digitalRaster, specifically their NEX Tools.  I believe for Maya 2014, Autodesk implemented dR's Modeling Toolkit, so that command/tool doesn't exist in previous versions of Maya.

    Apparently they offer a free version of NEX compatible with Maya versions 2011 thru 2013 but I'm not sure if it's a trial or limited feature edition.  You can check it out here.
  • daniellooartist
    Options
    Offline / Send Message
    daniellooartist polycounter lvl 11
    Found it. In 2012 you just have to go to the hotkey editor. There's a section called NEX and a command called dr_multiCutPress. I just had to bind that.
Sign In or Register to comment.