NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
NXOpen::Tooling::MoldFeatureRecognitionBuilder Class Reference

Represents a NXOpen::Tooling::MoldFeatureRecognitionBuilder builder
To create a new instance of this class, use NXOpen::Tooling::MoldwizardManager::CreateMoldFeatureRecognitionBuilder
Default values. More...

Inheritance diagram for NXOpen::Tooling::MoldFeatureRecognitionBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  AnalysisModeType {
  AnalysisModeTypeCostMoldFullAnalysis, AnalysisModeTypeCostMoldAnalysisWithoutWallThickness, AnalysisModeTypeCostMoldSplitFacesAndAnalysis, AnalysisModeTypeCostMoldFaceAnalysisOnly,
  AnalysisModeTypeCostMoldWallThicknessOnly, AnalysisModeTypeCostMoldUndercutsOnly, AnalysisModeTypeCostMoldRibsOnly, AnalysisModeTypeCostMoldOpeningsOnly,
  AnalysisModeTypeNothing
}
 Analyze mode for Mold analysis. More...
 
enum  CostFeatureType { CostFeatureTypeUndercut, CostFeatureTypeRib, CostFeatureTypeOpening }
 Feature type for mold cost related feature. More...
 

Public Member Functions

void AnalyzeMoldBody ()
 Analyze selected body
Created in NX11.0.1. More...
 
void AnalyzeMoldBodyByMode (NXOpen::Tooling::MoldFeatureRecognitionBuilder::AnalysisModeType analyseMode)
 Analyze selected body with specified mode type
Created in NX12.0.1. More...
 
void AssignFeatureFaceColor (bool assignOrRestore)
 Assign cost feature face color
Created in NX12.0.1. More...
 
bool AutoRibGrouping ()
 Returns the flag to allow group ribs automatically when performing rib feature analysis
Created in NX12.0.1. More...
 
double BodyProjectArea ()
 Returns the project area
Created in NX11.0.1. More...
 
double BodySurfaceArea ()
 Returns the surface area value
Created in NX11.0.1. More...
 
void ChangeColorSettingValue ()
 Change color setting value according the active feature type when table changed
Created in NX12.0.1. More...
 
NXOpen::NXColorCostFeatureFacesColor ()
 Returns the temporary color for cost feature faces
Created in NX12.0.1. More...
 
NXOpen::ExpressionDraftAngle ()
 Returns the draft angle
Created in NX11.0.1. More...
 
void ExportResult ()
 Export analysis result
Created in NX11.0.1. More...
 
void FindMoldFeatures ()
 Find and collect molding features
Created in NX11.0.2. More...
 
int GetActivePage ()
 Get active table index
Created in NX12.0.1. More...
 
NXOpen::TaggedObjectGetMoldCostDataObject ()
 Get the mold cost data
Created in NX12.0.1. More...
 
NXOpen::Matrix3x3 GetProductOrientation ()
 Get the product orientation
Created in NX11.0.1. More...
 
bool IsFeatureDataEmpty (NXOpen::Tooling::MoldFeatureRecognitionBuilder::CostFeatureType costFeatureType, bool needCheckUserCreated)
 Checks whether there is feature data with the specified feature type. More...
 
NXOpen::ExpressionMaximumRibLength ()
 Returns the maximum rib length to be recognized
Created in NX11.0.1. More...
 
NXOpen::ExpressionMaximumRibThickness ()
 Returns the maximum rib thickness to be recognized
Created in NX11.0.1. More...
 
double MaximumWallThickness ()
 Returns the maximum wall thickness
Created in NX11.0.1. More...
 
double MinimumWallThickness ()
 Returns the minimum wall thickness
Created in NX11.0.1. More...
 
double MinimumXDimension ()
 Returns the minimum x dimension of product body
Created in NX11.0.1. More...
 
double MinimumYDimension ()
 Returns the minimum y dimension of product body
Created in NX11.0.1. More...
 
double MinimumZDimension ()
 Returns the minimum z dimension of product body
Created in NX11.0.1. More...
 
NXString PartFolderBrowser ()
 Returns the folder of part file to be saved
