Retrieve a parent of a face - instance, not definition

hi,
when i retrieve a face via leaf_at
and read the parent of it,
i get the component definition.

how can i retrieve the exact instance (to get its name) ?

thanx
stan

You may consider to use the #path_at
Which returns an array of entities including the leaf. Then the last - 1 element in the array will be the parent of the leaf. That can be ComponentInstance or Group (or nothing if the array size is 1)

1 Like

hi dezmo!

perfect !
thanx for the tip. that works fine :slight_smile:
stan

2 Likes