I'm going work on a skill code to read the grid settings of a design.
I have attached the snap shot. Please advice on how to get the grids value.
I'd like to know how to do this too. Did you ever find a way?
You might want to post this question to the PCB SKILL forum instead of the PCB Design forum, as it's a SKILL question.
You can try using the undocumented 16.3 command axlDBGridGet. It will give you grid information for etch subclasses.
e.g. axlDBGridGet("TOP") => (nil name "TOP" objType "grids" readOnly nil xOrigin 0.0 yOrigin 0.0 xMajor 1.0 yMajor 1.0 xGrids (1.0) yGrids (1.0))
If you still need it, I have some code that will get all the grid form information but it's a real kludge.
Yes please. Can you send the code over.What i have done is instead of checking, i have permenantly set the grids in my code to be 0.001
axlShell("FORM grid non_etch non_etch_x_grids 0.001")
axlShell("FORM grid non_etch non_etch_y_grids 0.001")
axlShell("FORM grid all_etch all_etch_x_grids 0.001")
axlShell("FORM grid all_etch all_etch_y_grids 0.001")
axlShell("FORM grid done")
I was unable to check the grids. What i have done is set the grid permanently to 0.001.
See attached. I hope you can figure out how to use it without help.
This is a usage example:
layers = AFn_getGridSettings()\