Voted Best Answer
Jan 28, 2021 - 12:37 AM
Hello BenHutchinsPSC ,
You can use below code to get all canvas objects in a project:
all_comp = project.list_definitions() for comp in all_comp: comp_def = project.get_definition(comp) if(comp_def.is_module()): #print(comp) canvas_name = project.user_canvas(comp)
Regards,
Mahesh
You can use below code to get all canvas objects in a project:
all_comp = project.list_definitions() for comp in all_comp: comp_def = project.get_definition(comp) if(comp_def.is_module()): #print(comp) canvas_name = project.user_canvas(comp)
Regards,
Mahesh
Add New Comment