5import isystem.connect
as ic
12 connMgr = ic.ConnectionMgr()
13 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
15 optCtrl = ic.COptionController(connMgr,
"/IDE/System.Debug.Applications[0]")
17 value = optCtrl.get(
"Name")
18 print(f
"Current value of 'Name' attribute: {value}")
20 optCtrl.set(
"Name",
"myName")
21 print(f
"New value of 'Name' attribute: {optCtrl.get('Name')}")
23 print(
"Restoring original name value...")
24 optCtrl.set(
"Name", value)
27if __name__ ==
"__main__":