Mind Thrower Posted December 24, 2015 Share Posted December 24, 2015 (edited) Hi! Cant find information about how to create empty folder with python inside digital asset parameters. I have a python callback script and at the end i'd like to create folder named, for example, Animation. Just it right now, no parameters inside, only empty folder inside asset. Did anyone know how to make it? That's what i am talkig about. Edited December 24, 2015 by Mind Thrower Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted December 24, 2015 Share Posted December 24, 2015 This will add new folder as Spare parameter: node = kwargs['node'] ptg = node.parmTemplateGroup() ptg.addParmTemplate(hou.FolderParmTemplate("Foo", "Foo Folder")) node.setParmTemplateGroup(ptg) Also take a look at hou.ParmTemplateGroup.insertBefore/insertAfter Quote Link to comment Share on other sites More sharing options...
Mind Thrower Posted December 24, 2015 Author Share Posted December 24, 2015 Alexey, thank you! It works) 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.