ADD node - group by attribute

   1337   2   0
User Avatar
Member
21 posts
Joined: Jan. 2020
Offline
A very noob question on group by attribute…


Say I have two lines with 4 points, so each of them has ptnum from 0-3. Then I want to connect points according to their ptnum, I have to create an attribute id=@ptnum, and in the add node, select group by attribute and point to id.

My question is: why bother another another id attribute, simply group by ptnum seems not working properly…
Edited by Jimmy_Fan - May 17, 2020 23:55:34
User Avatar
Member
8507 posts
Joined: July 2007
Online
ptnum is not an attribute so you can't use group by attribute to group by ptnum
however, the default All Points already groups by ptnum so you shouldn't need to create id attribute at all if you just want that
Edited by tamte - May 18, 2020 00:06:49
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
21 posts
Joined: Jan. 2020
Offline
tamte
ptnum is not an attribute so you can't use group by attribute to group by ptnum
however, the default All Points already groups by ptnum so you shouldn't need to create id attribute at all if you just want that


I want to build relative connection between two lines, such as A1-B1,A2-B2,etc… seems like the default All Points connected all points but not relatively.

Skip every Nth points seems can do that but sometimes inner connections appeared…

One more question!

How do I know if things like ptnum is not an attribute? Is there a help file to refer? (Truely noob …

Thank you so much!
Edited by Jimmy_Fan - May 18, 2020 02:35:49
  • Quick Links