NX Open C++ Reference Guide
|
Represents comparison result
Created in NX9.0.0.
More...
Public Types | |
enum | Category { CategoryCreate, CategoryUpdateAttributes, CategoryUpdateParts, CategoryMove, CategoryDelete, CategoryCreateConflict, CategoryMoveConflict, CategoryNotFoundConflict, CategoryNoAction } |
Defines categories of comparison results. More... | |
Public Member Functions | |
NXOpen::Mechatronics::LogicObject * | ConflictLogicalObject () |
Returns the conflict logical object from the comparison result Created in NX9.0.0. | |
void | GetAttributes (std::vector< NXOpen::Mechatronics::ComparisonResultAttribute * > &attributes) |
Gets a list of attributes from the comparison result Created in NX9.0.0. | |
void | GetElectricalParts (std::vector< NXOpen::Mechatronics::ComparisonResultElectricalPart * > &electricalParts) |
Gets a list of electrical parts from the comparison result Created in NX9.0.0. | |
NXOpen::Mechatronics::LogicObject * | LogicalObject () |
Returns the logical object from the comparison result Created in NX9.0.0. | |
NXOpen::Mechatronics::ComparisonResult::Category | ResultCategory () |
Returns the category from the comparison result Created in NX9.0.0. | |
NXString | ResultName () |
Returns the name from the comparison result Created in NX9.0.0. | |
NXString | ResultType () |
Returns the type from the comparison result Created in NX9.0.0. | |
void | SetConflictLogicalObject (NXOpen::Mechatronics::LogicObject *conflictLogicalObject) |
Sets the conflict logical object from the comparison result Created in NX9.0.0. | |
void | SetLogicalObject (NXOpen::Mechatronics::LogicObject *logicalObject) |
Sets the logical object from the comparison result Created in NX9.0.0. | |
void | SetResultCategory (NXOpen::Mechatronics::ComparisonResult::Category category) |
Sets the category from the comparison result Created in NX9.0.0. | |
virtual | ~ComparisonResult () |
Frees the object from memory. | |
![]() | |
bool | Ignored () |
Returns the flag marked if the object will be ingored when applying it to logical model Created in NX9.0.0. | |
void | SetIgnored (bool isIgnored) |
Sets the flag marked if the object will be ingored when applying it to logical model Created in NX9.0.0. | |
virtual | ~ComparisonResultBase () |
Frees the object from memory. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents comparison result
Created in NX9.0.0.
Defines categories of comparison results.
CategoryCreate |
Create category. |
CategoryUpdateAttributes |
Update Attributes category. |
CategoryUpdateParts |
Update Parts category. |
CategoryMove |
Move category. |
CategoryDelete |
Delete category. |
CategoryCreateConflict |
Conflict from Create category. |
CategoryMoveConflict |
Conflict from Move category. |
CategoryNotFoundConflict |
Conflict due to the original logical object was deleted. |
CategoryNoAction |
No Action Required. |
|
virtual |
Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX9.0.0.
License requirements : None
NXOpen::Mechatronics::LogicObject* NXOpen::Mechatronics::ComparisonResult::ConflictLogicalObject | ( | ) |
Returns the conflict logical object from the comparison result
Created in NX9.0.0.
License requirements : None
void NXOpen::Mechatronics::ComparisonResult::GetAttributes | ( | std::vector< NXOpen::Mechatronics::ComparisonResultAttribute * > & | attributes | ) |
Gets a list of attributes from the comparison result
Created in NX9.0.0.
License requirements : None
attributes | Array of attributes |
void NXOpen::Mechatronics::ComparisonResult::GetElectricalParts | ( | std::vector< NXOpen::Mechatronics::ComparisonResultElectricalPart * > & | electricalParts | ) |
Gets a list of electrical parts from the comparison result
Created in NX9.0.0.
License requirements : None
electricalParts | Array of electrical parts |
NXOpen::Mechatronics::LogicObject* NXOpen::Mechatronics::ComparisonResult::LogicalObject | ( | ) |
Returns the logical object from the comparison result
Created in NX9.0.0.
License requirements : None
NXOpen::Mechatronics::ComparisonResult::Category NXOpen::Mechatronics::ComparisonResult::ResultCategory | ( | ) |
Returns the category from the comparison result
Created in NX9.0.0.
License requirements : None
NXString NXOpen::Mechatronics::ComparisonResult::ResultName | ( | ) |
Returns the name from the comparison result
Created in NX9.0.0.
License requirements : None
NXString NXOpen::Mechatronics::ComparisonResult::ResultType | ( | ) |
Returns the type from the comparison result
Created in NX9.0.0.
License requirements : None
void NXOpen::Mechatronics::ComparisonResult::SetConflictLogicalObject | ( | NXOpen::Mechatronics::LogicObject * | conflictLogicalObject | ) |
Sets the conflict logical object from the comparison result
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
conflictLogicalObject | Conflict logical object of comparison result |
void NXOpen::Mechatronics::ComparisonResult::SetLogicalObject | ( | NXOpen::Mechatronics::LogicObject * | logicalObject | ) |
Sets the logical object from the comparison result
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
logicalObject | Logical object of comparison result |
void NXOpen::Mechatronics::ComparisonResult::SetResultCategory | ( | NXOpen::Mechatronics::ComparisonResult::Category | category | ) |
Sets the category from the comparison result
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
category | Category of comparison result |