Count.lsp will work for a single set of either Vertical or Horizontal items.
Whatever is included in the 'Crossing' of the 2 points you pick will be copied in the
Horizontal direction. It adjusts the target points, based on original X,Y of each point chosen.
So, if the original info is oriented Horizontal - you get a copy that's Horizontal, and if the
original info is oriented Vertical - you get a copy that's Vertical.
You can include any 'lines' or points, circles, whatever is in the Crossing Window picks.
The program just makes a copy to the right, explodes items if they are 'Inserts,' (Blocks) leaves the
rest as it is. Exploding those Blocks, surfaces the embedded MTEXT's so they can be examined.
Then, the program changes the Properties of those items to be on Layer Temp. Next, it gathers
only the MTEXT items on Layer Temp, gets their text value, looks for a "(", and gets the numbers inside
the ( ), makes a sum of the (atoi value), string to integer. Once done with that, just removes the
items from the Temp layer, and zooms previous so you can pick the MTEXT item to update.
So, bottom line, should work for either Vert or Horiz.
ECCAD