[Sidefx-houdini-list] Python: Menu scripts errors on load
nick at nicknimble.com
Wed Sep 4 13:13:50 EDT 2013
Thanks for clarifying that Jeff :-)
Nick, be Nimble
+31 622 4243 94 | www.nicknimble.com | www.facebook.com/nicknimble
On 9/4/13 5:09 PM, jlait wrote:
> On Fri, Aug 30, 2013 at 09:37:17AM +0200, Nick Nimble wrote:
>> *Store data on root node *
>> It turned out that although this problem still exists and needs to
>> be accounted for using a exception, at the same time I had some
>> trouble with storing userData to the root node.
>> (hou.node("/").setUserData() and .userDataDict(), allows to store
>> and fetch string data on any node. The root node is the parent node
>> of /obj, /shop etc)
>> As far as I remember this should be stored with the file, but as it
>> appears it loses all its data when a hipfile is closed and reloaded.
>> I switched to the /obj node to store this data (version management)
>> and that does the trick.
>> Does any one know if this is intended/has changed or am I just confused?
> The root node, /, is the OP_Director.
> When we load a .hip file, we do
> OP_Director *dir = OPgetDirector();
> Thus, the OPdirector itself isn't read off disk, only the contents
> of it.
> I'd recommend just using /obj.
More information about the Sidefx-houdini-list