0 Replies Latest reply on Jul 28, 2017 5:30 AM by michalstadnik

    Get selected component in macro




      Does anybody know how to get selected components through macro in PADS layout?


      The code below works but only as a script. In macro I get an error.

      Dim comps

      Set comps =  Application.ActiveDocument.GetObjects(ppcbObjectTypeComponent,,True)


      Only solution I found is to list each component and check if Componet.Selected property is true. But this method takes time....