DuplicateNodesCheckBuilder Class¶
-
class
NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilder¶ Bases:
NXOpen.Builder,NXOpen.CAE.ModelCheck.ISelectionBuilderRepresents a
NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilderto check for duplicate nodes within the candidate nodes.Duplicate nodes are nodes which distance between each other is less than specific tolerance value and at least one duplicate node can be merged away.
The general workflow is:
- Set the candidate nodes
- Set the check settings and display settings data
- Identify the duplicate nodes
- Set the preference option
- Merge duplicate nodes
You can merge duplicate nodes through
Builder.Commit()orNXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilder.MergeDuplicateNodes(). Commits the builder to merge duplicate nodes and update the mesh in graphic window.To create a new instance of this class, use
NXOpen.CAE.ModelCheckManager.CreateDuplicateNodesCheckBuilder()New in version NX8.5.0.
Properties¶
| Property | Description |
|---|---|
| CheckScopeOption | Returns or sets the check scope setting |
| DisplaySettingsData | Returns or sets the display settings for duplicate nodes |
| DuplicateNodeGroupsCount | Returns the duplicate nodes group count, each group contains nodes that are duplicates of each other and each group contains at least two duplicate nodes |
| IgnoreNodesConnectedToTinyEdges | Returns or sets a value indicating whether to ignore nodes connected to tiny edges |
| IgnoreNodesInSameMesh | Returns or sets a value indicating whether to ignore nodes in same mesh |
| ListingType | Returns or sets an option indicating what information to be listed |
| MergeOccurrenceNodes | Returns or sets a value indicating whether to merge occurrence nodes in afem context |
| Preference | Returns or sets the duplicate nodes merging preference |
| SelectPreferenceNodesList | Returns the preference nodes select list for keep selected and remove selected options |
| SelectionList | Returns the selected objects for checking. |
| Tag | Returns the Tag for this object. |
| Tolerance | Returns the tolerance used to determine if the nodes are duplicates of each other |
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. |
| GetDuplicateNodes | Returns the duplicate nodes of specified group index |
| GetObject | Returns the object currently being edited by this builder. |
| IdentifyDuplicateNodes | Calculates to find the duplicate nodes and display them in NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilderDisplaySettings_Struct. |
| MergeDuplicateNodes | Merges the duplicate nodes and clear all cached duplicate nodes in 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¶
| DuplicateNodesCheckBuilderListOption Enumeration | Represents the duplicate nodes merging preference |
| DuplicateNodesCheckBuilderMergePreference Enumeration | Represents the duplicate nodes merging preference |
Structs¶
| DuplicateNodesCheckBuilderDisplaySettings_Struct Struct | Represents the display settings data |
Property Detail¶
CheckScopeOption¶
-
DuplicateNodesCheckBuilder.CheckScopeOption¶ Returns or sets the check scope setting
-------------------------------------Getter Method
Signature
CheckScopeOptionReturns: Return type: NXOpen.CAE.ModelCheck.CheckScopeNew in version NX11.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
CheckScopeOptionParameters: scope ( NXOpen.CAE.ModelCheck.CheckScope) –New in version NX11.0.1.
License requirements: None.
DisplaySettingsData¶
-
DuplicateNodesCheckBuilder.DisplaySettingsData¶ Returns or sets the display settings for duplicate nodes
-------------------------------------Getter Method
Signature
DisplaySettingsDataReturns: Display settings data Return type: NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilderDisplaySettings_StructNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DisplaySettingsDataParameters: displaySettings ( NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilderDisplaySettings_Struct) – Display settings dataNew in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
DuplicateNodeGroupsCount¶
-
DuplicateNodesCheckBuilder.DuplicateNodeGroupsCount¶ Returns the duplicate nodes group count, each group contains nodes that are duplicates of each other and each group contains at least two duplicate nodes
-------------------------------------Getter Method
Signature
DuplicateNodeGroupsCountReturns: Duplicate node groups count Return type: int New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
IgnoreNodesConnectedToTinyEdges¶
-
DuplicateNodesCheckBuilder.IgnoreNodesConnectedToTinyEdges¶ Returns or sets a value indicating whether to ignore nodes connected to tiny edges
-------------------------------------Getter Method
Signature
IgnoreNodesConnectedToTinyEdgesReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IgnoreNodesConnectedToTinyEdgesParameters: ignoreTinyEdgeNodes (bool) – New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
IgnoreNodesInSameMesh¶
-
DuplicateNodesCheckBuilder.IgnoreNodesInSameMesh¶ Returns or sets a value indicating whether to ignore nodes in same mesh
-------------------------------------Getter Method
Signature
IgnoreNodesInSameMeshReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IgnoreNodesInSameMeshParameters: ignoreSameMeshNodes (bool) – New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
ListingType¶
-
DuplicateNodesCheckBuilder.ListingType¶ Returns or sets an option indicating what information to be listed
-------------------------------------Getter Method
Signature
ListingTypeReturns: Return type: NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilderListOptionNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ListingTypeParameters: listOption ( NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilderListOption) –New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
MergeOccurrenceNodes¶
-
DuplicateNodesCheckBuilder.MergeOccurrenceNodes¶ Returns or sets a value indicating whether to merge occurrence nodes in afem context
-------------------------------------Getter Method
Signature
MergeOccurrenceNodesReturns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MergeOccurrenceNodesParameters: mergeOccurrenceNodes (bool) – New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Preference¶
-
DuplicateNodesCheckBuilder.Preference¶ Returns or sets the duplicate nodes merging preference
-------------------------------------Getter Method
Signature
PreferenceReturns: Merge nodes preference Return type: NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilderMergePreferenceNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PreferenceParameters: mergePreference ( NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilderMergePreference) – Merge nodes preferenceNew in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
SelectPreferenceNodesList¶
-
DuplicateNodesCheckBuilder.SelectPreferenceNodesList¶ Returns the preference nodes select list for keep selected and remove selected options
-------------------------------------Getter Method
Signature
SelectPreferenceNodesListReturns: Preference nodes select list Return type: NXOpen.CAE.SelectFENodeListNew in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
SelectionList¶
-
DuplicateNodesCheckBuilder.SelectionList¶ Returns the selected objects for checking.
The objects must be
NXOpen.CAE.MeshorNXOpen.CAE.FENode-------------------------------------Getter Method
Signature
SelectionListReturns: Return type: NXOpen.SelectTaggedObjectListNew in version NX8.5.0.
License requirements: None.
Tolerance¶
-
DuplicateNodesCheckBuilder.Tolerance¶ Returns the tolerance used to determine if the nodes are duplicates of each other
-------------------------------------Getter Method
Signature
ToleranceReturns: Return type: NXOpen.ExpressionNew in version NX8.5.0.
License requirements: None.
Method Detail¶
GetDuplicateNodes¶
-
DuplicateNodesCheckBuilder.GetDuplicateNodes¶ Returns the duplicate nodes of specified group index
Signature
GetDuplicateNodes(groupIndex)Parameters: groupIndex (int) – Returns: Return type: list of NXOpen.CAE.FENodeNew in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
IdentifyDuplicateNodes¶
-
DuplicateNodesCheckBuilder.IdentifyDuplicateNodes¶ Calculates to find the duplicate nodes and display them in
NXOpen.CAE.ModelCheck.DuplicateElementsCheckBuilderDisplaySettings_Struct.The detected duplicate nodes are cached, to access the cached calculation result, you could use
NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilder.DuplicateNodeGroupsCount()andNXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilder.GetDuplicateNodes(). The previous cached data will be cleaned automatically when you start a new identification.Signature
IdentifyDuplicateNodes()New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
MergeDuplicateNodes¶
-
DuplicateNodesCheckBuilder.MergeDuplicateNodes¶ Merges the duplicate nodes and clear all cached duplicate nodes in this builder.
The method
Builder.Commit()will also do the same thing. Duplicate nodes can only be merged when the context part of this builder is aNXOpen.CAE.BaseFemPart.Signature
MergeDuplicateNodes()New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Validate¶
-
DuplicateNodesCheckBuilder.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.