06-16-2023, 03:13 PM
Hmm yea that's going to be tricky...even if I allowed users to control Alembic node names like that (which I don't due to Alembic having a lot of built-in issues related to node naming)...there's no direct way to track the name of an input object within the flow itself...so there's no direct way to pass that info through to an exporter.
Closest workaround would be to do it indirectly like this:
1) Have your objects named numerically, in order starting at zero (object_0, object_1, object_2....object_33, object_34, etc)
2) Add them to Birth Objects *in that same order* within the list.
3) Add a Custom Properties operator and assign birth ID to a custom float channel...that way particle X which corresponds to object_X will have a custom float value of X in the specified channel.
4) Using Export Particles, export to objects and use the MAXScript rollout to assign the custom property to the exported object's name (click the [?] button in the "Objects MAXScript" rollout to see how).
5) The objects created from particles in the scene should now all be named "object_0", "object_1", etc.
6) Use Max's own Alembic exporter to export those particle objects, hoping that it keeps their name the same.
Closest workaround would be to do it indirectly like this:
1) Have your objects named numerically, in order starting at zero (object_0, object_1, object_2....object_33, object_34, etc)
2) Add them to Birth Objects *in that same order* within the list.
3) Add a Custom Properties operator and assign birth ID to a custom float channel...that way particle X which corresponds to object_X will have a custom float value of X in the specified channel.
4) Using Export Particles, export to objects and use the MAXScript rollout to assign the custom property to the exported object's name (click the [?] button in the "Objects MAXScript" rollout to see how).
5) The objects created from particles in the scene should now all be named "object_0", "object_1", etc.
6) Use Max's own Alembic exporter to export those particle objects, hoping that it keeps their name the same.