Elite Exhibits Posted April 13, 2022 Share Posted April 13, 2022 Example of a Script used with a Saved View... In the Edit Saved View there is an Edit Script… button Question for You to answer: 1. ¿ Does someone have an example of a simple script that is used with a Saved View ? 2. Could a Script be written to change the Render Mode & Options with the desired Saved View ? Suggestions are always appreciated Peter Quote Link to comment
Pat Stanford Posted April 13, 2022 Share Posted April 13, 2022 Render Mode (and options) appear to be already saved as part of the view as long as you check the correct box when you define the View. They are recalled when you active the view. So I don't know what a script would gain you for that. I don't use scripts as part of saved views. One thing that might be a reason to use it would be if you wanted to have a view that showed light objects in a rendered view and another that did not show the lights in a rendered view. a single line of code in the Script of the Saved view would do this. SetPrefInt(61,0); {this will show light objects in rendered 3D views} SetPrefInt(61,1); {this will show light objects only in Wireframe views} If you think of other things that would be useful in the script I will be happy to help you figure out how to make them work. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.