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® / Open Reality / Adding a enum property to a component
  RSS 2.0 ATOM  

Adding a enum property to a component
Rate this thread
 
30975
 
Permlink of this thread  
avatar
  • LW
  • Posted: 15 June 2009 08:20 AM
  • Total Posts: 1
  • Joined: 15 June 2009 03:08 PM

Anyone know how to add an enum property to a component and initialize it correctly?  I can add the property using:

FBPropertyppty newCubeModel->PropertyCreate( "Foo"kFBPT_enumANIMATIONNODE_TYPE_ENUMfalsetrue )

What now?  How do I initialize

mStrings[]

which are private?

There is an example in orconstraint_deformer, but it involves initializing a propert that is already part of a class, and not adding a property to a pre-existing component.

Any examples would be appreciated.

Lars



Replies: 0