Jump to content
Developer Wiki and Function Reference Links ×

how to copy viewport settings across files


Recommended Posts

Hello all,

 

I'd like to copy viewport settings (rendermodes, lighting settings etc) to other viewports in different files. The eyedropper tool does most of what I want within one file put I don't know how to get the eyedropper info into a script. It seems this should be easy; like using custom-tool/attribute to get the info to copy into a script...

Tia,

 

Frank Schnater

Link to comment

This may be of some help or not.

By grouping a normal viewport you can copy and paste it to another file, but knowing that some attributes will not be carried over. for instance the layers it is linked to are not carried over. The latter I believe is because the viewport does not have the functionality to create any missing layers where as missing classes and their attributes will be created simply through the act of copying the objects into the file beforehand. So that said some functionality of a viewport must be setup/entered into the file for a view port to function correctly which is why I suspect the application is set up to prevent direct copying of viewports from file to file.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...