dwigfor Posted January 7, 2019 Share Posted January 7, 2019 How can I use another node's name in a texture path string? I know $OS will get the current node's name; I'd like to get the name of my 'File' node. And then use that inside of something like e:\documents\houdiniProjects\Models\Fireplace_diffuse.tga, where 'Fireplace' is the name of my 'File' node. Or for selecting a material, like SH_Fireplace_Retopo. Thanks! -Dave Quote Link to comment Share on other sites More sharing options...
toadstorm Posted January 7, 2019 Share Posted January 7, 2019 (edited) opname() will return the name of a node given its full or relative path Edited January 7, 2019 by toadstorm Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.