← Back to team overview

kicad-developers team mailing list archive

Accessing PNS settings

 

Hi,

Excuse my unfamiliarity with the architecture of the PNS router - could someone
more familiar with it help me out and explain what the preferred way to
access settings, like PNS_ROUTING_SETTINGS::CanViolateDRC, from contexts
outside the routing tools is? I need a way to implement things like toolbar
buttons (currently I'm looking at merging duplicate functionality like
PNS_ROUTING_SETTINGS::CanViolateDrc and g_Drc_On), and I'm having trouble
seeing a good way to get the data between the routing context and the GUI
context.

-- 
Chris


Follow ups