I want to write a skill code to edit properties of a selected layer in layout or abstarct view.
Suppose say,for an abstract view,
i will give layer list and pin name as an input arguments
$ skill.il ("M3" "drawing") vdde1
i had written the code to get layer list :
cv=dbOpenCellViewByType("IOLIB_65_M10_CUP_FC_4M1T" "IS1D_VPP_FC_ISO" "abstract" nil "a")
layer_name = list("M3" "drawing")
layerDb = setof(x cv~>shapes (x~>lpp == layer_name))
Now i got the selected layer.
Now i want to change the connectivity pin name and change property of this layer.
pin will be given as input argument too for the specified layer.
How can i wrote skill code and move further ?
Pls help me out to resolve this issue.
Thanks and regards
First of all, as Ted pointed out recently, it is more efficient to find the layer-purpose pair database object rather than iterating through all of the shapes in the cellview - this could be in the thousands whereas the number of lpps is unlikely to be more than a few hundred.
Please see recent SourceLink solution for an example on finding the appropriate LPP object:
Second, the documentation mentions argc and argv but these were unknown variables in my testing with the "skill" and "dbAccess" executables.
Do you need to be able to give this information on the command line?