ADD node - group by attribute

   1342   2   0
User Avatar
Member
21 posts
Joined: 1月 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 - 2020年5月17日 23:55:34
User Avatar
Member
8554 posts
Joined: 7月 2007
Offline
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 - 2020年5月18日 00:06:49
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
21 posts
Joined: 1月 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 - 2020年5月18日 02:35:49
  • Quick Links