NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::CAM::FeatureRecognitionBuilder Class Reference

Represents a FeatureRecognition Builder
To create a new instance of this class, use CAM::CAMSetup::CreateFeatureRecognitionBuilder

Created in NX6.0.0. More...

Inheritance diagram for NXOpen::CAM::FeatureRecognitionBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  FindBodyEnum { FindBodyEnumWorkpiece, FindBodyEnumAllBodies, FindBodyEnumSpecified }
 the method of body selection
More...
enum  GeometrySearch { GeometrySearchWorkpiece, GeometrySearchAllGeometry, GeometrySearchSelected }
 the geometry search type More...
enum  RecognitionEnum {
  RecognitionEnumIdentify, RecognitionEnumParametric, RecognitionEnumLegacy, RecognitionEnumGeneric,
  RecognitionEnumManual
}
 the type of feature search More...

Public Member Functions

bool AddCadFeatureAttributes ()
 Returns the flag indicating whether features will get attributes added of enclosed modeling features
Created in NX7.5.2.
bool AssignColor ()
 Returns the flag indicating whether features will get a color assigned if their faces have a unique color that is different from the body color
Created in NX6.0.0.
NXOpen::CAM::FeatureRecognitionBuilder::FindBodyEnum CmbFindBodyFrom ()
 Returns the method of body selection

NXOpen::TaggedObjectCreateFeature (const NXString &featureName, const std::vector< NXOpen::Face * > &faces, const std::vector< NXOpen::Face * > &wallFaces, bool deleteFeatures)
 Creates a feature based on name, floor and wall faces
This method is deprecated.
NXOpen::CAM::ManualFeatureBuilderCreateManualFeatureBuilder ()
 Creates a new manual feature builder.
void DeleteFeature (NXOpen::CAM::CAMFeature *feature)
 Deletes a manufacturing feature that was created through this builder instance
Created in NX7.5.0.
void DeleteFeature (NXOpen::TaggedObject *feature)
 Deletes manufacturing feature that was created through this builder instance
This method is deprecated.
bool FeatureMapperEnabled ()
 Returns the flag indicating if mapping is enabled.
std::vector
< NXOpen::CAM::CAMFeature * > 
FindFeatures ()
 Finds manufacturing features.
NXOpen::ScCollectorFloorFaces ()
 Returns the floor faces
Created in NX6.0.0.
NXOpen::CAM::FeatureRecognitionBuilder::GeometrySearch GeometrySearchType ()
 Returns the method of geometry search
Created in NX7.5.0.
std::vector
< NXOpen::CAM::CAMFeature * > 
GetFoundFeatures ()
 Returns the found features.
void GetModelingFeatureTypes (std::vector< NXString > &featureTypes)
 Gets the modeling feature types from the bodies currently set in this builder
Created in NX7.5.0.
std::vector
< NXOpen::TaggedObject * > 
GetRecognizedFeatures ()
 Returns the found features
This method is deprecated.
void GetRegisteredFeatureTypes (std::vector< NXString > &featureTypes)
 Gets the registered feature types
Created in NX6.0.0.
std::vector
< NXOpen::DisplayableObject * > 
GetSearchGeometry ()
 Returns the geometry search.
bool IgnoreExistingFeatures ()
 Returns the flag indicating whether found features are checked agains existing features.
bool IgnoreWarnings ()
 Returns the flag indicating whether to ignore warnings while finding features.
NXOpen::ScCollectorLimitFaces ()
 Returns the limited set of faces to search in
Created in NX6.0.0.
NXOpen::CAM::ManualFeatureBuilderListLstManualFeatures ()
 Returns the manual feature builder list
Created in NX6.0.0.
NXOpen::CAM::CAMFeatureMakeFeature (const NXString &featureName, const std::vector< NXOpen::Face * > &faces, const std::vector< NXOpen::Face * > &wallFaces, bool deleteFeatures)
 Creates a feature based on name, floor and wall faces.
bool MapFeatures ()
 Returns the flag indicating whether features will be mapped to other features if possible
Created in NX6.0.0.
NXOpen::CAM::FeatureRecognitionBuilder::RecognitionEnum RecognitionType ()
 Returns the type of feature search
Created in NX6.0.0.
std::vector
< NXOpen::TaggedObject * > 
Recognize ()
 Finds manufacturing features
This method is deprecated.
NXOpen::SelectBodyListSelBodiesToSearch ()
 Returns the bodies to search

void SetAddCadFeatureAttributes (bool addCadAttributes)
 Sets the flag indicating whether features will get attributes added of enclosed modeling features
Created in NX7.5.2.
void SetAssignColor (bool assignColor)
 Sets the flag indicating whether features will get a color assigned if their faces have a unique color that is different from the body color
Created in NX6.0.0.
void SetCmbFindBodyFrom (NXOpen::CAM::FeatureRecognitionBuilder::FindBodyEnum cmbFindBodyType)
 Sets the method of body selection

void SetFeatureTypes (std::vector< NXString > &featureTypes)
 Sets the feature types used by the recognizer
