find subnet's input name
3923
3
1
luoqiulin
Member
305 posts
Joined: May 2007
Offline
March 30, 2010 4:35 a.m.
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)
edward
Member
7868 posts
Joined: July 2005
Offline
March 30, 2010 9:53 a.m.
Use the opinputpath() hscript expression function.
Anonymous
Member
678 posts
Joined: July 2005
Offline
March 30, 2010 10:07 a.m.
This should work
/obj/`opinput(“../../”, 0)`
EDIT: Looks that Edward was faster
luoqiulin
Member
305 posts
Joined: May 2007
Offline
March 31, 2010 3:09 a.m.
thank you