NX Open C++ Reference Guide
|
Represents Product Matching Rules class builder
To create a new instance of this class, use NXOpen::AME::AMEManager::CreateProductMatchingRulesBuilder
Created in NX11.0.0.
More...
Public Types | |
enum | Condition { ConditionValueIsEqual, ConditionMatch } |
Represents matching rule condition. More... | |
Public Member Functions | |
void | AddNewRule (int index, const NXString &propertyName, NXOpen::AME::ProductMatchingRulesBuilder::Condition condition, const NXString &deviceValue, const NXString &productValue) |
Add new product matching rule Created in NX11.0.0. More... | |
void | AddNewRule (int index, const char *propertyName, NXOpen::AME::ProductMatchingRulesBuilder::Condition condition, const char *deviceValue, const char *productValue) |
Add new product matching rule Created in NX11.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
Represents Product Matching Rules class builder
To create a new instance of this class, use NXOpen::AME::AMEManager::CreateProductMatchingRulesBuilder
Created in NX11.0.0.
void NXOpen::AME::ProductMatchingRulesBuilder::AddNewRule | ( | int | index, |
const NXString & | propertyName, | ||
NXOpen::AME::ProductMatchingRulesBuilder::Condition | condition, | ||
const NXString & | deviceValue, | ||
const NXString & | productValue | ||
) |
Add new product matching rule
Created in NX11.0.0.
License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")
index | index |
propertyName | propertyname |
condition | condition |
deviceValue | devicevalue |
productValue | productvalue |
void NXOpen::AME::ProductMatchingRulesBuilder::AddNewRule | ( | int | index, |
const char * | propertyName, | ||
NXOpen::AME::ProductMatchingRulesBuilder::Condition | condition, | ||
const char * | deviceValue, | ||
const char * | productValue | ||
) |
Add new product matching rule
Created in NX11.0.0.
License requirements : ad_automation_design ("FULL AUTOMATION DESIGNER")
index | index |
propertyName | propertyname |
condition | condition |
deviceValue | devicevalue |
productValue | productvalue |