5 Replies Latest reply on Aug 17, 2012 1:43 AM by sq9djj

    How to extract constraint info with automation ?


      Hello Everybody,


      Getting a list of net classes from each net,   is  simple:

      ' ------------------------------------------------------------------------------- 

      Dim All_Nets

      Dim Net


         Set All_Nets = My_Board.Nets     ' ( my_Board is the document)


         For Each Net In All_Nets

                Print #1,  Net.Name   & "       " &  Net.netclass


      ' -------------------------------------------------------------------------------- 

      But I can not get all net names with  their constraints.


         The value:    ...Net.constraint      prints :    -1    for all nets.


      So, what is the easiest way to get a list of net names and their constraint names.


         Thanks to the experts,