smartinspectpython.sidataviewercontext

Module: sidataviewercontext.py

Revision History

Date Version Description
2023/05/30 3.0.0.0 Initial Version.

@export
class SIDataViewerContext(smartinspectpython.sitextcontext.SITextContext):

Represents the data viewer in the Console which can display simple and unformatted text.

The data viewer in the Console interprets the Log Entry Data as text and displays it in a read-only text field.

You can use this class for creating custom log methods around SISession.LogCustomContext(string, SILogEntryType, SIViewerContext) for sending custom text data.

Threadsafety:

This class is not guaranteed to be thread-safe.

SIDataViewerContext()

Initializes a new instance of the class with a Data SIViewerId value.