Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Python / Properties for FBModelSkeleton
  RSS 2.0 ATOM  

Properties for FBModelSkeleton
Rate this thread
 
63883
 
Permlink of this thread  
avatar
  • CountZr0
  • Posted: 25 January 2012 09:55 AM
  • Location: San Diego
  • Total Posts: 56
  • Joined: 22 August 2006 09:06 AM

Where are the public attributes on an FBModelSkeleton which allow me to change Pivot Size, Show Rotation Axis, and Pivot Visibility?



-jason

Replies: 0
avatar
  • _stev_
  • Posted: 26 January 2012 08:04 AM

It looks like they don’t have public attrs, in which case you need to access them through the PropertyManager:

FBFindModelByName('Skeleton node')

pivSizeProp a.PropertyList.Find('Pivot Size')
pivSizeProp.Data 150.0
showRotAxProp 
a.PropertyList.Find('Show Rotation Axis')
showRotAxProp.Data True

Stev



Replies: 0
avatar
  • CountZr0
  • Posted: 26 January 2012 09:56 AM

Thank you sir.

Had forgotten about the good ‘ol PropertyList.Find. Been awhile. Trying to get ramped up.

Tanks,

-jason



-jason

Replies: 0