SetParameters: Difference between revisions
From Catglobe Wiki
More actions
jrfconvert import |
(No difference)
|
Revision as of 08:57, 7 March 2011
ο»Ώ
setParameters
Sets the parameters of a resource.
Syntax
setParameters(resourceUniqueId, parameters_options)
Arguments
resourceUniqueId: Is a numeric (non-decimal) expression. It is the UniqueId of a resource.
parameters_options: Is an array whose items are the ids of the last chosen parameter options of a parameter family
Return type
empty
Examples
/* set parameters for a resource having UniqueId = 123456
This resource has 3 parameters whose corresponding optionsβ ids are 1, 12 and 25
*/
setParameters(123456, {1, 12, 25});
Availability
Version 4.8