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 | AddNewFeatureType (const char *name, const char *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. | |
void | AddNewRule (const char *name, const char *libraryPath, const char *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 | RemoveFeatureType (const char *name) |
Removes a feature type Created in NX8.0.0. | |
void | RemoveRule (const NXString &path) |
Removes a rule Created in NX8.0.0. | |
void | RemoveRule (const char *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 | RenameFeatureType (const char *name, const char *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. | |
void | RenameRule (const char *path, const char *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 | SetRulePath (const char *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. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
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::AddNewFeatureType | ( | const char * | name, |
const char * | 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 |
void NXOpen::CAM::FeatureTeaching::AddNewRule | ( | const char * | name, |
const char * | libraryPath, | ||
const char * | 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.
NXString NXOpen::CAM::FeatureTeaching::GetRulePath | ( | ) |
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::RemoveFeatureType | ( | const char * | 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::RemoveRule | ( | const char * | 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::RenameFeatureType | ( | const char * | name, |
const char * | newName | ||
) |
Renames a feature type
Created in NX8.0.0.
License requirements : fbm_author ("FBM Author")
name | name |
newName | new name |
Renames a rule
Created in NX8.0.0.
License requirements : fbm_author ("FBM Author")
path | path |
newName | new name |
void NXOpen::CAM::FeatureTeaching::RenameRule | ( | const char * | path, |
const char * | 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::SetRulePath | ( | const char * | 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.