Exemplo n.º 1
0
        public static void BCLOBJFile(string arg)
        {
            BCLFile file = LOMNTool.BCLFile.ImportOBJ(arg);

            using (FileStream stream = new FileStream(arg.Substring(0, arg.Length - 8) + ".bcl", FileMode.Create, FileAccess.Write, FileShare.Read))
                using (BinaryWriter writer = new BinaryWriter(stream))
                {
                    file.Write(writer);
                }
        }