AnsweredAssumed Answered

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

Question asked by fuba on Aug 6, 2014
Latest reply on Aug 7, 2014 by michael.weber

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

Outcomes