ComparisonResultContext Class¶
-
class
NXOpen.Mechatronics.
ComparisonResultContext
¶ Bases:
NXOpen.Mechatronics.ComparisonResultBase
Represents context of comparison results
New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
EcadProjectId | Returns the ECAD project ID from the comparison context |
Ignored | Returns or sets the flag marked if the object will be ingored when applying it to logical model |
PartName | Returns the part name from the comparison context |
Methods¶
Method | Description |
---|---|
Dispose | Frees the object from memory. |
GetResults | Gets a list of comparison results from the context |
ResolveConflictResult | Generates some new results to resolve the conflict |
Enumerations¶
ComparisonResultContextResolveConflictAction Enumeration | Defines actions for resolving conflicts |
Property Detail¶
Method Detail¶
Dispose¶
-
ComparisonResultContext.
Dispose
¶ 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.
Signature
Dispose()
New in version NX9.0.0.
License requirements: None.
GetResults¶
-
ComparisonResultContext.
GetResults
¶ Gets a list of comparison results from the context
Signature
GetResults()
Returns: Array of results Return type: list of NXOpen.Mechatronics.ComparisonResult
New in version NX9.0.0.
License requirements: None.
ResolveConflictResult¶
-
ComparisonResultContext.
ResolveConflictResult
¶ Generates some new results to resolve the conflict
Signature
ResolveConflictResult(conflictResult, action)
Parameters: - conflictResult (
NXOpen.Mechatronics.ComparisonResult
) – - action (
NXOpen.Mechatronics.ComparisonResultContextResolveConflictAction
) –
Returns: Array of new generated results
Return type: New in version NX9.0.0.
License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)
- conflictResult (