This scripts is binding OnSelectionChange event to popup warning dialog box when Board Outline is selected.
It can be used to protect unconscious modification of Board Outline.
To try, just drag & drop the script file into ExpeditionPCB design.
Note: Highlighted components can be forced to unhighlighted due to Expedition's own nature of highlighting components by selecting refdes text or placement outline.
' DISCLAIMER OF WARRANTY: Unless otherwise agreed in writing,
' Mentor Graphics software and associated files are provided "as is"
' and without warranty. Mentor Graphics has no obligation to support
' or otherwise maintain software. Mentor Graphics makes no warranties,
' express or implied with respect to software including any warranty
' of merchantability or fitness for a particular purpose.
' LIMITATION OF LIABILITY: Mentor Graphics is not liable for any property
' damage, personal injury, loss of profits, interruption of business, or for
' any other special, consequential or incidental damages, however caused,
' whether for breach of warranty, contract, tort (including negligence),
' strict liability or otherwise. In no event shall Mentor Graphics'
' liability exceed the amount paid for the product giving rise to the claim.