Blackbox otls by python?

   1036   1   0
sanostol
Member
558 posts
Joined: Nov. 2005
Online
Can we create Blackboxed HDAS with python?
Could not finde anything in the documentation.

thanks Martin
User Avatar
Member
159 posts
Joined: Feb. 2018
Offline
hou.HDADefinition.save(release_hda_path, template_node, compile_contents=True, black_box=True)
I don't know why it doesn't include in the document. And as my test, you must create a template_node for blackboxing with compile_contents set True.
Also, you can check the file in “Side Effects Software\Houdini 17.5.397\toolkit\include\HOM\HOM_HDADefinition.h”
by the line of 118.
SWIGOUT(%kwargs save;)
virtual void save(
	const std::string &file_name,
	HOM_Node *template_node = NULL,
	HOM_HDAOptions *options = NULL,
	bool compile_contents = false,
	bool black_box = false,
	bool create_backup = true) = 0;
Edited by EricSheng - Oct. 7, 2019 05:04:26
  • Quick Links