| Moray Plugin SDK Documentation |
|
This release of the Plugin SDK can be used by Moray V3.5 (Build 9065) and later. |
| Scene Interface | Files Interface | Menu Interface | Import Interface |
| Export Interface | Object Interface | Controller Interface | External Interface |
| Data Structures | C++ Support | Compiler Settings | |
| What's New |
|
Reference List of Functions | |
| By Function Group | Alphabetically |
|
ImportFile |
ImportFile |
|
ImportFile |
The function ImportFile is called when the user selects the Import menu item associated with this interface.
long WINAPI fnImportFile();Return Values
MRY_SUCCESS | should be returned if the import was successful. Moray currently ignores the return value. |
Remarks
The plugin is free to use any other interfaces to accomplish its import. Usually one would
expect the use of the Scene interface to create objects and maybe the Object interface
if a custom object needs to be supported.
Moray adds an entry to the Import popup of the Files menu with the text
specified in the achImportName field of the interface and calls this function
when that menu item is selected. Note that the menu items cannot be disabled or checked.