View Single Post
# 1 10-07-2003 , 01:56 PM
Registered User
Join Date: May 2003
Location: Manchester, UK
Posts: 2

Starting MAYA from c#

Hi,

I'm trying to start MAYA 5.0 from a windows C# application. I can make it start ok (I used the System.Diagnostics.Process class) but what I really want to do is to make it run a MEL script on startup so I can pass in a scene to load and various other stuff.

I tried the 'Arguments' property to pass in the script name and / or scene filename but it doesn't seem to do anything, so I guess maybe MAYA doesn't fully support being called like this ?

Any ideas / alternative suggestions anyone ? Sorry if this is the stupidest question ever, I'm more of a programmer than an Animator.

Thanks in advance.


Last edited by dougt; 10-07-2003 at 03:03 PM.