use opinput() in file node?

   4068   3   0
User Avatar
Member
12 posts
Joined: Feb. 2012
Offline
I'd like to use the name of an input node as the filename for my file exporting. Any tips on this?

I've tried entering the expression opinput(“.”, 0) in the file path itself and also creating an attribute (type: string) as well with no luck.
User Avatar
Member
28 posts
Joined: Jan. 2010
Offline
use backticks ie:

$HIP/`opinput(“.”,0)`.$F4.bgeo
Blair Pierpont @ weta digital
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
See attached for a simple example .

Rob

Attachments:
simpleNpoints.hip (51.3 KB)

Gone fishing
User Avatar
Member
12 posts
Joined: Feb. 2012
Offline
Awesome, thanks for both examples, guys!
  • Quick Links