Can you work with nodes invisibly in Python?

   969   2   1
User Avatar
Member
107 posts
Joined: 4月 2017
オフライン
I am preparing the nodes with Python and use the settings on different nodes and then destroy it.
Is there a way you can do these stuff invisibly without seeing the nodes getting drawing on the Network view?
User Avatar
Member
2658 posts
Joined: 6月 2008
オフライン
You could move them far off in the distance, perhaps.
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
354 posts
Joined: 11月 2013
オフライン
hou.RedrawBlock() [www.sidefx.com] seems to work as advertised on the super simple test below:

with hou.RedrawBlock():
  newNode = hou.node('/obj').createNode('geo', 'geo'); 
  newNode.destroy()
  • Quick Links