Result IExternalCommand.Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
        {
            //initialize helper
            var rch = new RevitCommandHelper(commandData);
            var doc = rch.ActiveDoc;

            var assembly = new AssemblyMgrAssembly(rch);

            assembly.Create3DView();

            return(Result.Succeeded);
        }
        Result IExternalCommand.Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
        {
            //initialize helper
            var rch = new RevitCommandHelper(commandData);


            var assembly = new AssemblyMgrAssembly(rch);

            //var formData = new FormData(rch, assembly);
            assembly.FormData.SelectedTitleBlock = "FabPro_CutSheet_11x17";



            assembly.Create2DView(AssemblyDetailViewOrientation.ElevationTop);
            assembly.Create2DView(AssemblyDetailViewOrientation.ElevationFront);
            assembly.Create3DView();
            assembly.CreateBillOfMaterials();


            var sheet = new AssemblyMgrSheet(rch, assembly.FormData, assembly);

            return(Result.Succeeded);
        }