Can you work with nodes invisibly in Python?

   956   2   1
User Avatar
Member
107 posts
Joined: April 2017
Offline
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: June 2008
Offline
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: Nov. 2013
Offline
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