MathIntegrationBuilder Class

class NXOpen.Features.MathIntegrationBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a NXOpen.Features.MathIntegration builder

To create a new instance of this class, use NXOpen.Features.FeatureCollection.CreateMathIntegrationBuilder()

Default values.

Property Value
Associative 0
AssociativityType None
EmbedWorksheet 0
ShowInformationWindow 0

New in version NX12.0.0.

Properties

Property Description
Associative Returns or sets the associativity of the expression in the feature to the Symbolica or Maple worksheet
AssociativityType Returns or sets the option to control associativity to the equation
EmbedWorksheet Returns or sets the option to embed worksheet in the feature
EmbeddedWorksheet Returns or sets the currently selected embedded worksheet index.
FileBrowser Returns or sets the file name returned by the Browser
Inputs Returns or sets the number of input expressions
Location Returns or sets the source location of the Symbolica or Maple worksheet.
NativeFileBrowser Returns or sets the native OS file name returned by the Browser.
ParentFeatureInternal Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal
PatchSolutionFlag Returns or sets the patch solution flag
PatchSurfaceFilename Returns or sets the patch surface filename
ShowInformationWindow Returns or sets the option to show the information window
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
CommitFeature Commits the feature parameters and creates the feature
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.
GetExpressions The array of expressions
GetFeature Returns the feature currently being edited by this builder.
GetMathNames The array of math names
GetObject Returns the object currently being edited by this builder.
HideInternalParentFeatureAfterEdit Re-suppress an internal parent feature (a slave feature) after it has been edited.
SetExpressions Set the expressions in the Math Interface Builder
SetMathNames Set the math names corresponding to expressions in the Math Interface Builder
SetParentFeatureInternal Set the parent features which would be internal or slaves to the feature being created or commited
ShowInternalParentFeatureForEdit Unsuppress an internal parent feature (a slave feature) so it can be edited.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UnsetParentFeatureInternal Set the internal parent feature of the feature being edited to external
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

MathIntegrationBuilderAssociativityTypes Enumeration the associativity
MathIntegrationBuilderLocationTypes Enumeration The option to specify where the Symbolica or Maple worksheet exists.

Property Detail

Associative

MathIntegrationBuilder.Associative

Returns or sets the associativity of the expression in the feature to the Symbolica or Maple worksheet

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

Getter Method

Signature Associative

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature Associative

Parameters:associative (bool) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

AssociativityType

MathIntegrationBuilder.AssociativityType

Returns or sets the option to control associativity to the equation

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

Getter Method

Signature AssociativityType

Returns:
Return type:NXOpen.Features.MathIntegrationBuilderAssociativityTypes

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature AssociativityType

Parameters:associativityType (NXOpen.Features.MathIntegrationBuilderAssociativityTypes) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

EmbedWorksheet

MathIntegrationBuilder.EmbedWorksheet

Returns or sets the option to embed worksheet in the feature

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

Getter Method

Signature EmbedWorksheet

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature EmbedWorksheet

Parameters:embedWorksheet (bool) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

EmbeddedWorksheet

MathIntegrationBuilder.EmbeddedWorksheet

Returns or sets the currently selected embedded worksheet index.

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

Getter Method

Signature EmbeddedWorksheet

Returns:
Return type:int

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature EmbeddedWorksheet

Parameters:embeddedWorksheet (int) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

FileBrowser

MathIntegrationBuilder.FileBrowser

Returns or sets the file name returned by the Browser

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

Getter Method

Signature FileBrowser

Returns:
Return type:str

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature FileBrowser

Parameters:filename (str) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Inputs

MathIntegrationBuilder.Inputs

Returns or sets the number of input expressions

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

Getter Method

Signature Inputs

Returns:
Return type:int

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature Inputs

Parameters:numInputExpressions (int) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Location

MathIntegrationBuilder.Location

Returns or sets the source location of the Symbolica or Maple worksheet.

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

Getter Method

Signature Location

Returns:
Return type:NXOpen.Features.MathIntegrationBuilderLocationTypes

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature Location

Parameters:location (NXOpen.Features.MathIntegrationBuilderLocationTypes) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

NativeFileBrowser

MathIntegrationBuilder.NativeFileBrowser

Returns or sets the native OS file name returned by the Browser.

Used when the session is Teamcenter, but the location is NXOpen.Features.MathIntegrationBuilderLocationTypes.OperatingSystem.

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

Getter Method

Signature NativeFileBrowser

Returns:
Return type:str

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature NativeFileBrowser

Parameters:filename (str) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

ShowInformationWindow

MathIntegrationBuilder.ShowInformationWindow

Returns or sets the option to show the information window

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

Getter Method

Signature ShowInformationWindow

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature ShowInformationWindow

Parameters:showInformationWindow (bool) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Method Detail

GetExpressions

MathIntegrationBuilder.GetExpressions

The array of expressions

Signature GetExpressions()

Returns:array of expressions
Return type:list of NXOpen.Expression

New in version NX12.0.0.

License requirements: None.

GetMathNames

MathIntegrationBuilder.GetMathNames

The array of math names

Signature GetMathNames()

Returns:array of names
Return type:list of str

New in version NX12.0.0.

License requirements: None.

SetExpressions

MathIntegrationBuilder.SetExpressions

Set the expressions in the Math Interface Builder

Signature SetExpressions(expressions)

Parameters:expressions (list of NXOpen.Expression) – array of expressions

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

SetMathNames

MathIntegrationBuilder.SetMathNames

Set the math names corresponding to expressions in the Math Interface Builder

Signature SetMathNames(names)

Parameters:names (list of str) – array of names

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Validate

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