MotionBuilder Forum
Welcome to Autodesk’s MotionBuilder Forums. Share your knowledge, ask questions, and explore popular MotionBuilder topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding Property to FBCommand

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
203 Views, 0 Replies

Adding Property to FBCommand

I want to create a custom command. i tried to modify ORCommand_Template sample. I tried to add a property

my header


class ORCommand_Template : public FBCommand
{
//--- FiLMBOX box declaration.
FBCommandDeclare( ORCommand_Template, FBCommand );

public:
FBPropertyString Texte;


my source code

bool ORCommand_Template::FBCreate()
{
// Allocate any user memory here.
FBPropertyPublish(this, Texte, "Texte", NULL, NULL);
return true;
}


I read most of sample. I think i'm doing the right thing. But when i'm using my custom command my new property doesn't appear only clipcolor, start, end are present. where i'm wrong

regards,
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums