Exemplo n.º 1
0
        private void btnAssembly_Click(object sender, EventArgs e)
        {
            CModelFlange Flange = new CModelFlange("200", "88.9", "20");

            Flange.SetFileSavePath("H:\\InvProjects", "Flange-001");
            Flange.ModelMake(ref InvApp);

            CModelPipe pipe = new CModelPipe("88.9", "6");

            pipe.SetFileSavePath("H:\\InvProjects", "Pipe-001");
            pipe.ModelMake(ref InvApp);

            CModelAssembly SpoolAssembly = new CModelAssembly();

            SpoolAssembly.SetFileSavePath("H:\\InvProjects", "SpoolAssembly-001");
        }
Exemplo n.º 2
0
        private void btnAssembly_Click(object sender, EventArgs e)
        {
            //CMFlange Flange = new CMFlange("200", "88.9", "20","160","22");
            //Flange.SetFileSavePath("F:\\Test", "Flange-001");
            //Flange.ModelMake(ref InvApp);

            CModelPipe pipe = new CModelPipe("88.9", "6");

            pipe.SetFileSavePath("F:\\Test", "Pipe-001");
            pipe.ModelMake(ref InvApp);
            IList <string>       names         = new List <string>();
            ICollection <string> PartFileNames = names;


            CModelAssembly SpoolAssembly = new CModelAssembly();

            SpoolAssembly.Build_AssemblyDocument(ref InvApp, "F:\\Test", "SpoolAssembly-001", PartFileNames);
        }