Page 1 of 1

Script for viewport button

PostPosted: Thu Oct 05, 2017 5:29 pm
by fabrizio_s
Hi,
I'd like to create a button that creates a new viewport with the same size of Film Settings Resolution. Now I write the film size manually in the script of the button.
Do you know how to copy the values of the octane film setting and put automatically in the script?

thanx

Re: Script for viewport button

PostPosted: Thu Oct 05, 2017 7:36 pm
by face_off
I'm not sure you can change the resolution settings via a Rhino command. I will need to check early next week, and add that functionality if it is not already there.

Paul

Re: Script for viewport button

PostPosted: Thu Oct 05, 2017 9:21 pm
by fabrizio_s
Thank you very much, Paul!

Re: Script for viewport button

PostPosted: Thu Oct 05, 2017 10:26 pm
by franchais
yes it would be great to be able to save your own viewport resolutions

Re: Script for viewport button

PostPosted: Fri Oct 13, 2017 10:06 pm
by fabrizio_s
Hi,
here is a button that creates a viewport with the dimension (or percentage) of the Octane rendering viewport. The script isn't mine because I'm not a coder. I asked in the Rhino forum how to write this script and two coders helped me to build it.
For now, the resolution of this window doesn't come automatically from the octane film setting. You have to change it manually (shift+right click) inside the code of the button.

Hope you like it

http://www.filedropper.com/octaneviewport

Re: Script for viewport button

PostPosted: Thu Oct 26, 2017 10:46 pm
by fabrizio_s
Hi Paul,
did you try to look at this functionality?

bye

Re: Script for viewport button

PostPosted: Fri Oct 27, 2017 3:28 am
by face_off
Hi, I am trying to get all the 3.07 final releases done, and will then take a look. Sorry for the delay.

Paul

Re: Script for viewport button

PostPosted: Fri Oct 27, 2017 6:44 am
by fabrizio_s
ok thanx