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

Represents a NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder to perform quality checking on the candidate elements. More...

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

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::ElementQualityCheckResultsExecuteCheck ()
 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::NXColorFailedElementsColor ()
 Returns the display color of failed elements
Created in NX8.5.0. More...
 
NXOpen::CAE::NumberFormatNumberFormat ()
 Returns the number format option
Created in NX11.0.2. More...
 
NXOpen::SelectTaggedObjectListSelectionList ()
 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::NXColorWarningElementsColor ()
 Returns the display color of warning elements
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::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.

Member Enumeration Documentation

indicates how to create output group

Enumerator
OutputElementsNone 

Output nothing.

OutputElementsFailed 

Creates OUTPUT group with failed elements.

OutputElementsWarning 

Creates OUTPUT group with warning elements.

OutputElementsFailedAndWarning 

Creates OUTPUT group with both warning and failed elements.

indicates how to generate report

Enumerator
ReportFormatNone 

Does not generate report.

ReportFormatFailed 

Only lists check results for elements with error results in the report.

ReportFormatWarning 

Only lists check results for elements with warning results in the report.

ReportFormatFailedAndWarning 

Lists check results for elements with both error and warning results in the report.

ReportFormatAll 

Lists check results for all elements.

Member Function Documentation

virtual NXOpen::CAE::ModelCheck::CheckScope NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::CheckScopeOption ( )
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

Returns

Created in NX8.5.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
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 void NXOpen::CAE::ModelCheck::ElementQualityCheckBuilder::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::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")

Parameters
reportElementsreportelements
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")

Parameters
outputElementsoutputelements
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")

Parameters
colorcolor
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")

Parameters
showFailedElementsLabelshowfailedelementslabel
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")

Parameters
colorcolor
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


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