You don't have to loop through the properties to find or set that property.
In the part where you are doing your cells loop, you need get the property there:
foreach (CellEditorAddinLib.Cell c in cells)
MessageBox.Show(c.Name + " = " + c.verified);
To set it, you would either do:
c.Verified = CellEditorAddinLib.ECellDBStatus.ecelldbStatusUnverified c.Verified = CellEditorAddinLib.ECellDBStatus.ecelldbStatusVerified
c.Verified = 1 c.Verified = 0
yep, not surprising, I was assuming things were more difficult than they actually were once again. Thanks!
I tried this in Pads Pro vx2.2
For each Partition in cellDB.Partitions
if Partition.Name = "smt_geom" then
For each Cell in Partition.Cells
if Cell.Name = "pci_express_x16_ab" then
MsgBox "Before " & Cell.Name & " " & Cell.Verified
If Cell.Verified = 1 then
Cell.Verified = 0
Cell.Verified = 1
MsgBox "After " & Cell.Name & " " & Cell.Verified
it suppose to flip the value at each run.
Before and after shows the value is flipped, if I rerun again it will be the same as if the Cell.Verified value is not save at exit.
Is it because this .Verified is readonly in pads Pro ?