subnet node doesn't update its output with new input

   3136   2   0
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
hi, guys,

i created a subnet to extrude the input polygon and print the name of the polygon on the roof of the extruded form

somehow the subnet doesn't update the name information when it's connected to a new polygon node with different name. I need to go inside the subnet node copy and paste the “font” node, delet the original “font” node and reconnect the pasted “font” node to make it update the output information.

The names of the polygons as shown on top of each building will only be updated once I save and reopen the working file.

the Hscript used in the “Font” node to get the name of the input polygon is:

opinput(“../input_geo”, 0)

Attachments:
subnet output not updating.hipnc (106.5 KB)

User Avatar
Member
8599 posts
Joined: July 2007
Offline
kind of strange, it's probably because the input of input_geo null is not changed directly which doesn't force font to update right away

what you can do is to change the expression to:

opinput(“../.”, 0)

and that way evaluate input 0 of the subnet10 which is changed directly, it should work that way
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
Thank you very much, tamte!

your suggestion solves the problem.
  • Quick Links