Hi HHbomb,
Not directly from Octane plugin yet, but opening the Octane viewport will send pre and post render notification, if you have the 'Broadcast Render mode' set to the default value ("Normal (pre and post render)").
So you should be able to run your script from those notifications.
Something like that:
callbacks.addScript #preRender "setUpRenderGeom()" id:#jbwRender
see
https://help.autodesk.com/view/3DSMAX/2 ... 2EAE36_htmAlternatively, you could have a script / new command, button that would call both your pre open function and the open viewport command
myScript()
actionMan.executeAction 982383860 "2642" -- open Octane viewport
(I'll add some options in the next release to call scripts without those notifications, in preferences, similar to the existing pre / post export script)
Thanks