ModelManagerMergeToVIZ Method |
Namespace: VIZCore3D.NET.Manager
public bool MergeToVIZ( List<string> input, string output, ModelManagerFileVersion ver = ModelManagerFileVersion.V303, bool showFileInExplorer = false )
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { OpenFileDialog dlgInput = new OpenFileDialog(); dlgInput.Multiselect = true; dlgInput.Filter = "VIZ (*.viz)|*.viz"; if (dlgInput.ShowDialog() != DialogResult.OK) return; string[] files = dlgInput.FileNames; string output = String.Empty; SaveFileDialog dlgOutput = new SaveFileDialog(); dlgOutput.Filter = "VIZ (*.viz)|*.viz"; if (dlgOutput.ShowDialog() != DialogResult.OK) return; output = dlgOutput.FileName; vizcore3d.Model.MergeToVIZ( files.ToList() , output , Manager.ModelManager.FileVersion.V303 , true ); }