AlignShellElementNormalBuilder Class

class NXOpen.CAE.ModelCheck.AlignShellElementNormalBuilder

Bases: NXOpen.Builder

Represents a NXOpen.CAE.ModelCheck.AlignShellElementNormalBuilder builder used to align the normals of connected shell elements with a seed shell element.

You can align the normals by executing either Builder.Commit() or NXOpen.CAE.ModelCheck.AlignShellElementNormalBuilder.AlignNormals(). The difference between these two methods is Builder.Commit() aligns the normals and updates normal display, but it does not return the elements that have changed normals. NXOpen.CAE.ModelCheck.AlignShellElementNormalBuilder.AlignNormals() aligns the normals and returns the elements that have changed normals. Both of the methods are only available in fem context.

To create a new instance of this class, use NXOpen.CAE.ModelCheckManager.CreateAlignShellElementNormalBuilder()

New in version NX8.5.0.

Properties

Property Description
ElementConnectScope Returns or sets the option to indicate how to define connected elements for checking
ReverseSeedNormal Returns or sets the option indicating whether to reverse element normals so that they are aligned with the seed element
SeedElement Returns or sets the seed element
Tag Returns the Tag for this object.
UserSpecifiedConnectElements Returns the user specified connected elements to be aligned with seed element

Methods

Method Description
AlignNormals Aligns the normals of elements connected to the seed element.
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
DisplayNormals Display element normals for connected elements, which are to be aligned with seed element normal
FindAllVisibleConnectedElements Finds all visible elements connected with the seed element
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.
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

AlignShellElementNormalBuilderConnectedElementScope Enumeration the options to define the connection scope to the seed element for model checking

Property Detail

ElementConnectScope

AlignShellElementNormalBuilder.ElementConnectScope

Returns or sets the option to indicate how to define connected elements for checking

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

Getter Method

Signature ElementConnectScope

Returns:
Return type:NXOpen.CAE.ModelCheck.AlignShellElementNormalBuilderConnectedElementScope

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature ElementConnectScope

Parameters:connectScope (NXOpen.CAE.ModelCheck.AlignShellElementNormalBuilderConnectedElementScope) –

New in version NX8.5.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

ReverseSeedNormal

AlignShellElementNormalBuilder.ReverseSeedNormal

Returns or sets the option indicating whether to reverse element normals so that they are aligned with the seed element

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

Getter Method

Signature ReverseSeedNormal

Returns:
Return type:bool

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature ReverseSeedNormal

Parameters:seedNormalToBeReversed (bool) –

New in version NX8.5.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

SeedElement

AlignShellElementNormalBuilder.SeedElement

Returns or sets the seed element

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

Getter Method

Signature SeedElement

Returns:
Return type:NXOpen.CAE.FEElement

New in version NX8.5.0.

License requirements: None.

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

Setter Method

Signature SeedElement

Parameters:seedElement (NXOpen.CAE.FEElement) –

New in version NX8.5.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

UserSpecifiedConnectElements

AlignShellElementNormalBuilder.UserSpecifiedConnectElements

Returns the user specified connected elements to be aligned with seed element

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

Getter Method

Signature UserSpecifiedConnectElements

Returns:
Return type:NXOpen.CAE.SelectElementsBuilder

New in version NX8.5.0.

License requirements: None.

Method Detail

AlignNormals

AlignShellElementNormalBuilder.AlignNormals

Aligns the normals of elements connected to the seed element.

Returns the elements that have had the normals successfully reversed. This method will only reverse the normals for shell elements in the current work fem part.

Signature AlignNormals()

Returns:
Return type:list of NXOpen.CAE.FEElement

New in version NX8.5.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

DisplayNormals

AlignShellElementNormalBuilder.DisplayNormals

Display element normals for connected elements, which are to be aligned with seed element normal

Signature DisplayNormals()

New in version NX8.5.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

FindAllVisibleConnectedElements

AlignShellElementNormalBuilder.FindAllVisibleConnectedElements

Finds all visible elements connected with the seed element

Signature FindAllVisibleConnectedElements()

Returns:
Return type:list of NXOpen.CAE.FEElement

New in version NX8.5.0.

License requirements: None.

Validate

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