Jump to content
Sign in to follow this  
probiner

"opinput:1" to operator full path

Recommended Posts

Hi
One can use "opinput:1" or "opinput:-1" in functions with geometry argument to access the geometries connected on the ports or in spare inputs. My questions is how to convert that string to full path that those end up point to.

opfullpath doesn't seem to do it.
http://www.sidefx.com/docs/houdini/vex/functions/opfullpath.html

I guess I'm looking for the equivalent of opinputpahth ?
 http://www.sidefx.com/docs/houdini/expressions/opinputpath.html

Guess it doesn't exist, but just checking.
Cheers

Share this post


Link to post
Share on other sites

Not sure how else to do it, but in a wrangle do " s@test = chs("test"); " and then you can use the expression " `opinputpath(".", 0)` " in the parameter.

 

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

@Skybar Thanks for looking into it.

This does it.
Cheers
AHfVqAV.png

Edited by probiner
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×