Created in NX6.0.0.
void SetGeometrySearchType (NXOpen::CAM::FeatureRecognitionBuilder::GeometrySearch geometrySearch)
 Sets the method of geometry search
Created in NX7.5.0.
void SetIgnoreExistingFeatures (bool ignoreExistingFeatures)
 Sets the flag indicating whether found features are checked agains existing features.
void SetIgnoreWarnings (bool ignoreWarnings)
 Sets the flag indicating whether to ignore warnings while finding features.
void SetMachiningAccessDirection (const std::vector< NXOpen::Direction * > &vecDirections, double dTolerance)
 Set the machining access direction to exact or approximate vector
Created in NX8.0.1.
void SetMachiningAccessDirection (NXOpen::Point *focalPt, bool bIsTowardPt)
 Set the machining access direction to toward or away from point
Created in NX8.0.1.
void SetMapFeatures (bool mapFeatures)
 Sets the flag indicating whether features will be mapped to other features if possible
Created in NX6.0.0.
void SetRecognitionType (NXOpen::CAM::FeatureRecognitionBuilder::RecognitionEnum recognitionType)
 Sets the type of feature search
Created in NX6.0.0.
void SetSearchGeometry (const std::vector< NXOpen::DisplayableObject * > &objects)
 Sets the geometry to search
Created in NX7.5.0.
void SetUseFeatureNameAsType (bool useFeatureNameAsType)
 Sets the flag indicating whether the feature name will be used as feature type
Created in NX6.0.0.
void SetVecDirection (NXOpen::Direction *vecDirection)
 Sets the machining access direction vector

bool UseFeatureNameAsType ()
 Returns the flag indicating whether the feature name will be used as feature type
Created in NX6.0.0.
NXOpen::DirectionVecDirection ()
 Returns the machining access direction vector


Detailed Description

Represents a FeatureRecognition Builder
To create a new instance of this class, use CAM::CAMSetup::CreateFeatureRecognitionBuilder

Created in NX6.0.0.



Member Enumeration Documentation

the method of body selection

Deprecated:
Deprecated in NX7.5.0.


Enumerator:
FindBodyEnumWorkpiece 

Search for features in bodies from workpiece.

FindBodyEnumAllBodies 

Search for features in all bodies.

FindBodyEnumSpecified 

Search for features in user-selected bodies.

the geometry search type

Enumerator:
GeometrySearchWorkpiece 

Search for features in workpiece.

GeometrySearchAllGeometry 

Search for features in all geometry.

GeometrySearchSelected 

Search for features in user-selected geometry.

the type of feature search

Enumerator:
RecognitionEnumIdentify 

Feature Identification from modeling features.

RecognitionEnumParametric 

Parametric Feature Recognition.

RecognitionEnumLegacy 

Legacy Hole Feature Recognition.

RecognitionEnumGeneric 

Legacy Face and Pocket Feature Recognition.

RecognitionEnumManual 

Manual Feature Recognition.


Member Function Documentation

Returns the flag indicating whether features will get attributes added of enclosed modeling features
Created in NX7.5.2.



License requirements : None

Returns the flag indicating whether features will get a color assigned if their faces have a unique color that is different from the body color
Created in NX6.0.0.



License requirements : None

Returns the method of body selection

Deprecated:
Deprecated in NX7.5.0.



Created in NX6.0.0.

License requirements : None

NXOpen::TaggedObject* NXOpen::CAM::FeatureRecognitionBuilder::CreateFeature ( const NXString featureName,
const std::vector< NXOpen::Face * > &  faces,
const std::vector< NXOpen::Face * > &  wallFaces,
bool  deleteFeatures 
)

Creates a feature based on name, floor and wall faces
This method is deprecated.

Use CAM::FeatureRecognitionBuilder::MakeFeature instead.

Returns:

Deprecated:
Deprecated in NX7.5.0.


Created in NX6.0.0.

License requirements : None

Parameters:
featureNamename of new feature
NOTE: The full Unicode character set is not supported for this parameter.
facesfloor faces of new feature
wallFaceswall faces of new feature
deleteFeaturesDeletes previous found features

Creates a new manual feature builder.

Returns:
feature builder
Created in NX6.0.0.

License requirements : None

Deletes a manufacturing feature that was created through this builder instance
Created in NX7.5.0.



License requirements : None

Parameters:
featurefeature

Deletes manufacturing feature that was created through this builder instance
This method is deprecated.

Use the overloaded version of this method that takes CAM::CAMFeature instead.

Deprecated:
Deprecated in NX7.5.0.


Created in NX6.0.0.

License requirements : None

Parameters:
featurefeature

Returns the flag indicating if mapping is enabled.

Only when a valid mapping module is loaded the feature mapper is enabled
Created in NX6.0.0.

License requirements : None

Finds manufacturing features.

Returns:
The found features
Created in NX7.5.0.

License requirements : None

Returns the floor faces
Created in NX6.0.0.



License requirements : None

Returns the method of geometry search
Created in NX7.5.0.



License requirements : None

Returns the found features.

Returns:

Created in NX7.5.0.

