AttributePropertiesBaseBuilderObjectOptions Enumeration

NXOpen.AttributePropertiesBaseBuilder.ObjectOptions is an alias for NXOpen.AttributePropertiesBaseBuilderObjectOptions

class NXOpen.AttributePropertiesBaseBuilderObjectOptions

Bases: object

Specifies which object will be used when applying attributes. The options available are determined by the objects passed in. These options will not be used if the object passed in is a part.

Deprecated since version NX8.5.0: Use NXOpen.AttributePropertiesBaseBuilder.SetAttributeObjects() instead.

Enum Members

Enum Member Enum Member Description
Object Apply attribute to the object in the select object list
Feature Apply attribute to the feature in the select object list
Occurrence Apply attribute to the occurrence only
ComponentInstance Apply attribute to the instance of the component. All occurrences of the instance will inherit this attribute.
ReferenceSet Apply attribute to the reference set
ObjectInComponentPart Apply attribute to the object in the component part
ComponentAsPartAttribute Apply attribute to the component as a part attribute
Empty No objects are contained in the select object list
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.