PDA

View Full Version : Find the name of selected Character


chayanvinayak
05-14-2009, 04:33 PM
Hello ,

For Python scripting ,
There is a way to find list of all the charaters in the scene by using.

FBSystem().Scene.Characters

Is there any way to find out the name of selected character in the scene ?

Thanks
Chayan

Green-Man
05-14-2009, 06:31 PM
Hi! Try it ;)
from pyfbsdk import *

lSelectedChar = FBApplication().CurrentCharacter
print lSelectedChar.Name

del(lSelectedChar)

CGTalk Moderation
05-14-2009, 06:31 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.