I created a pcell which is basically a layout artwork on different layers so 'M1' is an artwork on layer M1, similarly I have it for M2 ... M7 and the artwork on a certain layer turns on based on component parameters (Boolean type).
Now since this artwork is repeated many times in layout, I want to create another parameter (basically a Tag) which is based on all other parameters so that I can search a pcell with certain selection of parameters (say M1 and M2 only). I don't know how to do this, best option i can think of is a CDF parameter but then again can I write a if statement in Default value section (string type component parameter) to return a string. Something like if M1 and M2 are selected I should get a Tag like "M1_M2"
Please suggest how to do this.
You can use rodNameShape() or rodNameObject() to assign a ROD name to an object or shape, and then this can be queried either in the PCell, or on PCell instances, looking 'inside' the instance. You might find this link helpful. I'm not too clear on what you are trying to do but this is one way to 'tag' an object or shape.
In reply to skillUser:
In reply to Amit Singh:
In reply to Andrew Beckett:
The problem is, computing this new parameter won’t help you with existing instances. There are a couple of ways you could generate the property: