Iskander Posted October 7, 2017 Share Posted October 7, 2017 (edited) 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 October 7, 2017 by Iskander Quote Link to comment Share on other sites More sharing options...
Iskander Posted October 7, 2017 Author Share Posted October 7, 2017 (edited) 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 October 7, 2017 by Iskander Quote Link to comment Share on other sites More sharing options...
ftaswin Posted October 8, 2017 Share Posted October 8, 2017 While we are on this topic, I am wondering if SESI will upgrade opscript to support items as well as nodes? Thanks Quote Link to comment Share on other sites More sharing options...
m-egger Posted November 16, 2020 Share Posted November 16, 2020 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. Quote Link to comment Share on other sites More sharing options...
ftaswin Posted November 18, 2020 Share Posted November 18, 2020 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 1 Quote Link to comment Share on other sites More sharing options...
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.