Notifications
Clear all

[Closed] SetFlow MAXScript error (3ds 2011)?

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
(@denist)
Joined: 11 months ago

Posts: 0

fix this line:


 PolyToolsModeling.SetFlow false keyboard.shiftpressed
 

delete FALSE or KEYBOARD.SHIFTPRESSED

 j83

Not on 2011 here so I can’t test, but apparently it’s asking for one parameter.

That worked