find subnet's input name

   3923   3   1
User Avatar
Member
305 posts
Joined: May 2007
Offline
there is a subnet,and in my subnet i want use object_merge to load subnet's input1. but i don't know the sub-network-input#1's name.
any one know how can i load it ?

there's a hip file showing what i want

Attachments:
subnet.hip (51.8 KB)

https://vimeo.com/user3971456/videos [vimeo.com]
User Avatar
Member
7868 posts
Joined: July 2005
Offline
Use the opinputpath() hscript expression function.
User Avatar
Member
678 posts
Joined: July 2005
Offline
This should work

/obj/`opinput(“../../”, 0)`


EDIT: Looks that Edward was faster
User Avatar
Member
305 posts
Joined: May 2007
Offline
thank you
https://vimeo.com/user3971456/videos [vimeo.com]
  • Quick Links