3 Replies Latest reply on Aug 7, 2014 7:53 AM by michael.weber

    HowTo Switch on by Script / VB-Code the Mirror View in the Expedition PCB / Display Control


      Hi out there,


      I am looking for a way, to switch on the Mirror-View via Script / VB.Net.

      I know how to set views, and so on, but can not find the right Property, Enum Value, to switch "MirrorView" to on.


      My code so far below:


      Dim av As MGCPCB.View

      av = pcbDoc.ActiveViewEx()


      Dim dc As MGCPCB.DisplayControl = av.DisplayControl


      '# Board Outline on

      dc.GeneralItems(MGCPCB.EPcbDCGeneralItemsType.epcbDCBoardOutline) = True

      dc.GeneralItems(MGCPCB.EPcbDCGeneralItemsType.epcbDCMountingHoles) = True


      '# Bottom Part Outlines On

      dc.PartItems(MGCPCB.EPcbDCPartItemsType.epcbDCAssemblyOutlines, MGCPCB.EPcbSide.epcbSideBottom) = True


      '# Now the Mirror View



      Thanks in advance for any help