import isystem.connect as ic
winidea_id = ''
def test_opt():
connMgr = ic.ConnectionMgr()
connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
optCtrl = ic.COptionController(connMgr, "/IDE/System.Debug.Applications[0]")
print("Getting option controller for 'Name' item...")
newOptCtrl = optCtrl.opt("Name")
print(f"\tNew controller URL: {newOptCtrl.URL()}")
if __name__ == "__main__":
test_opt()