218
edits
As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com. |
Changes
→Adding Parameters
* call self.getParams().addChildren([...])
The getParams() method does three things: * create a new Parameter if it doesn't exist; * create a group called _name; * create a child description parameter with the specified _description label; * and return a reference to the parent group parameter. Search is performed using the findParam([fullpath]) method.
Each parameter stores the data internally or externally using a set/get (usefull to retrieve dynamic data). In this case, the @setupSetParam(nameOrPath) decorator should be used in the set method in order to syncronize the GUI when the parameter value changes.