Floating_Inkpot
02-05-2009, 05:05 PM
Hi,
I use a specific exporter plugin and i need to batch lot of files with a maxscript.
Saddly there is no documentation and i have no access to the source code.
To begin i will show an example of what i need to do.
I will use the FBX Exporter plugin because it have a good documentation and i found the type of functions that i need for my specific exporter plugin...
To BatchExport a FBX, i will use :
exportFile DestOutput #noPrompt
This is ok but i need to configure the export options with maxscript.
There is a function for this :
To Export The Cameras for example i would write :
FBXImporterSetParam "Cameras" True
Now go back to my Specific Exporter, i didn't find anything to SetParameters...
I am pretty sure it would exist, but how can i find it ?
I tested the command help :
as for FBX for example when i type help "fbx" it returns me a listing of stuff with FBX in its name :
FbxExporter (const MAXClass): FBXEXP
FBXExporterSetParam (const Primitive): FBXExporterSetParam()
...
Here we can see the FbxExporter wich is the plugin export.
And a function that can Set Parameters to the FbxExport plugin.
I tryed this with my specific export plugin but didnt found anything other than :
MyPluginExporter (const MAXClass): MyPluginExporter
I tryed also to look at the listener with "MacroRecorder" enabled but it doesnt' show anything interesting...
Do you think there may exists something to write that could Configure the options in my Plugins ? or is that strictly impossible ?
Are Plugins completely Hermetic to max ? is'nt there something to tweak, or to "hack", to know what functions to find ? as the apropos or Help function give ? but in better ...
I find strange that i could not have access to things that i can do with my mouse in 3dsmax :s
Thanks ;)
I use a specific exporter plugin and i need to batch lot of files with a maxscript.
Saddly there is no documentation and i have no access to the source code.
To begin i will show an example of what i need to do.
I will use the FBX Exporter plugin because it have a good documentation and i found the type of functions that i need for my specific exporter plugin...
To BatchExport a FBX, i will use :
exportFile DestOutput #noPrompt
This is ok but i need to configure the export options with maxscript.
There is a function for this :
To Export The Cameras for example i would write :
FBXImporterSetParam "Cameras" True
Now go back to my Specific Exporter, i didn't find anything to SetParameters...
I am pretty sure it would exist, but how can i find it ?
I tested the command help :
as for FBX for example when i type help "fbx" it returns me a listing of stuff with FBX in its name :
FbxExporter (const MAXClass): FBXEXP
FBXExporterSetParam (const Primitive): FBXExporterSetParam()
...
Here we can see the FbxExporter wich is the plugin export.
And a function that can Set Parameters to the FbxExport plugin.
I tryed this with my specific export plugin but didnt found anything other than :
MyPluginExporter (const MAXClass): MyPluginExporter
I tryed also to look at the listener with "MacroRecorder" enabled but it doesnt' show anything interesting...
Do you think there may exists something to write that could Configure the options in my Plugins ? or is that strictly impossible ?
Are Plugins completely Hermetic to max ? is'nt there something to tweak, or to "hack", to know what functions to find ? as the apropos or Help function give ? but in better ...
I find strange that i could not have access to things that i can do with my mouse in 3dsmax :s
Thanks ;)
