ProductionUnitCreatorBuilder Class

class NXOpen.LineDesigner.ProductionUnitCreatorBuilder

Bases: NXOpen.Builder

To create a new instance of this class, use NXOpen.LineDesigner.LineDesignerManager.CreateProductionUnitCreatorBuilder()

New in version NX10.0.0.

Properties

Property Description
ProductionUnitId Returns or sets the production unit id
ProductionUnitName Returns or sets the production unit name
ProductionUnitTypeString Returns or sets the type of a production unit
Tag Returns the Tag for this object.

Methods

Method Description
AssignId TODO: fill in a description for this
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetObject Returns the object currently being edited by this builder.
GetProductionUnitDescription Returns the production unit description @return
SetProductionUnitDescription Sets the production unit description
SetProductionUnitParent Sets the production unit parent
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

ProductionUnitId

ProductionUnitCreatorBuilder.ProductionUnitId

Returns or sets the production unit id

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

Getter Method

Signature ProductionUnitId()

Returns:
Return type:str

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

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

Setter Method

Signature ProductionUnitId(productionUnitId)

Parameters:productionUnitId (str) –

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

ProductionUnitName

ProductionUnitCreatorBuilder.ProductionUnitName

Returns or sets the production unit name

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

Getter Method

Signature ProductionUnitName()

Returns:
Return type:str

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

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

Setter Method

Signature ProductionUnitName(productionUnitName)

Parameters:productionUnitName (str) –

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

ProductionUnitTypeString

ProductionUnitCreatorBuilder.ProductionUnitTypeString

Returns or sets the type of a production unit

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

Getter Method

Signature ProductionUnitTypeString()

Returns:
Return type:str

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

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

Setter Method

Signature ProductionUnitTypeString(productionUnitType)

Parameters:productionUnitType (str) –

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

Method Detail

AssignId

ProductionUnitCreatorBuilder.AssignId

TODO: fill in a description for this

Signature AssignId()

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

GetProductionUnitDescription

ProductionUnitCreatorBuilder.GetProductionUnitDescription

Returns the production unit description

Signature GetProductionUnitDescription()

Returns:
Return type:list of str

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

SetProductionUnitDescription

ProductionUnitCreatorBuilder.SetProductionUnitDescription

Sets the production unit description

Signature SetProductionUnitDescription(productionUnitDescription)

Parameters:productionUnitDescription (list of str) –

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

SetProductionUnitParent

ProductionUnitCreatorBuilder.SetProductionUnitParent

Sets the production unit parent

Signature SetProductionUnitParent(parent)

Parameters:parent (NXOpen.Assemblies.Partition) –

New in version NX10.0.0.

License requirements: ld_line_designer (“FULL LINE DESIGNER”)

Validate

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