Jump to content
brokenpixel

Problem with stamping - possible quote/backtick issue

Recommended Posts

hello all

i have a bunch of channels and i want to apply them randomly to various attributes of stamped copies.

i am having problems with the syntax for setting this up.

here is what i have -->

chop("/ch/ch1/xMove`stamp("../copy1",chanNum,1)`/chan1")

i have several "xMove" channels - xMove1, xMove2, xMove3. etc... and i want to simply assign a random channel to a copy via copy stamping.

i know there are various issues with quotes, double quotes, and backticks that i need to be schooled in!

thanks for any and all assistance.

++ scott

Share this post


Link to post
Share on other sites
chop("/ch/ch1/xMove`stamp("../copy1",chanNum,1)`/chan1")

You can embed expressions within other expressions but you shouldn't use backticks. Try:

chop("/ch/ch1/xMove"+stamp("../copy1",chanNum,1)+"/chan1")

If that doesn't work post a hip and I'll take a look.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×