Allow plotting of multiple board layers per plot in Python.
Since the always plot the edge cuts layer option was deprecate, the ability to plot multiple board layers was exposed through the PLOT_CONTROLLER object. Added the interactive plot information which was overlooked during version 7 development. Fixes https://gitlab.com/kicad/code/kicad/-/issues/13841
This commit is contained in:
@@ -489,7 +489,22 @@ bool PLOT_CONTROLLER::PlotLayer()
|
||||
|
||||
// Fully delegated to the parent
|
||||
PlotOneBoardLayer( m_board, m_plotter, ToLAYER_ID( GetLayer() ), GetPlotOptions() );
|
||||
PlotInteractiveLayer( m_board, m_plotter );
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool PLOT_CONTROLLER::PlotLayers( const LSEQ& aLayerSequence )
|
||||
{
|
||||
LOCALE_IO toggle;
|
||||
|
||||
// No plot open, nothing to do...
|
||||
if( !m_plotter )
|
||||
return false;
|
||||
|
||||
// Fully delegated to the parent
|
||||
PlotBoardLayers( m_board, m_plotter, aLayerSequence, GetPlotOptions() );
|
||||
PlotInteractiveLayer( m_board, m_plotter );
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user