Jump to content
Sign in to follow this  
zmfovlr

How to make same method Attribute Copy Sop about in vex ??

Recommended Posts

Hey Guys, I need help!

I want know how to attribute copy with vex
I need some attribute copy from vellum constraint to vellum geometry
Attribute Copy Sop is Good working, but I don't use it in my case
however I must be used by vex

 

this is my test file.
anyone please how do this for me

attribute_copy_v01.hip

Share this post


Link to post
Share on other sites

you can do this in Primitive Wrangle

int prim = pointprims(1, @ptnum)[0];
if (prim != -1){
    v@Cd = prim(1, 'Cd', prim);
}

 

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, anim said:

you can do this in Primitive Wrangle


int prim = pointprims(1, @ptnum)[0];
if (prim != -1){
    v@Cd = prim(1, 'Cd', prim);
}

 

Thanks Tomas

I didn't know how to do this!!

This way is very good working in my case!

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
Sign in to follow this  

×