protected override void writePostCreateNodesBlock(MPxMayaAsciiFilterOutput fileIO) { for (int i = 0; i < sourcedFilesArray.length; i++) { fileIO.Write("eval (\"customSourceFile -fileName \\\""); fileIO.Write(sourcedFilesArray[i]); fileIO.Write("\\\";\");\n"); } return; }
protected override void writePostRequires(MPxMayaAsciiFilterOutput fileIO) { string data = string.Format("requires {0} \"1.0\";\n", fPluginName); fileIO.Write(data); return; }
protected override void writePostCreateNodesBlock(MPxMayaAsciiFilterOutput fileIO) { for (int i = 0; i < sourcedFilesArray.length; i++) { fileIO.Write("eval (\"customSourceFile -fileName \\\""); fileIO.Write(sourcedFilesArray[i]); fileIO.Write("\\\";\");\n"); } return; }
protected override void writePostRequires(MPxMayaAsciiFilterOutput fileIO) { string data = string.Format("requires {0} \"1.0\";\n", fPluginName); fileIO.Write(data); return; }