HHbomb wrote:@Vector6
Hi, thanks but it is not what I'm looking for
I want to acces to octane pref settings. For exemple, when I want to switch conversion on the fly, I would like to know if it is active or no, and I don't want to go to octane big pref settings.
Hi HHbomb,
There are several functions to get and set those settings:
see
viewtopic.php?f=27&t=62173The OCMGetUserConfigValueXXXX and OCMSetUserConfigValueXXXX functions allow access to the Octane Global preferences variables.
(The variable names can seen in 'octane3dsMaxConfig.cfg', that can be located by 'Explore User Settings folder' in the Tools menu of the Octane Global preferences.)
example: OctaneMaxFPI.OCMSetUserConfigValueInt "EnableOnTheFlyMaterialConversion" true
Sorry, you currently have to look into this cfg file to get the variable names; I'll add some functions to get those names from maxscript too..
Thanks