anim, on 12 May 2013 - 02:01 AM, said:
I tried including the same dopnet or any other dopnet in a new asset, promoted the buttons I want users to use (like Resimulate), everything works in Escape
I don't really understand the root of your problems, in my opinion everything works as it's designed
and if you promote button that calls python script, it will still execute that script and do what it meant to do (except for changing non-promoted parameters inside of locked asset on non-editable nodes or other thinks that violate permissions, but that's not specific to escape)
I am triggering the resimulate buttons of dopnets using an hscript callback with, opparm -c path/to/dopnet execute; this will not work on a dopnet as the dopnet is locked. Did some homework and this seems to be true through the versions of 12s I have acces to on windows. This would be an rfe for the opparm -c command to override this locking functionality, esp for the resimulate button.
I will try a relative reference link, instead of an hscript opparm callback, next time the fx license frees up. I do not often use the the From Nodes promotion in the Create Parameters menu as in Operator type properties, especialy on buttons. If your not paying attention you can often get multiple button presses when you do setups containing more than one simulation task, like a wire solver, with a post sim addition. Rebar followed by breaking stone attached to it as an old example. If a relative reference works, it means i need to build complex actions internal to non accessible nodes, then have to relative reference down to those nodes. That make sense?
Don't have houdini on phone to send an example file. Can I make that as a wish
Slash and hack!!! ...standing on the shoulders of giants isn't a good battle cry...