Notifications
Clear all

[Closed] Get the name of an object by selected faces

Hello there, I am a newbie and would like to ask how can I get the name of an object by selecting faces.

Here is example when I get index.

CurrentFace = $.selectedFaces
FaceIndex = CurrentFace[1].index

#faces(3 : $Editable_Poly:Box001 @ [0.000000,0.000000,0.000000])
3

And I get “3”. Now I need to get the name “Box001”. How can I do that.

Thank you for your time !

1 Reply

You mean just $.name or selection[1].name ?