Api to set render model

What’s the api to set render model?

What exactly are you trying to achieve? Do you want to start a render?

I want to set a mode that i need not a default mode on the perspective view after open the rhino.

Hi -

You could set the custom display mode in a custom template file that you load at start-up.
Alternatively, you can use the SetDisplayMode command.
-wim

1 Like

Ok,thanks!

But this still need a person to input ,is there a solution to set it in the program.

Hi -

You can run Rhino commands from within your program.
-wim

Ok,I know.Just now I didn’t set a parameter. :sweat_smile: