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 value1 = optCtrl.get(
"Name")
18 value2 = optCtrl.get(
"SymbolFiles.DefaultFile")
20 print(
"Setting new values for attributes 'Name' and 'SymbolFiles.DefaultFile'...")
21 inParams = ic.StrStrMap()
22 inParams[
"Name"] =
"myName"
23 inParams[
"SymbolFiles.DefaultFile"] =
"42"
24 optCtrl.set_multi(inParams)
26 print(
"Restoring original values...")
27 optCtrl.set(
"Name", value1)
28 optCtrl.set(
"SymbolFiles.DefaultFile", value2)
31if __name__ ==
"__main__":