Notifications
Clear all
[Closed] SetFlow MAXScript error (3ds 2011)?
Mar 07, 2011 5:58 pm
I was rearranging my ribbon and after creating a new SetFlow button, it doesn’t work.
It produces a MAXScript error:
Argument count error: SetFlow wanted 1, got 2
(
on isEnabled return (PolyBoost.ValidEPmacro() and subobjectlevel < 4)
on execute do
(
[b]if subobjectlevel == 2 then PolyToolsModeling.SetFlow false keyboard.shiftpressed[/b]
else if subobjectlevel == 1 do PolyToolsModeling.SetFlowVertex()
)
)
How do you fix this?
3 Replies
1 Reply
fix this line:
PolyToolsModeling.SetFlow false keyboard.shiftpressed
delete FALSE or KEYBOARD.SHIFTPRESSED
Mar 07, 2011 5:58 pm
Not on 2011 here so I can’t test, but apparently it’s asking for one parameter.