Quantcast
Channel: Mentor Graphics Communities: Message List
Viewing all articles
Browse latest Browse all 1329

Re: Unable to switch Interactive DRC off/on in ExpeditionPCB using automation

$
0
0

You can use transactionStart and transactionEnd (see expedition automation help for more info).

It should also make it faster when doing alot of actions and also groups the actions into one undo.

 

Vbscript code example:

 

if pcbAppObj.IsDBLocked = false then

   PcbDocObj.EditorControl.InteractiveDRC = true then
      pcbDocObj.TransactionStart(epcbDRCModeDRC or epcbDRCModifierShowHazardGraphics)
   else
      pcbDocObj.TransactionStart(epcbDRCModeNone)
    end if

   ....
    pcbDocObj.transactionend
end if


Viewing all articles
Browse latest Browse all 1329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>