Пример #1
0
        //deprecated
        public static void Export(MaxExportParameters exportParameters, bool logInListener)
        {
            Autodesk.Max.GlobalInterface.Instance.TheListener.EditStream.Printf("WARNING - This method is DEPRECATED use " + "\n" + "Export(MaxExportParameters exportParameters, BabylonLogger _logger)" + "\n");
            var logger = new MaxScriptLogger(logInListener);

            Export(exportParameters, logger);
        }
Пример #2
0
        //deprecated
        public static void Export(bool logInListener)
        {
            Autodesk.Max.GlobalInterface.Instance.TheListener.EditStream.Printf("WARNING - This method is DEPRECATED use " + "\n" + "Export(MaxExportParameters exportParameters, BabylonLogger _logger)" + "\n");
            string storedModelPath  = Loader.Core.RootNode.GetStringProperty(MaxExportParameters.ModelFilePathProperty, string.Empty);
            string userRelativePath = Tools.ResolveRelativePath(storedModelPath);
            var    logger           = new MaxScriptLogger(logInListener);

            Export(InitParameters(userRelativePath), logger);
        }