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

    fuba

      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

      dc.GeneralItems(?????????)

       

      Thanks in advance for any help

       

      Stefan

       

      DisplayControl_MirrorView.png