Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Trouble understanding copy stamping

Still a little green? Ask your beginner's questions here

Trouble understanding copy stamping

Postby lidphi » Tue Jul 02, 2019 1:02 am

Hi,
I'm having trouble understanding copy stamping, specifically as it relates to expressions. I am trying to have each instance of a copy reference a chop to determine it's scale in Y. but i dont understand why the expression i wrote works perfectly in an evaluate DAT but won't execute in the SOP. i guess it might have to do with not understanding the second argument in the function that references the copy index? i've shared an example.
Attachments
plane with noise and intersecting points.toe
(7.06 KiB) Downloaded 28 times
lidphi
 
Posts: 15
Joined: Sun Jan 31, 2016 9:42 pm

Re: Trouble understanding copy stamping

Postby rob » Wed Jul 10, 2019 3:30 pm

Looks like transform3 was in tscript mode instead of python mode.

Once its in python mode, change the expression to:

op('merge2')['dist'][fetchStamp("sy",0)]



That should get you further.

Cheers,
Rob.
User avatar
rob
Staff
 
Posts: 1671
Joined: Tue Nov 13, 2007 1:14 am


Return to Beginners

Who is online

Users browsing this forum: cbudin, Google [Bot] and 12 guests