Created in NX11.0.1. More...
 
double PartVolume ()
 Returns the product body volume
Created in NX11.0.1. More...
 
void ReleaseAllProductFeatureData ()
 Free all product feature data
Created in NX11.0.1. More...
 
bool SaveAndExportStatus ()
 Returns the value that indicates whether to save part and export analysis data or not. More...
 
NXOpen::SelectBodySelectionBody ()
 Returns the selected body for analysis
Created in NX11.0.1. More...
 
void SetActivePage (int activeTableIndex)
 Set active table index
Created in NX12.0.1. More...
 
void SetAutoRibGrouping (bool autoRibGrouping)
 Sets the flag to allow group ribs automatically when performing rib feature analysis
Created in NX12.0.1. More...
 
void SetBodyProjectArea (double bodyProjectArea)
 Sets the project area
Created in NX11.0.1. More...
 
void SetBodySurfaceArea (double surfaceArea)
 Sets the surface area value
Created in NX11.0.1. More...
 
void SetCostFeatureFacesColor (NXOpen::NXColor *faceColor)
 Sets the temporary color for cost feature faces
Created in NX12.0.1. More...
 
void SetFeatureFaceColorValue (NXOpen::NXColor *colorId)
 Set face color for the current active feature type
Created in NX12.0.1. More...
 
void SetIsCoreCavityFaceChanged (bool status)
 Set the value whether user has changed core/cavity faces or not. More...
 
void SetMaximumWallThickness (double maxWallThickness)
 Sets the maximum wall thickness
Created in NX11.0.1. More...
 
void SetMinimumWallThickness (double minWallThickness)
 Sets the minimum wall thickness
Created in NX11.0.1. More...
 
void SetMinimumXDimension (double minxLength)
 Sets the minimum x dimension of product body
Created in NX11.0.1. More...
 
void SetMinimumYDimension (double minyLength)
 Sets the minimum y dimension of product body
Created in NX11.0.1. More...
 
void SetMinimumZDimension (double minzLength)
 Sets the minimum z dimension of product body
Created in NX11.0.1. More...
 
void SetPartFolderBrowser (const NXString &foldername)
 Sets the folder of part file to be saved
Created in NX11.0.1. More...
 
void SetPartFolderBrowser (const char *foldername)
 Sets the folder of part file to be saved
Created in NX11.0.1. More...
 
void SetPartVolume (double partVolume)
 Sets the product body volume
Created in NX11.0.1. More...
 
void SetProductInformation ()
 Populate product information from cost feature data
Created in NX12.0.1. More...
 
void SetProductOrientation (const NXOpen::Matrix3x3 &matrix)
 Set the product orientation
Created in NX11.0.1. More...
 
void SetSaveAndExportStatus (bool status)
 Sets the value that indicates whether to save part and export analysis data or not. More...
 
void SetXDimension (double xLength)
 Sets the x dimension of product body
Created in NX11.0.1. More...
 
void SetXmlFolderBrowser (const NXString &foldername)
 Sets the folder in which output XML results can be found
Created in NX11.0.1. More...
 
void SetXmlFolderBrowser (const char *foldername)
 Sets the folder in which output XML results can be found
Created in NX11.0.1. More...
 
void SetYDimension (double yLength)
 Sets the y dimension of product body
Created in NX11.0.1. More...
 
void SetZDimension (double zLength)
 Sets the z dimension of product body
Created in NX11.0.1. More...
 
NXOpen::ExpressionUndercutMinimumWidth ()
 Returns the undercut minimum width
Created in NX11.0.1. More...
 
NXOpen::ExpressionUndercutToleranceAngle ()
 Returns the tolerance of undercut face angle
Created in NX12.0.1. More...
 
bool ValidateFeaturesZeroDimension (NXString *message)
 Validates all size values of cost related features if they have dimensions being 0.00. More...
 
double XDimension ()
 Returns the x dimension of product body
Created in NX11.0.1. More...
 
NXString XmlFolderBrowser ()
 Returns the folder in which output XML results can be found
Created in NX11.0.1. More...
 