License requirements : None

Gets the modeling feature types from the bodies currently set in this builder
Created in NX7.5.0.



License requirements : None

Parameters:
featureTypesfeature types

Returns the found features
This method is deprecated.

Use CAM::FeatureRecognitionBuilder::GetFoundFeatures instead.

Returns:

Deprecated:
Deprecated in NX7.5.0.


Created in NX6.0.0.

License requirements : None

Gets the registered feature types
Created in NX6.0.0.



License requirements : None

Parameters:
featureTypesfeature types

Returns the geometry search.

Returns:

Created in NX7.5.0.

License requirements : None

Returns the flag indicating whether found features are checked agains existing features.

If this flag is set then features are recognized even if they match existing features.
Created in NX7.5.0.

License requirements : None

Returns the flag indicating whether to ignore warnings while finding features.


Created in NX7.5.0.

License requirements : None

Returns the limited set of faces to search in
Created in NX6.0.0.



License requirements : None

Returns the manual feature builder list
Created in NX6.0.0.



License requirements : None

NXOpen::CAM::CAMFeature* NXOpen::CAM::FeatureRecognitionBuilder::MakeFeature ( const NXString featureName,
const std::vector< NXOpen::Face * > &  faces,
const std::vector< NXOpen::Face * > &  wallFaces,
bool  deleteFeatures 
)

Creates a feature based on name, floor and wall faces.

Returns:

Created in NX7.5.0.

License requirements : None
Parameters:
featureNamename of new feature
NOTE: The full Unicode character set is not supported for this parameter.
facesfloor faces of new feature
wallFaceswall faces of new feature
deleteFeaturesDeletes previous found features

Returns the flag indicating whether features will be mapped to other features if possible
Created in NX6.0.0.



License requirements : None

Returns the type of feature search
Created in NX6.0.0.



License requirements : None

Finds manufacturing features
This method is deprecated.

Use CAM::FeatureRecognitionBuilder::FindFeatures instead.

Returns:
The found features
Deprecated:
Deprecated in NX7.5.0.


Created in NX6.0.0.

License requirements : None

Returns the bodies to search

Deprecated:
Deprecated in NX7.5.0.



Created in NX6.0.0.

License requirements : None

Sets the flag indicating whether features will get attributes added of enclosed modeling features
Created in NX7.5.2.



License requirements : None

Parameters:
addCadAttributesadd cad attributes

Sets the flag indicating whether features will get a color assigned if their faces have a unique color that is different from the body color
Created in NX6.0.0.



License requirements : None

Parameters:
assignColorassign color

Sets the method of body selection

Deprecated:
Deprecated in NX7.5.0.



Created in NX6.0.0.

License requirements : None

Parameters:
cmbFindBodyTypecmbfindbodytype
void NXOpen::CAM::FeatureRecognitionBuilder::SetFeatureTypes ( std::vector< NXString > &  featureTypes)

Sets the feature types used by the recognizer
Created in NX6.0.0.



License requirements : None

Parameters:
featureTypes
NOTE: The full Unicode character set is not supported for this parameter.

Sets the method of geometry search
Created in NX7.5.0.



License requirements : None

Parameters:
geometrySearchgeometry search

Sets the flag indicating whether found features are checked agains existing features.

If this flag is set then features are recognized even if they match existing features.
Created in NX7.5.0.

License requirements : None

Parameters:
ignoreExistingFeaturesignore existing features

Sets the flag indicating whether to ignore warnings while finding features.


Created in NX7.5.0.

License requirements : None

Parameters:
ignoreWarningsignore warnings
void NXOpen::CAM::FeatureRecognitionBuilder::SetMachiningAccessDirection ( const std::vector< NXOpen::Direction * > &  vecDirections,
double  dTolerance 
)

Set the machining access direction to exact or approximate vector
Created in NX8.0.1.



License requirements : None

Parameters:
vecDirectionsvecdirections
dTolerancedtolerance

Set the machining access direction to toward or away from point
Created in NX8.0.1.



License requirements : None

Parameters:
focalPtfocalpt
bIsTowardPtbistowardpt

Sets the flag indicating whether features will be mapped to other features if possible
Created in NX6.0.0.



License requirements : None

Parameters:
mapFeaturesmap features

Sets the type of feature search
Created in NX6.0.0.



License requirements : None

Parameters:
recognitionTyperecognition type

Sets the geometry to search
Created in NX7.5.0.



License requirements : None

Parameters:
objectsobjects

Sets the flag indicating whether the feature name will be used as feature type
Created in NX6.0.0.



License requirements : None

Parameters:
useFeatureNameAsTypeuse feature name as type

Sets the machining access direction vector

Deprecated:
Deprecated in NX8.0.1.



Created in NX6.0.0.

License requirements : None

Parameters:
vecDirectionvecdirection

Returns the flag indicating whether the feature name will be used as feature type
Created in NX6.0.0.



License requirements : None

Returns the machining access direction vector

Deprecated:
Deprecated in NX8.0.1.



Created in NX6.0.0.

License requirements : None


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