Hi Faisal, I restructured your code formatting to make it readable (not sure if I included the comments in the right place or not - couldn't tell from the wrapped code). Anyway, it looks fine. I probably would have used dbGetAnyInstSwitchMaster rather than the ddGetObj and dbOpenCellView part, but that's a small change. It's similar to what I would have written (I did start trying to use some classes and methods together with my CCSschTree code, but it's not really designed to operate at the instance level - it's mostly about gathering the different types of cells that are found at each level, rather than visiting every instance). Regards, Andrew.
↧