double YDimension ()
 Returns the y dimension of product body
Created in NX11.0.1. More...
 
double ZDimension ()
 Returns the z dimension of product body
Created in NX11.0.1. 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::Tooling::MoldFeatureRecognitionBuilder builder
To create a new instance of this class, use NXOpen::Tooling::MoldwizardManager::CreateMoldFeatureRecognitionBuilder
Default values.

Property Value

DraftAngle.Value

3

MaximumRibLength.Value

2.0 (millimeters part), 0.07 (inches part)

MaximumRibThickness.Value

5.0 (millimeters part), 0.19 (inches part)

UndercutMinimumWidth.Value

0.25 (millimeters part), 0.0098 (inches part)


Created in NX11.0.1.

Member Enumeration Documentation

Analyze mode for Mold analysis.

Enumerator
AnalysisModeTypeCostMoldFullAnalysis 

cost mold full analysis

AnalysisModeTypeCostMoldAnalysisWithoutWallThickness 

cost mold analysis without wall thickness

AnalysisModeTypeCostMoldSplitFacesAndAnalysis 

cost mold split faces and analysis

AnalysisModeTypeCostMoldFaceAnalysisOnly 

cost mold face analysis only

AnalysisModeTypeCostMoldWallThicknessOnly 

cost mold wall thickness only

AnalysisModeTypeCostMoldUndercutsOnly 

cost mold undercuts only

AnalysisModeTypeCostMoldRibsOnly 

cost mold ribs only

AnalysisModeTypeCostMoldOpeningsOnly 

cost mold openings only

AnalysisModeTypeNothing 

nothing

Feature type for mold cost related feature.

Enumerator
CostFeatureTypeUndercut 

undercut

CostFeatureTypeRib 

rib

CostFeatureTypeOpening 

opening

Member Function Documentation

void NXOpen::Tooling::MoldFeatureRecognitionBuilder::AnalyzeMoldBody ( )

Analyze selected body
Created in NX11.0.1.



License requirements : None

void NXOpen::Tooling::MoldFeatureRecognitionBuilder::AnalyzeMoldBodyByMode ( NXOpen::Tooling::MoldFeatureRecognitionBuilder::AnalysisModeType  analyseMode)

Analyze selected body with specified mode type
Created in NX12.0.1.



License requirements : None

Parameters
analyseModeanalysemode
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::AssignFeatureFaceColor ( bool  assignOrRestore)

Assign cost feature face color
Created in NX12.0.1.



License requirements : None

Parameters
assignOrRestoreassign cost feature face with temporary color or not
bool NXOpen::Tooling::MoldFeatureRecognitionBuilder::AutoRibGrouping ( )

Returns the flag to allow group ribs automatically when performing rib feature analysis
Created in NX12.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::BodyProjectArea ( )

Returns the project area
Created in NX11.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::BodySurfaceArea ( )

Returns the surface area value
Created in NX11.0.1.



License requirements : None

void NXOpen::Tooling::MoldFeatureRecognitionBuilder::ChangeColorSettingValue ( )

Change color setting value according the active feature type when table changed
Created in NX12.0.1.



License requirements : None

NXOpen::NXColor* NXOpen::Tooling::MoldFeatureRecognitionBuilder::CostFeatureFacesColor ( )

Returns the temporary color for cost feature faces
Created in NX12.0.1.



License requirements : None

NXOpen::Expression* NXOpen::Tooling::MoldFeatureRecognitionBuilder::DraftAngle ( )

Returns the draft angle
Created in NX11.0.1.



License requirements : None

void NXOpen::Tooling::MoldFeatureRecognitionBuilder::ExportResult ( )

Export analysis result
Created in NX11.0.1.



License requirements : None

void NXOpen::Tooling::MoldFeatureRecognitionBuilder::FindMoldFeatures ( )

Find and collect molding features
Created in NX11.0.2.



License requirements : None

int NXOpen::Tooling::MoldFeatureRecognitionBuilder::GetActivePage ( )

Get active table index
Created in NX12.0.1.



License requirements : None

