AttributeItemBuilder Class

class NXOpen.Drafting.AttributeItemBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a NXOpen.Drafting.AttributeItemBuilder.

This class is used to specify information about a single NX attribute.

To create a new instance of this class, use NXOpen.Drafting.AutomationManager.CreateAttributeItemBuilder()

New in version NX8.0.0.

Properties

Property Description
Tag Returns the Tag for this object.
Title Returns or sets the title.
Value Returns or sets the value.

Methods

Method Description
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

Title

AttributeItemBuilder.Title

Returns or sets the title.

-------------------------------------

Getter Method

Signature Title

Returns:
Return type:str

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Title

Parameters:attributeTitle (str) –

New in version NX8.0.0.

License requirements: nx_drawing_auto (“NX Drawing Automation”)

Value

AttributeItemBuilder.Value

Returns or sets the value.

-------------------------------------

Getter Method

Signature Value

Returns:
Return type:str

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Value

Parameters:attributeValue (str) –

New in version NX8.0.0.

License requirements: nx_drawing_auto (“NX Drawing Automation”)

Method Detail

Validate

AttributeItemBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.