Can you work with nodes invisibly in Python?

   473   2   1
User Avatar
Member
102 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
2631 posts
Joined: June 2008
Offline
You could move them far off in the distance, perhaps.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
339 posts
Joined: Nov. 2013
Online
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