UpdateOption Enumeration

NXOpen.Update.Option is an alias for NXOpen.UpdateOption

class NXOpen.UpdateOption

Bases: object

Specifies whether a method should perform an update or not.

Methods that choose not to perform an update will need to call NXOpen.Update.DoUpdate() at a later time. Some methods in the Common API may perform an update. In an effort to improve performance, these methods take an option as input to not perform an update. For example, a method called in a loop may set the option to not update and then perform an explicit update after the loop completes. .. versionadded:: NX5.0.1

Enum Members

Enum Member Enum Member Description
Now
Perform an update immediately
Later
Do not perform an update
ValueOf()

Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

Signature ValueOf(value)

Parameters:value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
Return type:Enum Member type.

New in version NX9.0.1.

License requirements: None.