Jump to content
Sign in to follow this  
mic

first point of the primitive

Recommended Posts

hello!

please help me to query the number of first (or any else) point of the primitive.

what i want:

i must create an expression like:

point ("../node1", ##[here must be first, second or third point of the primitive, which number i calculated before using 'xyzdist']##, 'some_attribute', 0)

so, i need the list of points which form my primitive.. how can i get it? thank you!

Share this post


Link to post
Share on other sites
You could use a PythonSOP, perhaps?

thank you, Jason, i'll try!

Share this post


Link to post
Share on other sites

Fastest way to find first point of each primitive:

Add "primitive SOP"

Switch to Attribute tab

Add Alpha

Replace $CA with $PT

After doing this primitive`s alpha attribute will contain first point number.

Share this post


Link to post
Share on other sites
Fastest way to find first point of each primitive:

Add "primitive SOP"

Switch to Attribute tab

Add Alpha

Replace $CA with $PT

After doing this primitive`s alpha attribute will contain first point number.

thank you, Andrew)

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  

×