cp5 group

edited August 2015 in Library Questions

I am working with cp5 and I made a group called g1, what is the difference between: cp5.addSlider("s1").moveTo(g1); and cp5.addSlider("s1").setGroup(g1); ? Thanks!

Answers

  • Answer ✓

    Hi, setGroup() is the original method to move controllers from one group to another. Over time moveTo() was added to automate certain procedures based on the parameters passed on to the method. the preferred method call to move a controller to another group is moveTo(). for more details see the source code of the Controller class.

Sign In or Register to comment.