Can you please help me find out:
Is it possible to get symbol view information in text format (like a coordinates list).
PS: To be more clear I would like to bring this example:
Using Design->Plot we can get *.ps file. Then convert it to pdf format and see symbol's graphical view.
Thanks in advance.
Why do you need this? (it might help provide a more focussed answer).
Otherwise you can write out EDIF (File->Export->EDIF) or you could use the dbWriteSkill() function. Alternatively it would be straightforward enough to traverse the database using SKILL and write out the graphical information in whatever form you want.
In reply to Andrew Beckett:
Thank you for quick response.
What we need is to get all shapes and pins in symbol view and print their types+coordinates into a text file.
Thanks and Regards,
In reply to AnnaS:
In reply to Quek:
Thanks a lot for the code.
Could you please help me to change the code in this way:
I am trying to get+print all attributes of all shapes and pin instead of bBox coordinates.
Have you tried Andrew's suggestions earlier? The dbWriteSkill command will dump all of the info you need, but you would probably need to parse the data using Perl or Python to get it in the format you want. It might be a good start for you to see what kind of data is in your cell.
dbWriteSkill(geGetEditCellView() "/tmp/dumpFile.il" "w" "4.4")
You could certainly write all of the attributes out to a file in whatever format you want using Skill code. However, none of us have the time to exhaustively list all of the attributes for all of the object types that you might be interested in.
For any object, you can see all of its attributes by doing this:
objId = car(selectedSet()) ; Select the item in your schematic first
objId~>? ;This will show you the attribute names
objId~>?? ;This will show you the attributes names and values
Now follow Quek's example and write out exactly those attributes you care about in the format you need.
I hope that helps.
In reply to dmay:
Thank you for your suggestion. I'll try.