NXOpen::TaggedObject* NXOpen::Tooling::MoldFeatureRecognitionBuilder::GetMoldCostDataObject ( )

Get the mold cost data
Created in NX12.0.1.



License requirements : None

NXOpen::Matrix3x3 NXOpen::Tooling::MoldFeatureRecognitionBuilder::GetProductOrientation ( )

Get the product orientation
Created in NX11.0.1.



License requirements : None

bool NXOpen::Tooling::MoldFeatureRecognitionBuilder::IsFeatureDataEmpty ( NXOpen::Tooling::MoldFeatureRecognitionBuilder::CostFeatureType  costFeatureType,
bool  needCheckUserCreated 
)

Checks whether there is feature data with the specified feature type.

Returns
Feature data is empty or not
Created in NX12.0.1.

License requirements : None
Parameters
costFeatureTypeMold cost feature type
needCheckUserCreatedNeed check feature data user created manually or not
NXOpen::Expression* NXOpen::Tooling::MoldFeatureRecognitionBuilder::MaximumRibLength ( )

Returns the maximum rib length to be recognized
Created in NX11.0.1.



License requirements : None

NXOpen::Expression* NXOpen::Tooling::MoldFeatureRecognitionBuilder::MaximumRibThickness ( )

Returns the maximum rib thickness to be recognized
Created in NX11.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::MaximumWallThickness ( )

Returns the maximum wall thickness
Created in NX11.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::MinimumWallThickness ( )

Returns the minimum wall thickness
Created in NX11.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::MinimumXDimension ( )

Returns the minimum x dimension of product body
Created in NX11.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::MinimumYDimension ( )

Returns the minimum y dimension of product body
Created in NX11.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::MinimumZDimension ( )

Returns the minimum z dimension of product body
Created in NX11.0.1.



License requirements : None

NXString NXOpen::Tooling::MoldFeatureRecognitionBuilder::PartFolderBrowser ( )

Returns the folder of part file to be saved
Created in NX11.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::PartVolume ( )

Returns the product body volume
Created in NX11.0.1.



License requirements : None

void NXOpen::Tooling::MoldFeatureRecognitionBuilder::ReleaseAllProductFeatureData ( )

Free all product feature data
Created in NX11.0.1.



License requirements : None

bool NXOpen::Tooling::MoldFeatureRecognitionBuilder::SaveAndExportStatus ( )

Returns the value that indicates whether to save part and export analysis data or not.


Created in NX11.0.1.

License requirements : None

NXOpen::SelectBody* NXOpen::Tooling::MoldFeatureRecognitionBuilder::SelectionBody ( )

Returns the selected body for analysis
Created in NX11.0.1.



License requirements : None

void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetActivePage ( int  activeTableIndex)

Set active table index
Created in NX12.0.1.



License requirements : None

Parameters
activeTableIndexactivetableindex
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetAutoRibGrouping ( bool  autoRibGrouping)

Sets the flag to allow group ribs automatically when performing rib feature analysis
Created in NX12.0.1.



License requirements : None

Parameters
autoRibGroupingautoribgrouping
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetBodyProjectArea ( double  bodyProjectArea)

Sets the project area
Created in NX11.0.1.



License requirements : None

Parameters
bodyProjectAreabodyprojectarea
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetBodySurfaceArea ( double  surfaceArea)

Sets the surface area value
Created in NX11.0.1.



License requirements : None

Parameters
surfaceAreasurfacearea
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetCostFeatureFacesColor ( NXOpen::NXColor faceColor)

Sets the temporary color for cost feature faces
Created in NX12.0.1.



License requirements : None

Parameters
faceColorfacecolor
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetFeatureFaceColorValue ( NXOpen::NXColor colorId)

Set face color for the current active feature type
Created in NX12.0.1.



License requirements : None

Parameters
colorIdcolorid
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetIsCoreCavityFaceChanged ( bool  status)

Set the value whether user has changed core/cavity faces or not.


Created in NX11.0.2.

License requirements : None

Parameters
statusstatus
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetMaximumWallThickness ( double  maxWallThickness)

