6 Replies Latest reply on Sep 3, 2014 9:49 AM by peter.kurlak

    DxDesigner: How do I select nets by UID?

    peter.kurlak

      I'm trying to select a net by UID, and I'm using the following (Python) code:

       

      dxdApp = com.GetActiveObject('ViewDraw.Application')
      schName = dxdApp.GetProjectData().GetiCDBDesignRootBlock(dxdApp.GetActiveDesign())
      successful = dxdApp.SelectPath(schName, "$6N1304", "", 1, False, False)
      print successful
      

       

      Unfortunately, `successful` is always False and my net does not get selected. Before I file an SR, am I missing something?

       

      Note: this code works fine for components:

       

      successful = dxdApp.SelectPath(schName, "$6I654", "", 0, False, False)