|
Hi there…
Learning MB’s Python Setup…
Can’t figure out to select something by name.
thxs
|
|
|
|
Here we go:
#Create a model from script
myModel = FBModelNull('myNull') myModel.Show = True
#Select an existing model myModel = FBFindModelByName('nameOfModel') myModel.Selected = True
There’s a bunch of example scripts shiped with MB:
C:\Program Files\Autodesk\MotionBuilder 2009\PythonScripting\Samples
C:\Program Files\Autodesk\MotionBuilder 2009\bin\config\Scripts
Cheers,
Chris
Choose a job you love, and you will never have to work a day in your life.
|
|
|