NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.Mechatronics.ComparisonResultContext Class Reference

Represents context of comparison results More...

Inheritance diagram for NXOpen.Mechatronics.ComparisonResultContext:
NXOpen.Mechatronics.ComparisonResultBase NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Types

enum  ResolveConflictAction { Ignore, Create, Update }
 Defines actions for resolving conflicts More...
 

Public Member Functions

unsafe void GetResults (out NXOpen.Mechatronics.ComparisonResult[] results)
 Gets a list of comparison results from the context More...
 
unsafe void ResolveConflictResult (NXOpen.Mechatronics.ComparisonResult conflictResult, NXOpen.Mechatronics.ComparisonResultContext.ResolveConflictAction action, out NXOpen.Mechatronics.ComparisonResult[] replacements)
 Generates some new results to resolve the conflict More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. More...
 

Properties

unsafe string EcadProjectId [get]
 Returns the ECAD project ID from the comparison context More...
 
unsafe string PartName [get]
 Returns the part name from the comparison context More...
 
- Properties inherited from NXOpen.Mechatronics.ComparisonResultBase
unsafe bool Ignored [get, set]
 Returns or sets the flag marked if the object will be ingored when applying it to logical model More...
 
- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Detailed Description

Represents context of comparison results

Created in NX9.0.0

Member Enumeration Documentation

Defines actions for resolving conflicts

Enumerator
Ignore 

Ignore action

Create 

Create action

Update 

Update action

Member Function Documentation

override void NXOpen.Mechatronics.ComparisonResultContext.FreeResource ( )
inlineprotectedvirtual

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.

Reimplemented from NXOpen.Mechatronics.ComparisonResultBase.

unsafe void NXOpen.Mechatronics.ComparisonResultContext.GetResults ( out NXOpen.Mechatronics.ComparisonResult[]  results)
inline

Gets a list of comparison results from the context

Created in NX9.0.0

License requirements: None.

Parameters
resultsArray of results
unsafe void NXOpen.Mechatronics.ComparisonResultContext.ResolveConflictResult ( NXOpen.Mechatronics.ComparisonResult  conflictResult,
NXOpen.Mechatronics.ComparisonResultContext.ResolveConflictAction  action,
out NXOpen.Mechatronics.ComparisonResult[]  replacements 
)
inline

Generates some new results to resolve the conflict

Created in NX9.0.0

License requirements: nx_mcd_core ("Mechatronics Concept Designer")

Parameters
conflictResult
action
replacementsArray of new generated results

Property Documentation

unsafe string NXOpen.Mechatronics.ComparisonResultContext.EcadProjectId
get

Returns the ECAD project ID from the comparison context

Created in NX9.0.0

License requirements: None.

unsafe string NXOpen.Mechatronics.ComparisonResultContext.PartName
get

Returns the part name from the comparison context

Created in NX9.0.0

License requirements: None.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.