NX Open C++ Reference Guide
|
Represents a FeatureTeaching Builder
To create a new instance of this class, use CAM::CAMSetup::CreateFeatureTeaching
Created in NX8.0.0.
More...
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. |
Represents a FeatureTeaching Builder
To create a new instance of this class, use CAM::CAMSetup::CreateFeatureTeaching
Created in NX8.0.0.
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")
name | name |
superName | super 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")
name | name |
libraryPath | library path |
featureTypeName | feature type name |
std::vector<NXOpen::DisplayableObject *> NXOpen::CAM::FeatureTeaching::GetFaces | ( | ) |
Gets the selected faces.
Gets the selected rule path.
void NXOpen::CAM::FeatureTeaching::RemoveFeatureType | ( | const NXString & | name | ) |
Removes a feature type
Created in NX8.0.0.
License requirements : fbm_author ("FBM Author")
name | name |
void NXOpen::CAM::FeatureTeaching::RemoveRule | ( | const NXString & | path | ) |
Removes a rule
Created in NX8.0.0.
License requirements : fbm_author ("FBM Author")
path | path |
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")
name | name |
newName | new 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")
path | path |
newName | new name |
NXOpen::CAM::FeatureTeaching::RuleMatchOptionType NXOpen::CAM::FeatureTeaching::RuleMatchOptions | ( | ) |
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")
aFaces | a faces |
void NXOpen::CAM::FeatureTeaching::SetRuleMatchOptions | ( | NXOpen::CAM::FeatureTeaching::RuleMatchOptionType | options | ) |
Sets the rule options
Created in NX8.0.0.
License requirements : fbm_author ("FBM Author")
options | options |
void NXOpen::CAM::FeatureTeaching::SetRulePath | ( | const NXString & | path | ) |
Sets the selected rule path
Created in NX8.0.0.
License requirements : fbm_author ("FBM Author")
path | path |
void NXOpen::CAM::FeatureTeaching::Teach | ( | ) |
Teaches the new feature
Created in NX8.0.0.
License requirements : fbm_author ("FBM Author")
std::vector<NXOpen::CAM::CAMFeature *> NXOpen::CAM::FeatureTeaching::Test | ( | ) |
Tests the new feature.