NX Open C++ Reference Guide
|
Represents context of comparison results
Created in NX9.0.0.
More...
Public Types | |
enum | ResolveConflictAction { ResolveConflictActionIgnore, ResolveConflictActionCreate, ResolveConflictActionUpdate } |
Defines actions for resolving conflicts. More... | |
Public Member Functions | |
NXString | EcadProjectId () |
Returns the ECAD project ID from the comparison context Created in NX9.0.0. | |
void | GetResults (std::vector< NXOpen::Mechatronics::ComparisonResult * > &results) |
Gets a list of comparison results from the context Created in NX9.0.0. | |
NXString | PartName () |
Returns the part name from the comparison context Created in NX9.0.0. | |
void | ResolveConflictResult (NXOpen::Mechatronics::ComparisonResult *conflictResult, NXOpen::Mechatronics::ComparisonResultContext::ResolveConflictAction action, std::vector< NXOpen::Mechatronics::ComparisonResult * > &replacements) |
Generates some new results to resolve the conflict Created in NX9.0.0. | |
virtual | ~ComparisonResultContext () |
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 context of comparison results
Created in NX9.0.0.
Defines actions for resolving conflicts.
ResolveConflictActionIgnore |
Ignore action. |
ResolveConflictActionCreate |
Create action. |
ResolveConflictActionUpdate |
Update action. |
|
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
NXString NXOpen::Mechatronics::ComparisonResultContext::EcadProjectId | ( | ) |
Returns the ECAD project ID from the comparison context
Created in NX9.0.0.
License requirements : None
void NXOpen::Mechatronics::ComparisonResultContext::GetResults | ( | std::vector< NXOpen::Mechatronics::ComparisonResult * > & | results | ) |
Gets a list of comparison results from the context
Created in NX9.0.0.
License requirements : None
results | Array of results |
NXString NXOpen::Mechatronics::ComparisonResultContext::PartName | ( | ) |
Returns the part name from the comparison context
Created in NX9.0.0.
License requirements : None
void NXOpen::Mechatronics::ComparisonResultContext::ResolveConflictResult | ( | NXOpen::Mechatronics::ComparisonResult * | conflictResult, |
NXOpen::Mechatronics::ComparisonResultContext::ResolveConflictAction | action, | ||
std::vector< NXOpen::Mechatronics::ComparisonResult * > & | replacements | ||
) |
Generates some new results to resolve the conflict
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
conflictResult | conflictresult |
action | action |
replacements | Array of new generated results |