Jump to content

Quotes within quotes"


Recommended Posts

Hi

I have an expression like below and I cannot get it to evaluate properly

tex("T:\TEXTURE\color_`stamp("../copy1","color",0)`.jpg",$BBX,$BBZ,r)

I am trying to use stamping from a copy node. This stamp expression works well normally, but I cannot make it work inside this expresion. I can use COPS for it but the "pic" function is extremely slow.

thanks

Link to comment
Share on other sites

Sorry, I tried my above tip and it doesn't work. Here is a workaround that does work though:

Just above that node create an attribute called $COL and stamp it. Then the following should work:

tex("T:\TEXTURE\color_$COL.jpg",$BBX,$BBZ,r)

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...