NX Open C++ Reference Guide
|
Represents a NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder to perform quality checking on the candidate elements. More...
Public Types | |
enum | OutputElements { OutputElementsNone, OutputElementsFailed, OutputElementsWarning, OutputElementsFailedAndWarning } |
indicates how to create output group More... | |
enum | ReportFormat { ReportFormatNone, ReportFormatFailed, ReportFormatWarning, ReportFormatFailedAndWarning, ReportFormatAll } |
indicates how to generate report More... | |
Public Member Functions | |
virtual NXOpen::CAE::ModelCheck::CheckScope | CheckScopeOption () |
Returns the check scope setting Created in NX11.0.1. More... | |
NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ReportFormat | ElementReportFormat () |
Returns the report style Created in NX8.5.0. More... | |
NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::OutputElements | ElementsOutputOption () |
Returns the element output options Created in NX8.5.0. More... | |
NXOpen::CAE::ModelCheck::ElementQualityCheckResults * | ExecuteCheck () |
Execute element quality checking for NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SelectionList and returns the check results.You could also use Builder::Commit to do the checking. More... | |
NXOpen::NXColor * | FailedElementsColor () |
Returns the display color of failed elements Created in NX8.5.0. More... | |
NXOpen::CAE::NumberFormat * | NumberFormat () |
Returns the number format option Created in NX11.0.2. More... | |
NXOpen::SelectTaggedObjectList * | SelectionList () |
Returns the selected objects to be checked. More... | |
virtual void | SetCheckScopeOption (NXOpen::CAE::ModelCheck::CheckScope scope) |
Sets the check scope setting Created in NX11.0.1. More... | |
void | SetElementReportFormat (NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ReportFormat reportElements) |
Sets the report style Created in NX8.5.0. More... | |
void | SetElementsOutputOption (NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::OutputElements outputElements) |
Sets the element output options Created in NX8.5.0. More... | |
void | SetFailedElementsColor (NXOpen::NXColor *color) |
Sets the display color of failed elements Created in NX8.5.0. More... | |
void | SetShowFailedElementsLabel (bool showFailedElementsLabel) |
Sets the value indicating whether to show label for those failed elements Created in NX8.5.0. More... | |
void | SetWarningElementsColor (NXOpen::NXColor *color) |
Sets the display color of warning elements Created in NX8.5.0. More... | |
bool | ShowFailedElementsLabel () |
Returns the value indicating whether to show label for those failed elements Created in NX8.5.0. More... | |
NXOpen::NXColor * | WarningElementsColor () |
Returns the display color of warning elements Created in NX8.5.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
Represents a NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder to perform quality checking on the candidate elements.
Set the properties of the NXOpen::CAE::ModelCheck::ElementQualitySetting instance for the current solver language in the CAE part to define the specific quality checks to perform.
Those elements with failed quality check results will be displayed according to the display setting NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ShowFailedElementsLabel and NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SetShowFailedElementsLabel and NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::FailedElementsColor and NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SetFailedElementsColor .
The report will be generated according to NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ElementReportFormat and NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SetElementReportFormat
You can do element quality check by Builder::Commit and NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ExecuteCheck . Builder::Commit performs the check, displays the failed elements and generates the report in a listing window. But NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder just performs the check and returns the check result NXOpen::CAE::ModelCheck::ElementQualityCheckResults
To create a new instance of this class, use NXOpen::CAE::ModelCheckManager::CreateElementQualityCheckBuilder
Created in NX8.5.0.
indicates how to create output group
indicates how to generate report
|
virtual |
Returns the check scope setting
Created in NX11.0.1.
License requirements : None
Implements NXOpen::CAE::ModelCheck::ISelectionBuilder.
NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ReportFormat NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ElementReportFormat | ( | ) |
Returns the report style
Created in NX8.5.0.
License requirements : None
NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::OutputElements NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ElementsOutputOption | ( | ) |
Returns the element output options
Created in NX8.5.0.
License requirements : None
NXOpen::CAE::ModelCheck::ElementQualityCheckResults* NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ExecuteCheck | ( | ) |
Execute element quality checking for NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SelectionList and returns the check results.You could also use Builder::Commit to do the checking.
Builder::Commit only executes the checking, displaying failed elements and generating report, but does not return the results
NXOpen::NXColor* NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::FailedElementsColor | ( | ) |
Returns the display color of failed elements
Created in NX8.5.0.
License requirements : None
NXOpen::CAE::NumberFormat* NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::NumberFormat | ( | ) |
Returns the number format option
Created in NX11.0.2.
License requirements : None
NXOpen::SelectTaggedObjectList* NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SelectionList | ( | ) |
Returns the selected objects to be checked.
The objects must be NXOpen::CAE::Mesh or NXOpen::CAE::FEElement
Created in NX8.5.0.
License requirements : None
|
virtual |
Sets the check scope setting
Created in NX11.0.1.
License requirements : None
scope | scope |
Implements NXOpen::CAE::ModelCheck::ISelectionBuilder.
void NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SetElementReportFormat | ( | NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ReportFormat | reportElements | ) |
Sets the report style
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
reportElements | reportelements |
void NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SetElementsOutputOption | ( | NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::OutputElements | outputElements | ) |
Sets the element output options
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
outputElements | outputelements |
void NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SetFailedElementsColor | ( | NXOpen::NXColor * | color | ) |
Sets the display color of failed elements
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
color | color |
void NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SetShowFailedElementsLabel | ( | bool | showFailedElementsLabel | ) |
Sets the value indicating whether to show label for those failed elements
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
showFailedElementsLabel | showfailedelementslabel |
void NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::SetWarningElementsColor | ( | NXOpen::NXColor * | color | ) |
Sets the display color of warning elements
Created in NX8.5.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
color | color |
bool NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::ShowFailedElementsLabel | ( | ) |
Returns the value indicating whether to show label for those failed elements
Created in NX8.5.0.
License requirements : None
NXOpen::NXColor* NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::WarningElementsColor | ( | ) |
Returns the display color of warning elements
Created in NX8.5.0.
License requirements : None