Jump to content

first point of the primitive


mic

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!

Link to comment
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)

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