Get the name of an object by selected faces

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Display Modes
  05 May 2018
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 !
 
  06 June 2018
You mean just $.name or selection[1].name ?
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 01:58 AM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.