All the plugins currently iterate over all pcb objects when they need to get selected ones. It's tedious to also recurse into footprint sub objects.
This adds a
GetCurrentSelection() to the swig wrapper. It uses already existing pcbnew frame method and just converts it to a type that swig can map properly.
Also fixes a bug in GetShapeStr() for shapes.