First of all, the "X" at ssget filter will select absolutely all "POLYLINE" on the drawing, and i mean ALL , I take it most it not all blocks are slightly off and you want an easy way to do it. and next you will be needing to align the blocks, etc..
I would suggest to go back to where the original code was "found" and post you're request there.
EDIT: I see that this requst is related to this, why not continue that thread instead of craeting a new one Hosyn?