How many objects are currently selected on the PCB.
Sub CountSelObj
Dim Board
Set Board = PCBServer.GetCurrentPCBBoard
If Board is Nothing Then Exit Sub
ShowMessage (Board.SelectecObjectCount & " Items are selected.")
End Sub
www.tdpcb.com