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

Logs validation results and details for Validate.CheckerDefinition . More...

Inheritance diagram for NXOpen.Validate.Logger:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Member Functions

unsafe void LogNXObject (NXOpen.Validation.Result result, NXOpen.NXObject anObject)
 Logs a validation result and a NXObject as validation result detail. More...
 
unsafe void LogNXObject (NXOpen.Validation.Result result, NXOpen.NXObject anObject, string message)
 Logs a validation result and a NXObject as validation result detail. More...
 
unsafe void LogNXObject (NXOpen.Validation.Result result, NXOpen.NXObject anObject, string message, string objectName, NXOpen.Point3d[] referencePoints, NXOpen.Vector3d[] referenceVectors)
 Logs a validation result and a NXObject as validation result detail. More...
 
unsafe NXOpen.Validate.Logger LogNXObjectSet (string name, string message)
 Logs a set of NXObject in a child logger. More...
 
unsafe void LogResult (NXOpen.Validation.Result result, string message)
 Logs a validation result with descriptive message. More...
 
- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

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

Additional Inherited Members

- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 

Detailed Description

Logs validation results and details for Validate.CheckerDefinition .

Created in NX1899.0.0

Member Function Documentation

override void NXOpen.Validate.Logger.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 NX1899.0.0

License requirements: None.

Implements NXOpen.TransientObject.

unsafe void NXOpen.Validate.Logger.LogNXObject ( NXOpen.Validation.Result  result,
NXOpen.NXObject  anObject 
)
inline

Logs a validation result and a NXObject as validation result detail.

Created in NX1899.0.0

License requirements: ug_checkmate ("UG Check Mate")

Parameters
resultThe validation result.
anObjectThe object to be logged as validation result detail.
unsafe void NXOpen.Validate.Logger.LogNXObject ( NXOpen.Validation.Result  result,
NXOpen.NXObject  anObject,
string  message 
)
inline

Logs a validation result and a NXObject as validation result detail.

Created in NX1899.0.0

License requirements: ug_checkmate ("UG Check Mate")

Parameters
resultThe validation result.
anObjectThe object to be logged as validation result detail.
messageThe message describing the object as a validation result.
unsafe void NXOpen.Validate.Logger.LogNXObject ( NXOpen.Validation.Result  result,
NXOpen.NXObject  anObject,
string  message,
string  objectName,
NXOpen.Point3d[]  referencePoints,
NXOpen.Vector3d[]  referenceVectors 
)
inline

Logs a validation result and a NXObject as validation result detail.

Created in NX1899.0.0

License requirements: ug_checkmate ("UG Check Mate")

Parameters
resultThe validation result.
anObjectThe object to be logged as validation result detail.
messageThe message describing the object as a validation result.
objectNameThe display name of the object. If not specified, the system will assign one.
referencePointsThe reference points for the object. Useful for geometric validation.
referenceVectorsThe reference vectors for the object. Useful for geometric validation.
unsafe NXOpen.Validate.Logger NXOpen.Validate.Logger.LogNXObjectSet ( string  name,
string  message 
)
inline

Logs a set of NXObject in a child logger.

objSetLogger = logger.LogNXObjectSet("Failed Bodies", "The connection locations conflict with the constraints.");
' the objSetLogger is a child of the logger.
objSetLogger.LogNXObject(Validation.Result.Failed, body1 );
objSetLogger.LogNXObject(Validation.Result.Failed, body2 );

Created in NX1899.0.0

License requirements: ug_checkmate ("UG Check Mate")

Parameters
nameThe name of the set.
messageThe message describing the set.
Returns
The child logger that is created.
unsafe void NXOpen.Validate.Logger.LogResult ( NXOpen.Validation.Result  result,
string  message 
)
inline

Logs a validation result with descriptive message.

Created in NX1899.0.0

License requirements: ug_checkmate ("UG Check Mate")

Parameters
resultThe validation result.
messageThe message describing the validation result.

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