Hi!
Lets say I have a sphere sop connected to the input 0 of a wrangle. Is there a function that will give me the path "/obj/geo3/sphere1" or at least the name "sphere1" ?
-Olivier
VEX: Get Path of Node Connected in Input 0? {[SOLVED]}
201 2 1-
- olivierth
- Member
- 1168 posts
- Joined: April 2017
- Offline
-
- ObeidaZakzak
- Member
- 126 posts
- Joined: Dec. 2019
- Offline
I am not aware of a specific VEX function that does this task based on input number. If you create some spare parameters you can take advantage of Hscript in parameter expressions as it has the deticated functions you are looking for :
- Node name
- Node path
Now, to read this in VEX snippet, you can evaluate parameter channels :
- Node name
opinput(".", 0)
- Node path
opinputpath(".", 0)
Now, to read this in VEX snippet, you can evaluate parameter channels :
string node_node = chs("node_name"); string node_path = chsop("node_path");
Obeida ZAKZAK
Houdini Pipeline Supervisor
TAT Studio
Houdini Pipeline Supervisor
TAT Studio
-
- olivierth
- Member
- 1168 posts
- Joined: April 2017
- Offline
-
- Quick Links

