PartCollectionWorkComponentOption Enumeration

NXOpen.PartCollection.WorkComponentOption is an alias for NXOpen.PartCollectionWorkComponentOption

class NXOpen.PartCollectionWorkComponentOption

Bases: object

Controls the behavior when setting the work component. See SetWorkComponent()

Enum Members

Enum Member Enum Member Description
Visible If the given work component is not visible, chose another component that represents the same part. If no suitable visible component can be found, throw an exception. This option ensures that the new work component will always be visible.
Given Use the given work component, regardless of visibility.
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.