load module state before component values?
-
Is it possible to load ModuleState, achieved using the
UserPresetHandler.createObjectForSaveInPresetComponents();before triggering all components callback?
When loading a preset.
-
@ulrik I don't think so, but why don't you save the module state in the preset?
-
@d-healey said in load module state before component values?:
@ulrik I don't think so, but why don't you save the module state in the preset?
But I do save the module state in the preset, but when loading a preset I need to read, and set the state of the modules, before the component callbacks triggers
-
@ulrik Are you using
Engine.addModuleStateToUserPreset()? Perhaps it's something that can be handled in the preCallback -
@d-healey said in load module state before component values?:
@ulrik Are you using
Engine.addModuleStateToUserPreset()? Perhaps it's something that can be handled in the preCallbackYes that's exactly what I'm using

Could you give an example how to achieve this with the preCallback? -
Could you give an example how to achieve this with the preCallback?
No because I don't think it's possible, but just the only option I can think for you to explore.
-
@d-healey haha, ok