Show system and version info¶
Show system and version info¶
1# this example displays impact.system and version information
2
3ot = impact.gui.output_toolbox
4
5sys = impact.system
6ot.add("Product name: " + str(sys.product_name))
7ot.add("is impact: " + str((sys.product_id == ipProductType.ipImpact)))
8
9ver = sys.version
10ot.add("version number: " + str(ver.as_string))
11ot.add("version number: " + str(ver.number1) + "." + str(ver.number2))
12ot.add("version name: " + str(ver.name))
13
14