Alexey Vanzhula 135 Posted October 23, 2012 How to delete asset from it self. For example, i want to delete it in On Creation event script of asset Share this post Link to post Share on other sites
lukeiamyourfather 182 Posted October 23, 2012 I don't know the context or why this is needed but I would never automatically delete anything outside of a digital asset, that's just asking for trouble. There are better ways, for example a switch with one of the inputs as a null. Share this post Link to post Share on other sites
Alexey Vanzhula 135 Posted October 24, 2012 i need to use a condition where it is possible to cancel asset creation Share this post Link to post Share on other sites
Alexey Vanzhula 135 Posted October 24, 2012 and i want this condition inside asset Share this post Link to post Share on other sites
ben 22 Posted October 24, 2012 To have your asset to delete itself expose a button a the root and use a callback script, in python : hou.pwd().destroy() AutoDelete.hip Share this post Link to post Share on other sites
Alexey Vanzhula 135 Posted October 24, 2012 Thanx - but i dont need button manually deletion. I need asset that auto delete it self when need Share this post Link to post Share on other sites