Exemple #1
0
int SWrapClassDesc::BeginCreate(Interface *i)
	{	
	IObjCreate *iob = i->GetIObjCreate();
	theCreateSWrapObjectMode.Begin(iob,this);
	iob->PushCommandMode(&theCreateSWrapObjectMode);
	return TRUE;
	}
Exemple #2
0
int TapeHelpClassDesc::BeginCreate(Interface *i)
{
    SuspendSetKeyMode();
    IObjCreate *iob = i->GetIObjCreate();

    //iob->SetMouseProc( new TapeHelpCreationManager(iob,this), 1000000 );

    theTapeHelpCreateMode.Begin( iob, this );
    iob->PushCommandMode( &theTapeHelpCreateMode );

    return TRUE;
}
// This is the method of the class descriptor that actually begins the 
// creation process in the viewports.
int SunMasterClassDesc::BeginCreate(Interface *i)
{
	// Save the interface pointer passed in.  This is used to call 
	// methods provided by MAX itself.
	IObjCreate *iob = i->GetIObjCreate();

	SunMasterCreateMode::GetInstance()->Begin( iob, this, false );
	// Set the current command mode to the SunMasterCreateMode.
	iob->PushCommandMode( SunMasterCreateMode::GetInstance() );

	return TRUE;
}