SessionLibraryUnloadOption Enumeration¶
NXOpen.Session.LibraryUnloadOption is an alias for NXOpen.SessionLibraryUnloadOption
-
class
NXOpen.
SessionLibraryUnloadOption
¶ Bases:
object
Describes when an automation library should be unloaded from a running session. To use the enum, implement a static function called GetUnloadOption in your automation program which returns one of these options as an integer. (Note that this function must also have a string argument that is currently not used for anything.) NX will call this method once the automation program has exited to determine when to unload the library.
Enum Members
-
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.
-