Jump to content

Opscript+SOP solver


Iskander

Recommended Posts

Why opscript command(for example opscript -r -b /* > /tmp/scene.cmd) don't export information from SOP solver.
All nodes are exported perfectly,but empty inside if you open SOP solver node.

Edited by Iskander
Link to comment
Share on other sites

I got the tip from one user-it is necessary to unlock the asset.


 

Quote

-r : Recursively apply to the entire operator hierarchy. The command will not output script for internal node creation in a locked asset, only the top level of the asset

 

Edited by Iskander
Link to comment
Share on other sites

  • 3 years later...
On 09/10/2017 at 1:31 AM, ftaswin said:

While we are on this topic, I am wondering if SESI will upgrade opscript to support items as well as nodes? Thanks

What do you mean items? And where would you use that?
Maybe there's a python way of doing it. Opscript seems deprecated now too, just from reading the docs and there being 5 replacement functions in the hou-module. :)

Link to comment
Share on other sites

hou.selectedItems() includes nodes, dots, sticky notes and networkBox

hou.selectedNodes() only can store nodes.

 

opscript will only detect nodes, and not dots, sticky notes or networkBox but i doubt SESI will update that

I havent found the equivalent to select items

  • Like 1
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...