Copy link to clipboard
Copied
Hello all,
I am writing a PP export plugin, as part of the UI I have a button that allows the user to rference a "Master" file that can be patched, all of the logic to open file browser is working well , however after I have got the new file path and got the information from the master file I need to update all the other parameters in the UI. I am able to update the parameters by using exportSuite->ChangeParam() however there doesn't seem to be any way of letting the host know that I have changed parameters and it now need to update the GUI and call ValidateParams etc...
Is there a way to force an update of all the parameters ?
Best,
Nigel.
Hi Nigel,
If the path changes, you should return exportReturn_ErrNone from exSelParamButton, and that should tell the UI to update. If the exporter returns exportReturn_ParamButtonCancel, this tells the host that nothing has changed, so the UI update isn’t called. Also, make sure the parameter that holds the file path is not in the hidden state.
Regards,
Zac
Copy link to clipboard
Copied
Hi Nigel,
If the path changes, you should return exportReturn_ErrNone from exSelParamButton, and that should tell the UI to update. If the exporter returns exportReturn_ParamButtonCancel, this tells the host that nothing has changed, so the UI update isn’t called. Also, make sure the parameter that holds the file path is not in the hidden state.
Regards,
Zac
Copy link to clipboard
Copied
Hi Zac,
Thank you for the quick reply. I already tried that, I return exportReturn_ErrNone from exSelParamButton but it then never updates the UI.
It was the "Hidden" option on the arbritary data that was the issue, never thought that that might be important as it was not a visible thing.
Thank you.