Say I have this code which opens a cell view and assigns the database id to test.test = dbOpenCellViewByType("library" "cellname" "view")Is there a way to get a list of all the available objects in this database?Right now, I loop through each object and print its name.
For debugging I would like to be able to print a tree of the heirachy of the database. Is this possible?Does the dbFindProp() function have something to do with this?
test = dbOpenCellViewByType("library" "cellname" "view")
Design->Hierarchy->Tree has already got all the info apart from top level shapes which can be accessed using:test~>shapesRaj
Sourcelink has some examples:http://sourcelink.cadence.com/docs/files/Application_Notes/2002prev/Framework_Application_Notes/Database_Traversal.html-Derek
Try the attached code. I think you'll find it useful...Regards,Andrew.
test~>? gives you all the attributestest~>?? gives all the attributes and their valuesBut remember that some of the values could be db ID's so a further foreach will be required.dataBrowser.il will give you a graphic represenation of database so you can drill down by just a click.
In reply to archive:
Can someone please upload dataBrowser.il again?
It seems to be missing from the forums.
In reply to wferguss: