Maya API : nodeFromName
MStatus pluginCmd::nodeFromName(MString name, MObject & obj)
{
MSelectionList templist;
templist.add(name);
if(templist.length() > 0)
{
templist.getDependNode(0,obj);
return MS::kSuccess;
}
return MS::kFailure;
}
Processes in C#
Start new process in C#
Process mayaProcess = new Process();
mayaProcess.StartInfo.FileName = "wordpad.exe";
mayaProcess.StartInfo.Arguments = mayaScenePath;
mayaProcess.Start();
mayaProcess.WaitForExit();
Subscribe to:
Posts (Atom)