Inheritance diagram for I3DExRemoteCommand:

Public Member Functions | |
| virtual void MCCOMAPI | Init (ISceneDocument *sceneDocument, void *privateData)=0 |
| virtual boolean MCCOMAPI | Do ()=0 |
| virtual boolean MCCOMAPI | Undo ()=0 |
| virtual boolean MCCOMAPI | Redo ()=0 |
One reason to use it is that dlls containing scene commands are always loaded into memory when a document is opened. To avoid loading a big dll when you do not need it, you can implement the action performed by the scene command in another dll that will be loaded when the scene command instantiate the object actually implementing the action of the scene command.
|
|
Performs the action associated with the scene command the first time the scene command is called.
|
|
||||||||||||
|
Called when the scene command is activated. Use sceneDocument to get the selection or any other Scene data you would need to perform your action
|
|
|
Performs the action associated with the scene command when redo is called
|
|
|
Undo the action performed by Do or Redo.
|
1.3.9.1