Hi, I'm new with SKILL, I try to do some code and it works, but as I trying to go deeper I found some issues. I start to work with the database and as a exercise I want to extract all reference designators (or net names) from a board.
However, I was looking trough Allegro® User Guide: SKILL Reference but can not find nothing. I don't want from you to give me the code, I just need some advice in some methodology how to extract such things from database.
I found only this axlExtractMap (there is an example how to extract all net names) but if I understand it correctly it use already existing report files and I looking fore something without external files.\
Is there some way how to input formated text in this forum or attach some file, or i need to use external space?
However, I want to thank you both, with your help I was able to create this:
foreach( moAllNets axlDBGetDesign()->nets moTP = 0 printf( "\n %s - " moAllNets->name) foreach( moNetBranch moAllNets->branches foreach( moBranchType moNetBranch->children if( moBranchType->objType == "pin" then moIsTP = substring( moBranchType->component->name 1 2) if( moIsTP == "TP" then printf( "%s " moBranchType->component->name) moTP = 1 );end if );end if );foreach );end foreach if( moTP == 0 print("Missing Test Point") ));end for each
Now I can continue and finetune it, but this is the core which I need. If you have any ideas how to make it shorter I glad to hear you.