ReverseShellElementNormalBuilder Class

class NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilder

Bases: NXOpen.Builder

Represents a NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilder used to reverse normals for specified shell elements.

You can reverse shell element normals by using either Builder.Commit or NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilder.ReverseNormals. The difference between these two methods is Builder.Commit reverses the normals and updates normal display, but it does not return the shell elements which were reversed successfully. NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilder.ReverseNormals reverses normals and returns the shell elements which were reversed successfully. Both of the methods are only available in fem context.

To create a new instance of this class, use NXOpen.CAE.ModelCheckManager.CreateReverseShellElementNormalBuilder

New in version NX8.5.0.

Properties

Property Description
SelectionList Returns the selected objects to be checked.
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.
DisplayNormals Display normals of NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilder.SelectionList
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.
ReverseNormals Reverses normals specified in NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilder.SelectionList and returns those elements whose normals were reversed successfully.
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

SelectionList

ReverseShellElementNormalBuilder.SelectionList

Returns the selected objects to be checked.

The objects must be NXOpen.CAE.Mesh or NXOpen.CAE.FEElement

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

Getter Method

Signature SelectionList()

Returns:
Return type:NXOpen.SelectTaggedObjectList

New in version NX8.5.0.

License requirements: None.

Method Detail

DisplayNormals

ReverseShellElementNormalBuilder.DisplayNormals

Display normals of NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilder.SelectionList

Signature DisplayNormals()

New in version NX8.5.0.

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

ReverseNormals

ReverseShellElementNormalBuilder.ReverseNormals

Reverses normals specified in NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilder.SelectionList and returns those elements whose normals were reversed successfully.

This method will only reverse the normals for shell elements in the current work fem part.

Signature ReverseNormals()

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”)

Validate

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