SetRegistryInt

Sets registry key to an integer value.

UI Access N/A
Parameters
Name Type Description
<KeyName> String Full name of registry key, including path.
<int> Integer Integer value to be assigned to registry key.
Return Value

Success if the key is defined as an integer. Bad argument value if a key is not defined, or if the value is a text string.

 

Python Syntax SetRegistryInt(<KeyName>, <int>)
Python Example

oDesktop.SetRegistryInt('Desktop/Settings/ProjectOptions/HFSS/UpdateReportsDynamicallyOnEdits', 0)