I made a Pcell by Graphical Interface then out putting it to SKILL. This cell has several defined conditions.
When the cell is placed into layout and I bring up the 'edit properties form' I would like to unselect two of the defined conditions and it automatically unselects a third. For example: if I unselect (turn off) metal5 and metal6 it will turn off via5 automatically.
Not sure how to do this in the Pcell Skill code.
You can't do this in Pcell code, since a Pcell cannot affect the instance parameters. Pcell parameters control evaluation of the Pcell (it gets evaluated once per unique set of parameter values, so two instances with the same parameters share the same Pcell subMaster).
Instead you could define CDF for the cell and have CDF callbacks associated with the metal5 and metal6 parameters which would take care of turning off the via parameter if both were unset.
In reply to Andrew Beckett:
I'll try it with CDF's then. Thanks Andrew.