Jump to content

How do you name an attribute refering to an op: in Wrangle/VEX


abvfx

Recommended Posts

I have probably butchered the title so to make it clearer how do you use the hscript fuction op: in a wrangle sop (attrib or point).

 

Cant find anything on the topic. 

 

I want to create an attribute and name it based on the file name within a filesop. I have come to think that the hscript op:`` is the way to go about it.

 

cheers

Edited by abvfx
Link to comment
Share on other sites

I have probably butchered the title so to make it clearer how do you use the hscript fuction op: in a wrangle sop (attrib or point).

 

Cant find anything on the topic. 

 

I want to create an attribute and name it based on the file name within a filesop. I have come to think that the hscript op:`` is the way to go about it.

 

cheers

Only way I can think of is to create a file spare parameter in your wrangle and place hscript expression there.

 

Cheers

Link to comment
Share on other sites

I'm trying to figure out how that will work.

 

Maybe i should use one of the regular attribute sops and create the attribute there using the hscript op: for the name. Then access that attribute in the wrangle, i just would love to be able to do it in one. 

 

edit:// now i just have to figure out doing it there :D

Edited by abvfx
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...