SpecifyBaffleBuilder Class

class NXOpen.Tooling.SpecifyBaffleBuilder

Bases: NXOpen.Builder

Represents a builder to be used to create specify baffle.

To create a new instance of this class, use NXOpen.Tooling.SpecifyBaffleCollection.CreateBuilder()

Default values.

Property Value
AttributeType BodyAsChannel
Layer 1

New in version NX8.0.0.

Properties

Property Description
AttributeType Returns or sets the type of attributes conversion type values.
ChannelColor Returns or sets the selected channel body color.
ChannelType Returns or sets the type to specify the Cooling fittings types: oil, air or water.
Channels Returns the channel or body to assign new attributes.
Layer Returns or sets the layer value for the selected channels.
Tag Returns the Tag for this object.

Methods

Method Description
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.
SetColorModified Sets the color value modified or not.
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.

Enumerations

SpecifyBaffleBuilderAttributeTypes Enumeration Types to specify how to assign attributes to the selected body.

Property Detail

AttributeType

SpecifyBaffleBuilder.AttributeType

Returns or sets the type of attributes conversion type values.

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

Getter Method

Signature AttributeType

Returns:
Return type:NXOpen.Tooling.SpecifyBaffleBuilderAttributeTypes

New in version NX8.0.0.

License requirements: ug_mold_design (“UG MOLD”)

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

Setter Method

Signature AttributeType

Parameters:attrType (NXOpen.Tooling.SpecifyBaffleBuilderAttributeTypes) –

New in version NX8.0.0.

License requirements: ug_mold_design (“UG MOLD”)

ChannelColor

SpecifyBaffleBuilder.ChannelColor

Returns or sets the selected channel body color.

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

Getter Method

Signature ChannelColor

Returns:
Return type:Id

New in version NX8.0.1.

License requirements: ug_mold_design (“UG MOLD”)

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

Setter Method

Signature ChannelColor

Parameters:channelColor (Id) –

New in version NX8.0.1.

License requirements: ug_mold_design (“UG MOLD”)

ChannelType

SpecifyBaffleBuilder.ChannelType

Returns or sets the type to specify the Cooling fittings types: oil, air or water.

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

Getter Method

Signature ChannelType

Returns:
Return type:str

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature ChannelType

Parameters:channelType (str) –

New in version NX10.0.0.

License requirements: ug_mold_design (“UG MOLD”)

Channels

SpecifyBaffleBuilder.Channels

Returns the channel or body to assign new attributes.

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

Getter Method

Signature Channels

Returns:
Return type:NXOpen.SelectBodyList

New in version NX8.0.0.

License requirements: ug_mold_design (“UG MOLD”)

Layer

SpecifyBaffleBuilder.Layer

Returns or sets the layer value for the selected channels.

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

Getter Method

Signature Layer

Returns:
Return type:int

New in version NX8.0.0.

License requirements: ug_mold_design (“UG MOLD”)

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

Setter Method

Signature Layer

Parameters:layer (int) –

New in version NX8.0.0.

License requirements: ug_mold_design (“UG MOLD”)

Method Detail

SetColorModified

SpecifyBaffleBuilder.SetColorModified

Sets the color value modified or not.

Signature SetColorModified(modified)

Parameters:modified (bool) –

New in version NX8.0.0.

License requirements: ug_mold_design (“UG MOLD”)

Validate

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