diff --git a/MoveToLayer/move_to_layer.py b/MoveToLayer/move_to_layer.py index 953965f..f19b1b2 100644 --- a/MoveToLayer/move_to_layer.py +++ b/MoveToLayer/move_to_layer.py @@ -30,7 +30,7 @@ from pcbnew import * import base64 from wx.lib.embeddedimage import PyEmbeddedImage import os -___version___="1.2.5" +___version___="1.2.6" from . import Move2LayerDlg @@ -154,7 +154,8 @@ class move_to_draw_layer( pcbnew.ActionPlugin ): if modal_result == wx.ID_OK: LayerName = aParameters.m_comboBoxLayer.GetStringSelection() LayerIndex = aParameters.m_comboBoxLayer.FindString(LayerName) - # wx.LogMessage(LayerName+';'+str(LayerIndex)) + # LayerStdName = pcbnew.BOARD_GetStandardLayerName(LayerIndex) + # wx.LogMessage(LayerName+';'+str(LayerIndex)+';'+LayerStdName) MoveToLayer(board, LayerIndex) else: None # Cancel diff --git a/README.md b/README.md index 61d8a34..0fbdfd5 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ release "1.1.0" A script to Move Selected Drawing(s) to chosen new Layer (available only in GAL) How to use: - move to GAL - - select some draw objects + - select some DRAW objects - call the plugin - select the new layer - selected draw objects will be moved to new layer diff --git a/__init__.py b/__init__.py index 77f2ce7..01b0333 100644 --- a/__init__.py +++ b/__init__.py @@ -8,8 +8,6 @@ from . import FabricationPositions from . import MoveToLayer -from . import PcbToDxf - from . import Snap2Grid from . import checking3Dmodels