The problem statement is that I want to change my LSW on the fly to show me only the layers that are present in my layout and hide all the rest. It seems like the breakdown in steps is
determine a list of layers in the layout
set the valid layers in LSW to the list
re display the LSW
However, I cannot find the skill functions that would do these things. Please help!
I would suggest posting this question to the Skill or Custom IC design forums.
To get things started you can query the layout cellview to determine the layers in use as follows:
From the CIW enter the following skill commands:
cvId = geGetWindowCellView() ;;;<--- returns the DB ID of the current cellview.
lpps = cvId~>lpps ;;;<--- get a list of Layer-Purpose Pairs
lpps~>layerName ;;; <--- prints a list of layer names
lpps~>purpose ;;; <--- prints a list of layer purposes
You next have to determine how to use this information to manipulate the list of valid layers displayed in the LSW.
Let us know how it goes...this appears to be a useful feature.
If you are still interested: try layerUsedValid
In reply to EisUrmel:
I don't know what "layerUsedValid" is, but there's a solution on sourcelink.cadence.com for this - search for solution number 11163470. Also the new layer pallette due in IC614 will have this capability built in.
In reply to Andrew Beckett:
In reply to vishwa:
Huh? I responded with a relevant answer to this thread on the community RF Design forum, after an append yesterday.
You (Vishwa) are subscribed to this forum, and as a result got sent the email about my append automatically. I did not send anything directly to you.
So why do you think I sent it to the wrong person?