Jump to content

(SOLVED)Viewer States install in specific context


Recommended Posts

Hi guys so i've been using viewer states in Houdini 17.5 and they're great but I was wondering if there is a way to have the OTL not install the viewer states depending on context. My current predicament is when a job is sent to Tractor the node errors out the job(even if it's not being used). My guess this is due to tractor using hython? Where there is no interface but the OTL is still trying to install and getting the "Not available in this context" error. 

 

SOLVED: Solution was to make the viewer state check if there was a ui using hou.isUIAvailable() before installing.

Edited by shadowst17
Link to comment
Share on other sites

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.   Paste as plain text instead

  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...