tyFlow Forum
Material ID in order - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Material ID in order (/thread-2051.html)



Material ID in order - aaouviz - 11-14-2020

Hi, 

I'm playing with the sample file "tyFlow_cloth_CCCS_book_001".

I want to assign Material ID's to the pages (from 1-75, as 75 pages are generated in the flow). I want them to be ordered (not random). So, essentially the page number of the book = the Material ID.

How can I do this?

Thanks.


RE: Material ID in order - tyFlow - 11-15-2020

You can use a Custom Properties operator to save Birth ID to a channel of your choosing, and then use a second Custom Properties operator to assign that channel data to the Material ID property of your particles, or use a Script.


RE: Material ID in order - aaouviz - 11-17-2020

(11-15-2020, 12:53 AM)tyFlow Wrote: You can use a Custom Properties operator to save Birth ID to a channel of your choosing, and then use a second Custom Properties operator to assign that channel data to the Material ID property of your particles, or use a Script.

Worked perfectly. Thank you!