Run Python Script AFTER HDA cooks nodes

   2068   2   0
User Avatar
Member
82 posts
Joined: March 2017
Offline
I want to lock a node AFTER it is cooked - it is a convex hull node and it's wrapping points selected by the user. The problem is that “On created” module seems to run before enything gets evaluated.

How can one run a second script in the same HDA to do something AFTER?
Edited by dankray - May 12, 2019 08:58:41

Attachments:
untitled.hip (208.5 KB)
Edit_By_Container.hda (15.5 KB)

User Avatar
Member
387 posts
Joined: Nov. 2008
Offline
Locking node inside an HDA is pretty uncommon workflow.
Probably better and the more reliable way would be stashing (Stash SOP) inside editable subnetwork inside HDA or file cache if it should be shared.

Look how grooming HDAs worked in 16/16.5.
User Avatar
Member
82 posts
Joined: March 2017
Offline
Thanks a lot, I ended up dropping another python SOP inside, which switched file cache sop from read to write.
Edited by dankray - May 12, 2019 11:08:16
  • Quick Links