Hello,
Is there a way for the copied geometry's points to retain their point numbers as you add more copies? I'm trying to paint copies using copy SOP and I need the point numbers on the copied geo to always increase as I add more copies. In the example and images attached, I've painted a box copy onto the grid and the ptnum in the yellow circle is “7”, then when I paint another box onto the grid to the left of the first box, the ptnum in the circle changes to “15” to accommodate the newly added box. Is there a way to have the point numbers just always increase from the last highest value as they are added?
Thanks!
Caesar
Retain point numbers when copying
2478 4 0-
- caesar
- Member
- 143 posts
- Joined: March 2014
- Offline
-
- caesar
- Member
- 143 posts
- Joined: March 2014
- Offline
-
- caesar
- Member
- 143 posts
- Joined: March 2014
- Offline
-
- pezetko
- Member
- 392 posts
- Joined: Nov. 2008
- Offline
There is no information on the order of added points. Paint SOP doesn't have stroke history.
By painting attribute on existing points and grouping them by threshold you are creating copies based on the order of original points on the grid.
So order of points on the copies depends on the point number of the original grid.
Try to paint on the area of the grid with lower point number first, then on the opposite end and you will see that point number doesn't change in this case. Do it in reverse order and point numbers on the copies will jump.
So:
Look at Spray Paint SOP, it uses Stroke Cache so it remembers order of added points.
By painting attribute on existing points and grouping them by threshold you are creating copies based on the order of original points on the grid.
So order of points on the copies depends on the point number of the original grid.
Try to paint on the area of the grid with lower point number first, then on the opposite end and you will see that point number doesn't change in this case. Do it in reverse order and point numbers on the copies will jump.
So:
Look at Spray Paint SOP, it uses Stroke Cache so it remembers order of added points.
-
- caesar
- Member
- 143 posts
- Joined: March 2014
- Offline
-
- Quick Links