def run(arg): tform = idaapi.find_tform("Structure Builder") if tform: idaapi.switchto_tform(tform, True) else: Forms.StructureBuilder(Helper.temporary_structure).Show()