PLCControler.py
branchsearch_in_CTN
changeset 2523 aa7f138648f3
parent 2520 3a1c0c161f80
child 2529 efb532295607
--- a/PLCControler.py	Mon Mar 11 13:51:07 2019 +0100
+++ b/PLCControler.py	Fri Mar 15 14:11:49 2019 +0100
@@ -2749,7 +2749,10 @@
     # -------------------------------------------------------------------------------
 
     def SearchInProject(self, criteria):
-        return self.Project.Search(criteria)
+        project_matches =  self.Project.Search(criteria)
+        print(project_matches)
+        ctn_matches =  self.CTNSearch(criteria)
+        return project_matches + ctn_matches
 
     def SearchInPou(self, tagname, criteria, debug=False):
         pou = self.GetEditedElement(tagname, debug)