Using the script example in section 3.2.20 of the OrCAD Capture TCL/TK Extensions Application Notes I was able to pull the net names. To get the other information I need (user properties, port information, page location of port, etc.) I have tried using the DboFlatNetNetsIter and DboFlatNetWiresIter to get the DboNet and DboWire classes which I would then use to get the other information (I have been able to get all the information via iterating through schematic > pages > wires). However, when I call the NextWire or NextNet my script crashes OrCAD. The classes instances calling these methods are not null.
(continued from 3.2.20 after $lFlatNet GetName $lName)
set lFlatNetWiresIter [$lFlatNet NewWiresIter $lStatus]
# check lFlatNetWiresIter and lFlatNet for null
set lFlatNetWire [$lFlatNetWiresIter NextWire $lStatus]
Has anyone had success using the DboFlatNetWiresIter_NextWire or DboFlatNetNetsIter_NextWire?