defc0n1 Posted August 1, 2017 Share Posted August 1, 2017 Hi guys I have a file node writing out a bgeo of a geometry, and I need the filename and path to be taken from a detail attribute. Is this possible? I have a detail attribute called filename, with the string that contains a path I selected earlier. Thanks. Quote Link to comment Share on other sites More sharing options...
ikoon Posted August 2, 2017 Share Posted August 2, 2017 As posted here:https://www.sidefx.com/forum/topic/48739/?page=1#post-220104 Quote jlait: In the expression language, there are two named functions to get detail attributes, `detail` and `details`. The first returns a float and takes an index into the attribute (so you can get components of a vector). The second returns a string and has no index. CopyPaste this to your Geometry File parameter and fix the myname, to fit your name: `details(0, "myname")` Middle click on the Geometry File parameter to see how it evaluates. 1 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.