PDA

View Full Version : Plugin interfacing...


Celarien
10-19-2007, 07:22 PM
Hi... how can I access functions of a plugin?

Exactly what I need is to be able to directly call the OSGExp function to export an IVE. I know I can call MAX's Export function, but I want to enforce the user to export in IVE format, in this case, by directly calling OSGExp.

Thanks

scorpion007
10-20-2007, 02:19 AM
What's OSGExp and IVE?

Couldn't find it anywhere in the SDK docs.

AlpineMan
10-20-2007, 08:04 AM
Hi... how can I access functions of a plugin?

Exactly what I need is to be able to directly call the OSGExp function to export an IVE. I know I can call MAX's Export function, but I want to enforce the user to export in IVE format, in this case, by directly calling OSGExp.

Thanks

You had better start over, and explain excactly what you are trying to do, and exactly what your problem is.

Celarien
10-20-2007, 10:44 PM
Okay...

OSGExp is a plugin for exporting files to .IVE files, which is the OpenSceneGraph file. All I want to do is call OSGExp's exporter, so I can export a file in .IVE format. If I use MAX's function, it will allow the user to choose any file format. I want the user only to be able to export .IVE format.

RustyKnight
10-22-2007, 01:36 AM
Okay...

OSGExp is a plugin for exporting files to .IVE files, which is the OpenSceneGraph file. All I want to do is call OSGExp's exporter, so I can export a file in .IVE format. If I use MAX's function, it will allow the user to choose any file format. I want the user only to be able to export .IVE format.
I could be completly off track here, but wouldn't
exportFile "userFileName.ive" #noprompt using:OSGExpWork??

As I understand it, the exporter will use the specified class, as specified by the "using" parameter or if that is not present, use the exportor that best matches the file extension.

Now, obviously, you'll need to replace "userFileName" with your own file name and I suggest looking up "getSaveFileName" for more information about ways to do that.

Hoping that helps
Shane

CGTalk Moderation
10-22-2007, 01:36 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.