Sets the maximum wall thickness
Created in NX11.0.1.



License requirements : None

Parameters
maxWallThicknessmaxwallthickness
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetMinimumWallThickness ( double  minWallThickness)

Sets the minimum wall thickness
Created in NX11.0.1.



License requirements : None

Parameters
minWallThicknessminwallthickness
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetMinimumXDimension ( double  minxLength)

Sets the minimum x dimension of product body
Created in NX11.0.1.



License requirements : None

Parameters
minxLengthminxlength
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetMinimumYDimension ( double  minyLength)

Sets the minimum y dimension of product body
Created in NX11.0.1.



License requirements : None

Parameters
minyLengthminylength
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetMinimumZDimension ( double  minzLength)

Sets the minimum z dimension of product body
Created in NX11.0.1.



License requirements : None

Parameters
minzLengthminzlength
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetPartFolderBrowser ( const NXString foldername)

Sets the folder of part file to be saved
Created in NX11.0.1.



License requirements : None

Parameters
foldernamefoldername
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetPartFolderBrowser ( const char *  foldername)

Sets the folder of part file to be saved
Created in NX11.0.1.



License requirements : None

Parameters
foldernamefoldername
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetPartVolume ( double  partVolume)

Sets the product body volume
Created in NX11.0.1.



License requirements : None

Parameters
partVolumepartvolume
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetProductInformation ( )

Populate product information from cost feature data
Created in NX12.0.1.



License requirements : None

void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetProductOrientation ( const NXOpen::Matrix3x3 matrix)

Set the product orientation
Created in NX11.0.1.



License requirements : None

Parameters
matrixmatrix
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetSaveAndExportStatus ( bool  status)

Sets the value that indicates whether to save part and export analysis data or not.


Created in NX11.0.1.

License requirements : None

Parameters
statusstatus
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetXDimension ( double  xLength)

Sets the x dimension of product body
Created in NX11.0.1.



License requirements : None

Parameters
xLengthxlength
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetXmlFolderBrowser ( const NXString foldername)

Sets the folder in which output XML results can be found
Created in NX11.0.1.



License requirements : None

Parameters
foldernamefoldername
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetXmlFolderBrowser ( const char *  foldername)

Sets the folder in which output XML results can be found
Created in NX11.0.1.



License requirements : None

Parameters
foldernamefoldername
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetYDimension ( double  yLength)

Sets the y dimension of product body
Created in NX11.0.1.



License requirements : None

Parameters
yLengthylength
void NXOpen::Tooling::MoldFeatureRecognitionBuilder::SetZDimension ( double  zLength)

Sets the z dimension of product body
Created in NX11.0.1.



License requirements : None

Parameters
zLengthzlength
NXOpen::Expression* NXOpen::Tooling::MoldFeatureRecognitionBuilder::UndercutMinimumWidth ( )

Returns the undercut minimum width
Created in NX11.0.1.



License requirements : None

NXOpen::Expression* NXOpen::Tooling::MoldFeatureRecognitionBuilder::UndercutToleranceAngle ( )

Returns the tolerance of undercut face angle
Created in NX12.0.1.



License requirements : None

bool NXOpen::Tooling::MoldFeatureRecognitionBuilder::ValidateFeaturesZeroDimension ( NXString message)

Validates all size values of cost related features if they have dimensions being 0.00.

Returns
Validation result, pass or fail
Created in NX12.0.1.

License requirements : None
Parameters
messagemessage contains error message to display in message box
double NXOpen::Tooling::MoldFeatureRecognitionBuilder::XDimension ( )

Returns the x dimension of product body
Created in NX11.0.1.



License requirements : None

NXString NXOpen::Tooling::MoldFeatureRecognitionBuilder::XmlFolderBrowser ( )

Returns the folder in which output XML results can be found
Created in NX11.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::YDimension ( )

Returns the y dimension of product body
Created in NX11.0.1.



License requirements : None

double NXOpen::Tooling::MoldFeatureRecognitionBuilder::ZDimension ( )

Returns the z dimension of product body
Created in NX11.0.1.



License requirements : None


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