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

Represents a FeatureTeaching Builder
To create a new instance of this class, use CAM::CAMSetup::CreateFeatureTeaching

Created in NX8.0.0. More...

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

List of all members.

Public Types

enum  RuleMatchOptionType { RuleMatchOptionTypePmiConds = 1, RuleMatchOptionTypeGeomAttrs, RuleMatchOptionTypeGeomNames = 4, RuleMatchOptionTypeFaceColors = 8 }
 Rule Option types. More...

Public Member Functions

void AddNewFeatureType (const NXString &name, const NXString &superName)
 Adds a new feature type
Created in NX8.0.0.
void AddNewRule (const NXString &name, const NXString &libraryPath, const NXString &featureTypeName)
 Adds a new rule
Created in NX8.0.0.
std::vector
< NXOpen::DisplayableObject * > 
GetFaces ()
 Gets the selected faces.
NXString GetRulePath ()
 Gets the selected rule path.
void RemoveFeatureType (const NXString &name)
 Removes a feature type
Created in NX8.0.0.
void RemoveRule (const NXString &path)
 Removes a rule
Created in NX8.0.0.
void RenameFeatureType (const NXString &name, const NXString &newName)
 Renames a feature type
Created in NX8.0.0.
void RenameRule (const NXString &path, const NXString &newName)
 Renames a rule
Created in NX8.0.0.
NXOpen::CAM::FeatureTeaching::RuleMatchOptionType RuleMatchOptions ()
 Returns the rule options
Created in NX8.0.0.
void SetFaces (const std::vector< NXOpen::DisplayableObject * > &aFaces)
 Sets the selected faces
Created in NX8.0.0.
void SetRuleMatchOptions (NXOpen::CAM::FeatureTeaching::RuleMatchOptionType options)
 Sets the rule options
Created in NX8.0.0.
void SetRulePath (const NXString &path)
 Sets the selected rule path
Created in NX8.0.0.
void Teach ()
 Teaches the new feature
Created in NX8.0.0.
std::vector
< NXOpen::CAM::CAMFeature * > 
Test ()
 Tests the new feature.

Detailed Description

Represents a FeatureTeaching Builder
To create a new instance of this class, use CAM::CAMSetup::CreateFeatureTeaching

Created in NX8.0.0.



Member Enumeration Documentation

Rule Option types.

Enumerator:
RuleMatchOptionTypeGeomAttrs 

geom attrs


Member Function Documentation

void NXOpen::CAM::FeatureTeaching::AddNewFeatureType ( const NXString name,
const NXString superName 
)

Adds a new feature type
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Parameters:
namename
superNamesuper name
void NXOpen::CAM::FeatureTeaching::AddNewRule ( const NXString name,
const NXString libraryPath,
const NXString featureTypeName 
)

Adds a new rule
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Parameters:
namename
libraryPathlibrary path
featureTypeNamefeature type name

Gets the selected faces.

Returns:

Created in NX8.0.0.

License requirements : fbm_author ("FBM Author")

Gets the selected rule path.

Returns:

Created in NX8.0.0.

License requirements : fbm_author ("FBM Author")

Removes a feature type
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Parameters:
namename

Removes a rule
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Parameters:
pathpath
void NXOpen::CAM::FeatureTeaching::RenameFeatureType ( const NXString name,
const NXString newName 
)

Renames a feature type
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Parameters:
namename
newNamenew name
void NXOpen::CAM::FeatureTeaching::RenameRule ( const NXString path,
const NXString newName 
)

Renames a rule
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Parameters:
pathpath
newNamenew name

Returns the rule options
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

void NXOpen::CAM::FeatureTeaching::SetFaces ( const std::vector< NXOpen::DisplayableObject * > &  aFaces)

Sets the selected faces
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Parameters:
aFacesa faces

Sets the rule options
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Parameters:
optionsoptions

Sets the selected rule path
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Parameters:
pathpath

Teaches the new feature
Created in NX8.0.0.



License requirements : fbm_author ("FBM Author")

Tests the new feature.

Returns:

Created in NX8.0.0.

License requirements : fbm_author ("FBM Author")

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