NX Open C++ Reference Guide
|
Represents a CAE::ModelCheck::DuplicateNodesCheckBuilder to check for duplicate nodes within the candidate nodes. More...
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 | |
NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::DisplaySettings | DisplaySettingsData () |
Returns the display settings for duplicate nodes Created in NX8.5.0. | |
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. | |
std::vector < NXOpen::CAE::FENode * > | GetDuplicateNodes (int groupIndex) |
Returns the duplicate nodes of specified group index. | |
void | IdentifyDuplicateNodes () |
Calculates to find the duplicate nodes and display them in CAE::ModelCheck::DuplicateElementsCheckBuilder::DisplaySettings . | |
bool | IgnoreNodesConnectedToTinyEdges () |
Returns a value indicating whether to ignore nodes connected to tiny edges Created in NX8.5.0. | |
bool | IgnoreNodesInSameMesh () |
Returns a value indicating whether to ignore nodes in same mesh Created in NX8.5.0. | |
NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::ListOption | ListingType () |
Returns an option indicating what information to be listed Created in NX8.5.0. | |
void | MergeDuplicateNodes () |
Merges the duplicate nodes and clear all cached duplicate nodes in this builder. | |
bool | MergeOccurrenceNodes () |
Returns a value indicating whether to merge occurrence nodes in afem context Created in NX8.5.0. | |
NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::MergePreference | Preference () |
Returns the duplicate nodes merging preference Created in NX8.5.0. | |
NXOpen::SelectTaggedObjectList * | SelectionList () |
Returns the selected objects for checking. | |
NXOpen::CAE::SelectFENodeList * | SelectPreferenceNodesList () |
Returns the preference nodes select list for keep selected and remove selected options Created in NX8.5.0. | |
void | SetDisplaySettingsData (const NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::DisplaySettings &displaySettings) |
Sets the display settings for duplicate nodes Created in NX8.5.0. | |
void | SetIgnoreNodesConnectedToTinyEdges (bool ignoreTinyEdgeNodes) |
Sets a value indicating whether to ignore nodes connected to tiny edges Created in NX8.5.0. | |
void | SetIgnoreNodesInSameMesh (bool ignoreSameMeshNodes) |
Sets a value indicating whether to ignore nodes in same mesh Created in NX8.5.0. | |
void | SetListingType (NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::ListOption listOption) |
Sets an option indicating what information to be listed Created in NX8.5.0. | |
void | SetMergeOccurrenceNodes (bool mergeOccurrenceNodes) |
Sets a value indicating whether to merge occurrence nodes in afem context Created in NX8.5.0. | |
void | SetPreference (NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::MergePreference mergePreference) |
Sets the duplicate nodes merging preference Created in NX8.5.0. | |
NXOpen::Expression * | Tolerance () |
Returns the tolerance used to determine if the nodes are duplicates of each other Created in NX8.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a CAE::ModelCheck::DuplicateNodesCheckBuilder to check for duplicate nodes within the candidate nodes.
<br> 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. <br> The general workflow is: <ol> <li> Set the candidate nodes </li> <li> Set the check settings and display settings data </li> <li> Identify the duplicate nodes </li> <li> Set the preference option </li> <li> Merge duplicate nodes </li> </ol> You can merge duplicate nodes through @link Builder::Commit Builder::Commit@endlink or @link CAE::ModelCheck::DuplicateNodesCheckBuilder::MergeDuplicateNodes CAE::ModelCheck::DuplicateNodesCheckBuilder::MergeDuplicateNodes@endlink . Commits the builder to merge duplicate nodes and update the mesh in graphic window.
Created in NX8.5.0.
Represents the duplicate nodes merging preference.
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 CAE::ModelCheck::DuplicateNodesCheckBuilder::SelectPreferenceNodesList. |
MergePreferenceRemoveSelected |
Merge the nodes specified in the node list CAE::ModelCheck::DuplicateNodesCheckBuilder::SelectPreferenceNodesList. |
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.
groupIndex | groupindex |
void NXOpen::CAE::ModelCheck::DuplicateNodesCheckBuilder::IdentifyDuplicateNodes | ( | ) |
Calculates to find the duplicate nodes and display them in CAE::ModelCheck::DuplicateElementsCheckBuilder::DisplaySettings .
The detected duplicate nodes are cached, to access the cached calculation result, you could use @link CAE::ModelCheck::DuplicateNodesCheckBuilder::DuplicateNodeGroupsCount CAE::ModelCheck::DuplicateNodesCheckBuilder::DuplicateNodeGroupsCount@endlink and @link CAE::ModelCheck::DuplicateNodesCheckBuilder::GetDuplicateNodes CAE::ModelCheck::DuplicateNodesCheckBuilder::GetDuplicateNodes@endlink . 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 @link Builder::Commit Builder::Commit@endlink will also do the same thing. Duplicate nodes can only be merged when the context part of this builder is a @link CAE::BaseFemPart CAE::BaseFemPart@endlink .
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 CAE::Mesh or 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")
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")
displaySettings | Display 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")
ignoreTinyEdgeNodes | ignoretinyedgenodes |
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")
ignoreSameMeshNodes | ignoresamemeshnodes |
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")
listOption | listoption |
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")
mergeOccurrenceNodes | mergeoccurrencenodes |
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")
mergePreference | Merge 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