( $.modifiers[#Edit_Poly].ButtonOp #ConnectEdges if ($.modifiers[#Edit_Poly].bridgeselected != undefined) do ( res = $.modifiers[#Edit_Poly].ButtonOp #BridgeEdge ))
This works:( $.modifiers[#Edit_Poly].ButtonOp #BridgeEdge if ($.modifiers[#Edit_Poly].bridgeselected == 1) do ( $.modifiers[#Edit_Poly].ButtonOp #ConnectEdges ))
EDIT; Sorry, got it! using the bellow do the trick! :) case (classOf $.modifiers[1]) of( default: ( -- block of codes for generic stuff ) Unwrap_UVW: ( -- block of codes for specified modifier )) Hey guys, is there any way to merge this blocks for undefinedClass and Edit_Poly together cus both contain the same thing? case…
Test if this works properly: objClass = classOf $.modifiers[1]case of( (objClass == undefinedClass): ( max snap toggle ) (objClass == Edit_Poly): ( max snap toggle ) (objClass == Unwrap_UVW): ( case of ( default: ( actionMan.executeAction 2077580866 "40132" ) -- end default (keyboard.altPressed and not…
Hello guys, I've been trying to make a "smart" script that combine many functions based on what sub object level I'm currently in and map it to a single hotkey, really inspired by Perna's thread a long while back. Now my problem is I'm trying to figure out how to translate this Editable Poly code into an Edit Poly…
Hey miauu, if using those somehow it run both of the codes, so after bridge it then connect it and that's not what I really want; is either bridge (on open edges) or connect (on closed edges). Is it possible to achieve that? I did try to use array and compare both of these two;edgeSel = $.modifiers[#Edit_poly].GetSelection…
Yeah those totally legal, miauu. But at first I try to do like bellow;case (classOf $.modifiers[1]) of( (undefinedClass and Edit_poly): ( ... Which breaks the code cus it freak out once I plugged in boolean value into class type, haha! I'm hoping it would be like "in class of undefined class and edit poly class, do the…