@nickchen11 wrote:
Hello there,
I wonder what is the best way to catch specific component derived from a exploded cluster in C#? I noticed that .ExplodeCluster method doesnt have a return type. Therefore, I tried to get a list of GUID from the cluster which hasnt been exploded first in order to catch a specific component. However, this approach doesnt seem to work as component GUIDs will be regenerated after a cluster is exploded. (not sure if this is the right way to do.)
Another approach I can think of but Im not quite sure how to do it at the moment is checking the latest components added to the gh document and select the one I need within the list. However, with this approach, I’m not sure how GH defines the latest components added to the document as once a cluster is exploded, there will be many added at the same time.
Does anyone know a solution? Thanks in advance.
Posts: 9
Participants: 3