BillOfMaterialBuilder Class

class NXOpen.Annotations.BillOfMaterialBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Builder for Bill of Material functionality used in Routing.

This class queries and sets settings specific to Routing Bill of Material.

New in version NX9.0.0.

Properties

Property Description
DetailLevel Returns or sets the value that specifies the detail level type.
FabricationNumbering Returns or sets the value that specifies the fabrication numbering.
IncludeComponents Returns or sets the value that specifies whether include components.
IncludeGaskNutBolts Returns or sets the value that specifies whether include gask, nut and bolts.
IncludeOverStock Returns or sets the value that specifies whether include overstock.
IncludeStock Returns or sets the value that specifies whether to include stock.
IncludeWireStock Returns or sets the value that specifies whether include wire stock.
StockLength Returns or sets the value that specifies the stock length type.
StockPieceCount Returns or sets the value that specifies whether include report cout of stock pieces.
Tag Returns the Tag for this object.

Methods

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

Enumerations

BillOfMaterialBuilderDetailLevelType Enumeration The options specify the detail level type.
BillOfMaterialBuilderFabricationNumberingType Enumeration The options specify the fabrication numbering type.
BillOfMaterialBuilderStockLengthType Enumeration The options specify the stock length type.

Property Detail

DetailLevel

BillOfMaterialBuilder.DetailLevel

Returns or sets the value that specifies the detail level type.

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

Getter Method

Signature DetailLevel

Returns:
Return type:NXOpen.Annotations.BillOfMaterialBuilderDetailLevelType

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature DetailLevel

Parameters:detailLevel (NXOpen.Annotations.BillOfMaterialBuilderDetailLevelType) –

New in version NX9.0.0.

License requirements: routing_base (“Routing Basic”)

FabricationNumbering

BillOfMaterialBuilder.FabricationNumbering

Returns or sets the value that specifies the fabrication numbering.

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

Getter Method

Signature FabricationNumbering

Returns:
Return type:NXOpen.Annotations.BillOfMaterialBuilderFabricationNumberingType

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature FabricationNumbering

Parameters:fabricationNumbering (NXOpen.Annotations.BillOfMaterialBuilderFabricationNumberingType) –

New in version NX9.0.0.

License requirements: routing_base (“Routing Basic”)

IncludeComponents

BillOfMaterialBuilder.IncludeComponents

Returns or sets the value that specifies whether include components.

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

Getter Method

Signature IncludeComponents

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature IncludeComponents

Parameters:includeComponents (bool) –

New in version NX9.0.0.

License requirements: routing_base (“Routing Basic”)

IncludeGaskNutBolts

BillOfMaterialBuilder.IncludeGaskNutBolts

Returns or sets the value that specifies whether include gask, nut and bolts.

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

Getter Method

Signature IncludeGaskNutBolts

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature IncludeGaskNutBolts

Parameters:includeGaskNutBolts (bool) –

New in version NX9.0.0.

License requirements: routing_base (“Routing Basic”)

IncludeOverStock

BillOfMaterialBuilder.IncludeOverStock

Returns or sets the value that specifies whether include overstock.

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

Getter Method

Signature IncludeOverStock

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature IncludeOverStock

Parameters:includeOverStock (bool) –

New in version NX9.0.0.

License requirements: routing_base (“Routing Basic”)

IncludeStock

BillOfMaterialBuilder.IncludeStock

Returns or sets the value that specifies whether to include stock.

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

Getter Method

Signature IncludeStock

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature IncludeStock

Parameters:includeStock (bool) –

New in version NX9.0.0.

License requirements: routing_base (“Routing Basic”)

IncludeWireStock

BillOfMaterialBuilder.IncludeWireStock

Returns or sets the value that specifies whether include wire stock.

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

Getter Method

Signature IncludeWireStock

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature IncludeWireStock

Parameters:includeWireStock (bool) –

New in version NX9.0.0.

License requirements: routing_base (“Routing Basic”)

StockLength

BillOfMaterialBuilder.StockLength

Returns or sets the value that specifies the stock length type.

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

Getter Method

Signature StockLength

Returns:
Return type:NXOpen.Annotations.BillOfMaterialBuilderStockLengthType

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature StockLength

Parameters:stockLength (NXOpen.Annotations.BillOfMaterialBuilderStockLengthType) –

New in version NX9.0.0.

License requirements: routing_base (“Routing Basic”)

StockPieceCount

BillOfMaterialBuilder.StockPieceCount

Returns or sets the value that specifies whether include report cout of stock pieces.

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

Getter Method

Signature StockPieceCount

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature StockPieceCount

Parameters:stockPieceCount (bool) –

New in version NX9.0.0.

License requirements: routing_base (“Routing Basic”)

Method Detail

Validate

BillOfMaterialBuilder.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.