Exemple #1
0
 private bool CreateFlatPattern()
 {
     try
     {
         sheetMetalCompDef.Unfold();
         return(true);
     }
     catch (Exception e)
     {
         EventLogger.CreateLogEntry(e.Message + " " + e.StackTrace);
         return(false);
     }
 }
        // ! Creo lo sviluppo della lamiera
        public static bool sviluppoLamiera(PartDocument oDoc)
        {
            SheetMetalComponentDefinition oCompDef = (SheetMetalComponentDefinition)oDoc.ComponentDefinition;

            try
            {
                oCompDef.Unfold();

                return(true);
            }
            catch
            {
                return(false);
            }
        }