/// <summary>
        /// For easy modification inside foreach
        /// </summary>
        /// <param name="units">Target units</param>
        public void SetCoordinateUnits(PcbUnits units)
        {
            double mult = PcbDesign.GetUnitConversionMultiplier(CoordinateUnits) / PcbDesign.GetUnitConversionMultiplier(units);

            XY = XY.Select(x => new Point(x.X * mult, x.Y * mult)).ToList();
            CoordinateUnits = units;
        }
        public void SetUnits(PcbUnits units)
        {
            double mult = PcbDesign.GetUnitConversionMultiplier(Units) / PcbDesign.GetUnitConversionMultiplier(units);

            Thickness *= mult;
            Units      = units;
        }
        /// <summary>
        /// For easy modification inside foreach
        /// </summary>
        /// <param name="units">Target units</param>
        public void SetCoordinateUnits(PcbUnits units)
        {
            double mult = PcbDesign.GetUnitConversionMultiplier(CoordinateUnits) / PcbDesign.GetUnitConversionMultiplier(units);

            X *= mult;
            Y *= mult;
            CoordinateUnits = units;
        }
        public void SetCoordinateUnits(PcbUnits units)
        {
            double mult = PcbDesign.GetUnitConversionMultiplier(CoordinateUnits) / PcbDesign.GetUnitConversionMultiplier(units);

            Start           = new Point(Start.X * mult, Start.Y * mult);
            End             = new Point(End.X * mult, End.Y * mult);
            CoordinateUnits = units;
        }
        public void SetUnits(PcbUnits units)
        {
            double mult = PcbDesign.GetUnitConversionMultiplier(Units) / PcbDesign.GetUnitConversionMultiplier(units);

            Dimension1 *= mult;
            Dimension2 *= mult;
            Drill      *= mult;
            Units       = units;
        }