set
Sets the value of an open parameter and ensures its visibility.
Signatures
- set( open_parameter, value )
Details
The set() function is used to assign a new value to an open parameter and ensure that the open parameter becomes visible to the UI. This function is useful when an open parameter is written to but not read, and visibility is still required.
Example
set( myOpenInt, 42 ) // Sets the value of 'myOpenInt' to 42 and ensures its visibility.
Parameters
- open_parameter
-
The open parameter whose value is to be set.
- value
-
The new value to assign to the open parameter.