|Home > Iris APIs > Simulation instantiation and discovery API > Setting instantiation parameter values|
Pre-instantiation clients can optionally call
simulation_setInstantiationParameterValues() to initialize all init-time and runtime parameters for all instances during the instantiation of the simulation.
This function modifies state that exists before the simulation is instantiated, it does not instantiate the simulation. It can be called multiple times. Each invocation can set all of the instantiation parameters or a subset of them. Any parameters that this function does not set keep their default values. Each invocation can overwrite parameter values that were set with previous invocations of
An implementation can defer any errors, for example
E_type_mismatch, until instantiation. These deferred errors are then returned by