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

Re: Automated Screenshot of xPCB Layout Layers

$
0
0

Ciao Patrick,

found also yesterday evening the xls-Worksheet you mentioned, but thanks again for the good support.

I modified the code in there to my needs. But still, quite tricky.

 

In the VBA-Excel Macro, Mentor uses an enumeration for setting the states, which I couldn find in the DOC's,

so I set it up on my own. Maybe it is a question which *.tlb I am referencing in my Project,

but is their some documentation on the values ?

 

 Public Enum ePCBGraphicsItemState        '# Copied from Excel Object Catalog        '# Could not be found in the Documentation        '# or in the Intelli Sense here        epcbGraphicsItemStateModifierIgnoreEnabled = &H8000000        epcbGraphicsItemStateModifierIgnoreOnOff = &H4000000        epcbGraphicsItemStateOffEnabled = &H0        epcbGraphicsItemStateOffNotEnabled = &H2        epcbGraphicsItemStateOnEnabled = &H1        epcbGraphicsItemStateOnNotEnabled = &H3    End Enum

 

Where is the difference between '...OnEnabled' and '...OnNotEnabled'

or '...OffEnabled' and '...OffNotEnabled' ?

 

I am still confused, I have my Views now, save them via

... .DisplayControl.SaveScheme(...

that I can recall them later, but I still fight with the layers.

 

I will go on investigating. So stay tuned.

 

Thanks


Viewing all articles
Browse latest Browse all 4541

Trending Articles



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