I am trying to write some DRC script for vias(drills) in different dielectric layers. However, I am not able to place the DRC makers on the dielectric layers where the targeted via drills locate. I only know how to place them in conductor layers or just by default, through all layers. but that's not what I wanted at all. Is there anyway to accomplish this?
May the force be with y'all,
There are two ways of specifying the layer for a marker: either giving the top layer separation of the layer as a number, or giving the layer name as a string. The first method is not possible for named dielectric layers, because top layer separation only applies to conducting layers, the second method would however be possible; you can give the layer name as a string in the violation statement. If you have many such layers, this could turn out to be slightly inconvenient, since you would need one violation statement per layer. There is a planned enhancement to allow specifying the layer in the form of a stack_layer object. This would make it possible to place markers on parameterized named dielectric layers by combining the violating objects with stack layers and selecting for same layer. Please let me know if the method of specifying the layer name as a string is sufficient to solve your problem, or if you would profit from the planned enhancement I described.Regards,
Hi Björn ,
Thanks for your response! I am not what string to put in as dielectric layer name. Could you give me an example?
May the force be with you,
in order to be able to draw on a dielectric layer, it has to be named. If you open the Cross Section Editor, you should see a name for each such dielectric layer, just like the conducting layers have names. That is the name that you would give as a string.
I got it work thanks man!