Sub BoardDimension
Dim Board
Set Board = PCBServer.GetCurrentPCBBoard
If Board is Nothing Then Exit Sub
ShowMessage ( "X=" & CoordToMils(Board.BoardOutline.BoundingRectangle.right _
- Board.BoardOutline.BoundingRectangle.left) & " mils,Y=" & _
CoordToMils(Board.BoardOutline.BoundingRectangle.top _
- Board.BoardOutline.BoundingRectangle.bottom) & " mils")
End Sub
www.tdpcb.com