Plugin Maya

i want execute plugin "animImportExport.mll" in script editor. How must i do?

i do :

// ===== Initialization
namespace -add "animImportExport";
namespace -set "animImportExport";

// ===== Load Plug-in
loadPlugin "animImportExport";

menuItem -label "Open" -command "animImportExport";

global proc animImportExport()
{
?????????
?????????
?????????
}

Thank you;

Hi

Actuly we cant nderstand wht u mean ??

do you want to load plugin or ?? what can u make it clear plz

regds

o.S.k

loadPlugin "animImportExport"; // load it

Nowthen its aimporter/exporter so heres a few examples youd bettter work with the gui a bit a d see what it echoes.

file -typ "animExport" -es "path/out.anim"

would export and

file -import -type "animImport" -rdn -namespace "out" -options "targetTime=4;copies=1;option=replace;pictures=0;connect=0;" -pr "path/out.anim";

would do a import with certain options open the export/inport options dialog for more options!

I want to execute this plugin with mel script and interface for export animation attribute
I load the plugin but i don't know execute this.

you understand?

joojaa this erroe appears : // Error: line 204: Could not save file. //
what must i do?

QUOTE(xabi @ 03/21/06, 08:15 AM) [snapback]231818[/snapback]
I want to execute this plugin with mel script and interface for export animation attribute
I load the plugin but i don't know execute this.

you understand?

Hi I dont think so its a good answer anyway

if you choose anim export then take the option dailog u will get all

this info as a GUI then why we need one more GUI ???

regds

o.S.k

QUOTE(xabi @ 03/21/06, 06:19 PM) [snapback]231818[/snapback]
joojaa this erroe appears : // Error: line 204: Could not save file. //
what must i do?

you must have something selected! and offcourse "path/out.anim" must be changed to something REAL, tough it can also indicate you dont have acces to your disk.

Please do not asume plugin laoad happens inline in the cde so if same piece of code loads tha plug and sets it then there might be a timing conflict. I dont think there is but there might!

Thank you joojaa.
It's good.