Is there an API function for setting startup commands?

Hi there!

I am looking for a way to set the commands that run at startup in Settings>General with rhinoscriptsyntax or RhinoCommon.

currently I do this via loading .ini settings with “-OptionsImport” command, but i’d like to make this more explicit in my script.

Hopefully you can help me out!

Thanks,
Tim

Hi @timcastelijn, see my response and example script here

_
c.

Thank you @clement