ReverseShellElementNormalBuilder Class¶
-
class
NXOpen.CAE.ModelCheck.
ReverseShellElementNormalBuilder
¶ Bases:
NXOpen.Builder
,NXOpen.CAE.ModelCheck.ISelectionBuilder
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()
orNXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilder.ReverseNormals()
. The difference between these two methods isBuilder.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 |
---|---|
CheckScopeOption | Returns or sets the check scope setting |
DisplayType | Returns or sets the display type |
NegativeFaceColor | Returns or sets the negative face color |
PositiveFaceColor | Returns or sets the positive face color |
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. |
CreateInconsistentElementEdgeGroup | Creates inconsistent element edge group |
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. |
Enumerations¶
ReverseShellElementNormalBuilderDisplayTypeValue Enumeration | indicates how display type value is defined |
Property Detail¶
CheckScopeOption¶
-
ReverseShellElementNormalBuilder.
CheckScopeOption
¶ Returns or sets the check scope setting
-------------------------------------
Getter Method
Signature
CheckScopeOption
Returns: Return type: NXOpen.CAE.ModelCheck.CheckScope
New in version NX11.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
CheckScopeOption
Parameters: scope ( NXOpen.CAE.ModelCheck.CheckScope
) –New in version NX11.0.1.
License requirements: None.
DisplayType¶
-
ReverseShellElementNormalBuilder.
DisplayType
¶ Returns or sets the display type
-------------------------------------
Getter Method
Signature
DisplayType
Returns: Return type: NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilderDisplayTypeValue
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DisplayType
Parameters: displayType ( NXOpen.CAE.ModelCheck.ReverseShellElementNormalBuilderDisplayTypeValue
) –New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
NegativeFaceColor¶
-
ReverseShellElementNormalBuilder.
NegativeFaceColor
¶ Returns or sets the negative face color
-------------------------------------
Getter Method
Signature
NegativeFaceColor
Returns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NegativeFaceColor
Parameters: negativeFaceColor (int) – New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
PositiveFaceColor¶
-
ReverseShellElementNormalBuilder.
PositiveFaceColor
¶ Returns or sets the positive face color
-------------------------------------
Getter Method
Signature
PositiveFaceColor
Returns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PositiveFaceColor
Parameters: positiveFaceColor (int) – New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SelectionList¶
-
ReverseShellElementNormalBuilder.
SelectionList
¶ Returns the selected objects to be checked.
The objects must be
NXOpen.CAE.Mesh
orNXOpen.CAE.FEElement
-------------------------------------
Getter Method
Signature
SelectionList
Returns: Return type: NXOpen.SelectTaggedObjectList
New in version NX8.5.0.
License requirements: None.
Method Detail¶
CreateInconsistentElementEdgeGroup¶
-
ReverseShellElementNormalBuilder.
CreateInconsistentElementEdgeGroup
¶ Creates inconsistent element edge group
Signature
CreateInconsistentElementEdgeGroup()
Returns: Return type: NXOpen.CAE.CaeGroup
New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
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.