コード例 #1
0
        static void TestStaticObject()
        {
            StaticObject sco = StaticObject.ReadSCB("aatrox_base_w_ground_ring.scb");

            sco.WriteSCO(@"C:\Users\Crauzer\Desktop\zzzz.sco");

            StaticObject x = StaticObject.ReadSCB(@"C:\Users\Crauzer\Desktop\zzzz.scb");
        }
コード例 #2
0
 public override void writer(MFileObject file, string optionsString, FileAccessMode mode)
 {
     if (mode == FileAccessMode.kExportActiveAccessMode)
     {
         StaticObject sco = StaticObject.Create();
         sco.WriteSCO(file.expandedFullName);
     }
     else
     {
         MGlobal.displayError("SCBExporter - Wrong File Access Mode: " + mode);
     }
 }