Example #1
0
        public GaugeSetter(SldWorks sw, PathSet ps)
        {
            swApp    = sw;
            APathSet = ps;
            string fileName = APathSet.GaugePath;

            if (APathSet.GaugeRegex == string.Empty || APathSet.GaugeRegex == null)
            {
                gaugeRegex = new Regex(@"^[0-9]{1,2}\ ?GA\.?");
            }
            else
            {
                gaugeRegex = new Regex(APathSet.GaugeRegex);
            }

            _setupSW();
            _loadXMLFile(Properties.Settings.Default.GaugePath);
        }
Example #2
0
 public ArchivePDFWrapper(SldWorks sw, PathSet ps)
 {
     swApp    = sw;
     APathSet = ps;
 }