Is there a simple way of getting the new component IDs after performing any poly-edit action on a mesh via MEL?
For example, after performing a "polyExtrudeFacet" on a specified mesh, how would you go about getting the component IDs of those new faces surrounding the extruded face?
Or if you perform a "polyChamferVtx" how could you efficiently get the new vertices that resulted from that command?
I understand that you could keep a duplicate of the original mesh and through a lengthy process of component comparison between the original and the modified, someone could determine (with some amount of risk) which components are the new ones and which are not.
But it really is too much trouble for a solution that is not all that efficient and can be prone to errors if the modifications are small enough to avoid detection if they were to be compared in terms of component positions, areas, angles etc.
I tried searching for a method but all the results I get are irrelevant to what I'm looking for so I decided to just directly ask you guys.
How would you go about doing that?
Thank you for your time.
Replies
Does the tweak node (or equivalent) contain that sort of information ?
The method mentioned does work for figuring out which components are the same or not by comparing: