NX Open C++ Reference Guide
Classes | Public Types | Public Member Functions | List of all members
NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder Class Reference

Represents a NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder to check for duplicate nodes within the candidate nodes. More...

Inheritance diagram for NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder:
NXOpen::Builder NXOpen::CAE::ModelCheck::ISelectionBuilder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Classes

struct  DisplaySettings
 Represents the display settings data. More...
 

Public Types

enum  ListOption { ListOptionAll, ListOptionMergeable, ListOptionUnmergeable }
 Represents the duplicate nodes merging preference. More...
 
enum  MergePreference {
  MergePreferenceNone, MergePreferenceKeepHighLabel, MergePreferenceKeepLowLabel, MergePreferenceKeepSelected,
  MergePreferenceRemoveSelected
}
 Represents the duplicate nodes merging preference. More...
 

Public Member Functions

virtual
NXOpen::CAE::ModelCheck::CheckScope 
CheckScopeOption ()
 Returns the check scope setting
Created in NX11.0.1. More...
 
NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::DisplaySettings DisplaySettingsData ()
 Returns the display settings for duplicate nodes
Created in NX8.5.0. More...
 
int 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
Created in NX8.5.0. More...
 
std::vector
< NXOpen::CAE::FENode * > 
GetDuplicateNodes (int groupIndex)
 Returns the duplicate nodes of specified group index. More...
 
void IdentifyDuplicateNodes ()
 Calculates to find the duplicate nodes and display them in NXOpen::CAE::ModelCheck::DuplicateElementsCheckBuilder::DisplaySettings . More...
 
bool IgnoreNodesConnectedToTinyEdges ()
 Returns a value indicating whether to ignore nodes connected to tiny edges
Created in NX8.5.0. More...
 
bool IgnoreNodesInSameMesh ()
 Returns a value indicating whether to ignore nodes in same mesh
Created in NX8.5.0. More...
 
NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::ListOption ListingType ()
 Returns an option indicating what information to be listed
Created in NX8.5.0. More...
 
void MergeDuplicateNodes ()
 Merges the duplicate nodes and clear all cached duplicate nodes in this builder. More...
 
bool MergeOccurrenceNodes ()
 Returns a value indicating whether to merge occurrence nodes in afem context
Created in NX8.5.0. More...
 
NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::MergePreference Preference ()
 Returns the duplicate nodes merging preference
Created in NX8.5.0. More...
 
NXOpen::SelectTaggedObjectListSelectionList ()
 Returns the selected objects for checking. More...
 
NXOpen::CAE::SelectFENodeListSelectPreferenceNodesList ()
 Returns the preference nodes select list for keep selected and remove selected options
Created in NX8.5.0. More...
 
virtual void SetCheckScopeOption (NXOpen::CAE::ModelCheck::CheckScope scope)
 Sets the check scope setting
Created in NX11.0.1. More...
 
void SetDisplaySettingsData (const NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::DisplaySettings &displaySettings)
 Sets the display settings for duplicate nodes
Created in NX8.5.0. More...
 
void SetIgnoreNodesConnectedToTinyEdges (bool ignoreTinyEdgeNodes)
 Sets a value indicating whether to ignore nodes connected to tiny edges
Created in NX8.5.0. More...
 
void SetIgnoreNodesInSameMesh (bool ignoreSameMeshNodes)
 Sets a value indicating whether to ignore nodes in same mesh
Created in NX8.5.0. More...
 
void SetListingType (NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::ListOption listOption)
 Sets an option indicating what information to be listed
Created in NX8.5.0. More...
 
void SetMergeOccurrenceNodes (bool mergeOccurrenceNodes)
 Sets a value indicating whether to merge occurrence nodes in afem context
Created in NX8.5.0. More...
 
void SetPreference (NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::MergePreference mergePreference)
 Sets the duplicate nodes merging preference
Created in NX8.5.0. More...
 
NXOpen::ExpressionTolerance ()
 Returns the tolerance used to determine if the nodes are duplicates of each other
Created in NX8.5.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder to 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:

  1. Set the candidate nodes
  2. Set the check settings and display settings data
  3. Identify the duplicate nodes
  4. Set the preference option
  5. Merge duplicate nodes

You can merge duplicate nodes through Builder::Commit or NXOpen::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

Created in NX8.5.0.

Member Enumeration Documentation

Represents the duplicate nodes merging preference.

Enumerator
ListOptionAll 

List all duplicate node pairs found.

ListOptionMergeable 

List the duplicate node pairs mergeable.

ListOptionUnmergeable 

List the duplicate node pairs unmergeable.

Represents the duplicate nodes merging preference.

Enumerator
MergePreferenceNone 

No preference.

MergePreferenceKeepHighLabel 

Keep the nodes with higher labels.

MergePreferenceKeepLowLabel 

Keep the nodes with lower labels.

MergePreferenceKeepSelected 

Keep the nodes specified in the node list NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SelectPreferenceNodesList.

MergePreferenceRemoveSelected 

Merge the nodes specified in the node list NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SelectPreferenceNodesList.

Member Function Documentation

virtual NXOpen::CAE::ModelCheck::CheckScope NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::CheckScopeOption ( )
virtual

Returns the check scope setting
Created in NX11.0.1.



License requirements : None

Implements NXOpen::CAE::ModelCheck::ISelectionBuilder.

NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::DisplaySettings NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::DisplaySettingsData ( )

Returns the display settings for duplicate nodes
Created in NX8.5.0.



License requirements : None

int NXOpen::CAE::ModelCheck::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
Created in NX8.5.0.



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

std::vector<NXOpen::CAE::FENode *> NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::GetDuplicateNodes ( int  groupIndex)

Returns the duplicate nodes of specified group index.

Returns

Created in NX8.5.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Parameters
groupIndexgroupindex
void NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::IdentifyDuplicateNodes ( )

Calculates to find the duplicate nodes and display them in NXOpen::CAE::ModelCheck::DuplicateElementsCheckBuilder::DisplaySettings .

The detected duplicate nodes are cached, to access the cached calculation result, you could use NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::DuplicateNodeGroupsCount and NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::GetDuplicateNodes . The previous cached data will be cleaned automatically when you start a new identification.
Created in NX8.5.0.

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

bool NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::IgnoreNodesConnectedToTinyEdges ( )

Returns a value indicating whether to ignore nodes connected to tiny edges
Created in NX8.5.0.



License requirements : None

bool NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::IgnoreNodesInSameMesh ( )

Returns a value indicating whether to ignore nodes in same mesh
Created in NX8.5.0.



License requirements : None

NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::ListOption NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::ListingType ( )

Returns an option indicating what information to be listed
Created in NX8.5.0.



License requirements : None

void NXOpen::CAE::ModelCheck::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 a NXOpen::CAE::BaseFemPart .
Created in NX8.5.0.

License requirements : nx_masterfem ("Finite Element Modeling")

bool NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::MergeOccurrenceNodes ( )

Returns a value indicating whether to merge occurrence nodes in afem context
Created in NX8.5.0.



License requirements : None

NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::MergePreference NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::Preference ( )

Returns the duplicate nodes merging preference
Created in NX8.5.0.



License requirements : None

NXOpen::SelectTaggedObjectList* NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SelectionList ( )

Returns the selected objects for checking.

The objects must be NXOpen::CAE::Mesh or NXOpen::CAE::FENode
Created in NX8.5.0.

License requirements : None

NXOpen::CAE::SelectFENodeList* NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SelectPreferenceNodesList ( )

Returns the preference nodes select list for keep selected and remove selected options
Created in NX8.5.0.



License requirements : nx_masterfem ("Finite Element Modeling")

virtual void NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SetCheckScopeOption ( NXOpen::CAE::ModelCheck::CheckScope  scope)
virtual

Sets the check scope setting
Created in NX11.0.1.



License requirements : None

Parameters
scopescope

Implements NXOpen::CAE::ModelCheck::ISelectionBuilder.

void NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SetDisplaySettingsData ( const NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::DisplaySettings displaySettings)

Sets the display settings for duplicate nodes
Created in NX8.5.0.



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

Parameters
displaySettingsDisplay settings data
void NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SetIgnoreNodesConnectedToTinyEdges ( bool  ignoreTinyEdgeNodes)

Sets a value indicating whether to ignore nodes connected to tiny edges
Created in NX8.5.0.



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

Parameters
ignoreTinyEdgeNodesignoretinyedgenodes
void NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SetIgnoreNodesInSameMesh ( bool  ignoreSameMeshNodes)

Sets a value indicating whether to ignore nodes in same mesh
Created in NX8.5.0.



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

Parameters
ignoreSameMeshNodesignoresamemeshnodes
void NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SetListingType ( NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::ListOption  listOption)

Sets an option indicating what information to be listed
Created in NX8.5.0.



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

Parameters
listOptionlistoption
void NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SetMergeOccurrenceNodes ( bool  mergeOccurrenceNodes)

Sets a value indicating whether to merge occurrence nodes in afem context
Created in NX8.5.0.



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

Parameters
mergeOccurrenceNodesmergeoccurrencenodes
void NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::SetPreference ( NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::MergePreference  mergePreference)

Sets the duplicate nodes merging preference
Created in NX8.5.0.



License requirements : nx_masterfem ("Finite Element Modeling")

Parameters
mergePreferenceMerge nodes preference
NXOpen::Expression* NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::Tolerance ( )

Returns the tolerance used to determine if the nodes are duplicates of each other
Created in NX8.5.0.



License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.