In 16.6 I had a bunch of custom views defined under scripts that I could jump through, bottom view, topview, inner1view, etc. The change to 17.2 broke all these scripts and it appears the menus have changed internally
"cvf layer_tree_item 'Stack-Up'cvf layers_visible stack-up stack-up/top TRUEcvf layers_visible stack-up stack-up/soldermask_top TRUEcvf layers_visible stack-up stack-up/pastemask_top TRUEcvf layers_visible stack-up stack-up/through_all TRUEcvf layers_visible stack-up stack-up/package_top TRUE"
"QtSignal CVDLayerContainer CVDVisibilityOff clickedQtSignal CVDLayerTable VertHeader clickedCheckBox 0QtSignal CVDLayerSplitter CVDLayerTable dataChanged Top PinQtSignal CVDLayerTable VertHeader clickedCheckBox 4QtSignal CVDLayerSplitter CVDLayerTable dataChanged Soldermask_Top PinQtSignal CVDLayerTable VertHeader clickedCheckBox 6QtSignal CVDLayerSplitter CVDLayerTable dataChanged Pastemask_Top PinQtSignal CVDLayerTable VertHeader clickedCheckBox 8QtSignal CVDLayerSplitter CVDLayerTable dataChanged Filmmasktop PinQtSignal CVDLayerTable VertHeader clickedCheckBox 10"
Besides not having an easily human repeatable format if I end up having extra layers added the checkbox number moves. For example, if one design has a MECH layer added to PkgGeo and another has MECH1 and MECH2, that means the scripts will not work the same. I ran into this on a design where for some reason the placebound bottom was erroneously showing in my topview in one design but not the other. Also one designer took my hotkeys and scripts and he didn't have any inner layers defined and when calling anything that modified etch the editor would crash immediately without a warning.
Is there a better way to view scripts that can transfer through designs?
I had same problem with scripts in 16.6. I can't understand how to fix it, maybe rework from the start all code? I need this to improve my https://hireessaywriter.org site..https://hireessaywriter.org
From a bunch more research I found a different way than replay scripts to switch through layer views. I create colorviews and recall them via hotkey. If anyone else stumbles upon this and doesn't know what this means as I didn't, here's an explanation:
Through your favorite view menu turn on and off all layers you want.
Type "colorview create" to save this view, I always do Replacement Complete and uncheck preserve zoom and flip, choose where to save and hit save
You can reload colorviews either by typing "colorview load" to bring up a dialog box to find the view, or from the dropdown on the visibility window
Here's an example of how to load via hotkey if you place this in your env file, be aware you might have to add the views folder in share->pcb->text->views to your paths in user prefs
funckey ~E 'settoggle viewvar topview bottomview bothview inner1view inner2view; colorview load $viewvar; echo view = $viewvar'
There's an app note that describes Color View Files that may also help http://orcad.co.uk/images/PDF/colorview.pdf