    

 ## On this page

  

 

 # ensight\_grpc.EnSightGRPC Class Reference

 Last update: 16.07.2025 

Python binding for the EnSight client gRPC API. [More...](#details)

Inheritance diagram for ensight_grpc.EnSightGRPC:

 ![](/sites/default/files/migrate-content/ensight_2025_r2_1/classensight__grpc_1_1_en_sight_g_r_p_c.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [\_\_init\_\_](#a8d059169e231ebc10a0467ee2ba5fec2) (self, [port](#a5f70502660ffb9346fe54f087bebaa31)=12345, [host](#a81fd18bb67b4f81fb1cab9b5d6ecee99)='127.0.0.1', version='') create an instance of the EnSight gRPC interface wrapper   
  [host](#a81fd18bb67b4f81fb1cab9b5d6ecee99) (self) get the hostname for this connection   
  [port](#a5f70502660ffb9346fe54f087bebaa31) (self) get the port number for this connection   
  [set\_security\_token](#a0cd63b73616a71f1f628fec85485f6ee) (self, n) set the security token for the gRPC connection.   
  [security\_token](#a80081863c31f5d1e9924c110506122ab) (self) return the security token for the gRPC connection.   
  [shutdown](#aa197d33f6ae11c27024ace93f875cf2b) (self) shut down all gRPC connections   
  [start\_server](#ae8bda9000df12ffa158c3b99a2bb25c2) (self) Start an EnSight gRPC server instance.   
  [stop\_server](#a7aab74443c5c3f7833ff8934c8341167) (self) shut down any gPRC connection made by this class   
  [is\_connected](#aeedd915d0824e94193e8ce5af0fd02ff) (self) check if a gRPC connection has been established   
  [connect](#a4f2fc7d6c856d4dcf6f2e3e231363798) (self, timeout=15.0) establish a connection to an EnSight gRPC server   
  [render](#a0586cf3dc58ad8dcb132ac786ff82e19) (self, width=640, height=480, aa=1, raw=False, highlighting=False) render the current EnSight screen and return the image   
  [geometry](#a9546b51614d2d88cabeaba4551218a36) (self) return the current scene geometry in glTF format   
  [command](#a10bf46c7b7de39dc76a69a8873badbd7) (self, command\_string, do\_eval=True, json=False, raw\_eval=False) send a Python command string to be executed in EnSight   
  [image\_stream\_enable](#a2edadc71c7d20b1d1e9872a9f7f01ab3) (self, flip\_vertical=False) enable a simple gRPC-based image stream from EnSight   
  [get\_image](#a5a0f0f154bd96f67e0edadcbb58a3a2e) (self) retrieve the current EnSight image   
  [image\_stream\_is\_enabled](#a379795a64f880d99d2431a2630b563b6) (self) check to see if the image stream is enabled   
  [prefix](#a5d3b64348df49096a0dbde149139f879) (self) return the unique prefix for this instance   
  [event\_stream\_enable](#a7dc80e5f8aa8725d5c6fa7e3f1a59d31) (self, callback=None, [prefix](#a5d3b64348df49096a0dbde149139f879)=None) enable a simple gRPC-based event stream from EnSight   
  [dynamic\_scene\_graph\_stream](#ab9b3a6b2ad658629f634f1edca7f9e52) (self, client\_cmds) open up a dynamic scene graph stream   
  [event\_stream\_is\_enabled](#a28a17851622d8b1bec1761e7cec3f72b) (self) check to see if the event stream is enabled   
  [get\_event](#abeb5e016abf00b41863f0d1504998302) (self) retrieve and remove the oldest ensightservice::EventReply string   
  [subscribe\_events](#a7b5e49fae332121d1e04d76d45a67137) (self) subscribe to an event stream using a locally launched gRPC server   
  [subscribe\_images](#ab85ca09445ac36ea1cfbd599c8809941) (self, flip\_vertical=False, use\_shmem=True) subscribe to an image stream   
  [unsubscribe](#a0445321eb920fd2e62a055a11d378d08) (self) unsubscribe from any image or event streams that have been subscribed to   
 ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

bool [\_image\_thread](#a660df97b19f908d161ac673c582465e1) = True int [\_image](#a15288e6ad79606e879dae75e97e4b152) = 1 bool [\_event\_thread](#adb6212d9d177108c32bfefa60fd16b88) = True ## <a id="pro-attribs" name="pro-attribs"></a>Protected Attributes

 [\_host](#acfa730cfcb568cc26f079996804ebb97) = [host](#a81fd18bb67b4f81fb1cab9b5d6ecee99)  [\_port](#a3288be89c9ab636283cb59df9fe0dc17) = [port](#a5f70502660ffb9346fe54f087bebaa31)  [\_pid](#abba6d94b9acc418d610e900aecbfd23c) = None  [\_channel](#abb7212c7e4ad9e7ef398bf5e13f15fb8) = None  [\_stub](#a8d6e08882d55ce3c7fbd837bedfc0d98) = None  [\_dsg\_stub](#a44561d8bec5adfc5fe51978b5f4dd6fb) = None  [\_version](#a4ed120bd2b7a2a477bf0c19dc1765fce) = version  [\_security\_token](#aec4f4d61de4dfe799e620a005945a016) = str(random.randint(0, 1000000))  [\_image\_stream](#aefa2e7fffb9d88723e08ca8a17b56b62) = None  [\_image\_thread](#a660df97b19f908d161ac673c582465e1) = None  [\_image](#a6e8208612ce6492e8702f0fcdfe32901) = None int [\_image\_number](#a318cc014659eca5cb27f7ca79bda0fe9) = 0  [\_shmem\_client](#a7cc44f4eb01c9bfe14a17d01dc8d8d36) = None  [\_shmem\_filename](#afb65fb2ac55da0dfc23022eb188656fc) = None  [\_event\_stream](#ade63e1260b8690a73b72f2d65b561096) = None  [\_event\_thread](#a98f82222b0e4dcbf23f28ed20168a94e) = None  [\_events](#ac385f5b18232bcec204b028221602427) = list() str [\_prefix](#a3315104c5127852b071df26be56ed10e) = None  [\_sub\_service](#aa94401a916262c38e1173cca04c9390c) = None  [\_event\_callback](#a54868c3a59ac189e258285885a48f65e) = None <a id="details" name="details"></a>## Detailed Description

Python binding for the EnSight client gRPC API.

This class provides an asynchronous interface to the EnSight core gRPC interface. It can handle remote image and event streams, providing a much simpler interface to the EnSight application

Definition at line [35](ensight__grpc_8py_source.html#l00035) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).



## Constructor &amp; Destructor Documentation

<a id="a8d059169e231ebc10a0467ee2ba5fec2" name="a8d059169e231ebc10a0467ee2ba5fec2"></a>## [◆ ](#a8d059169e231ebc10a0467ee2ba5fec2)\_\_init\_\_()

 ensight\_grpc.EnSightGRPC.\_\_init\_\_  (  *self*,     *port* = 12345,     *host* = '127.0.0.1',     *version* = '' )

create an instance of the EnSight gRPC interface wrapper

The default is to make a connection to an EnSight gRPC server on port 12345 on the loopback host. If requested to launch the server, it will be the current version.

Parameters portThe port number of the EnSight gRPC server hostThe hostname of the EnSight gRPC server versionA specific EnSight version number to run (e.g. '222' for 2022R2) Definition at line [45](ensight__grpc_8py_source.html#l00045) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





## Member Function Documentation

<a id="a10bf46c7b7de39dc76a69a8873badbd7" name="a10bf46c7b7de39dc76a69a8873badbd7"></a>## [◆ ](#a10bf46c7b7de39dc76a69a8873badbd7)command()

 ensight\_grpc.EnSightGRPC.command  (  *self*,     *command\_string*,     *do\_eval* = True,     *json* = False,     *raw\_eval* = False )

send a Python command string to be executed in EnSight

The string will be run or evaluated in the EnSight Python interpreter via the EnSightService::RunPython() gRPC all. If an exception or other error occurs, this function will throw a RuntimeError. If do\_eval is False, the return value will be None, otherwise it will be the result of eval() of the string.

Parameters command\_stringthe string to be executed do\_evalif True, the string will be run via "eval()" and the results returned jsonIf true, the value returned with do\_eval() will be encoded via json, otherwise it will be a Python object Definition at line [254](ensight__grpc_8py_source.html#l00254) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a4f2fc7d6c856d4dcf6f2e3e231363798" name="a4f2fc7d6c856d4dcf6f2e3e231363798"></a>## [◆ ](#a4f2fc7d6c856d4dcf6f2e3e231363798)connect()

 ensight\_grpc.EnSightGRPC.connect  (  *self*,     *timeout* = 15.0 )

establish a connection to an EnSight gRPC server

Attempt to connect to an EnSight gRPC server using the host and port established by the constructor. Note on failure, this function just returns, but [is\_connected()](#aeedd915d0824e94193e8ce5af0fd02ff "check if a gRPC connection has been established") will return False.

Parameters timeouthow long to wait for the connection to timeout. Definition at line [177](ensight__grpc_8py_source.html#l00177) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="ab9b3a6b2ad658629f634f1edca7f9e52" name="ab9b3a6b2ad658629f634f1edca7f9e52"></a>## [◆ ](#ab9b3a6b2ad658629f634f1edca7f9e52)dynamic\_scene\_graph\_stream()

 ensight\_grpc.EnSightGRPC.dynamic\_scene\_graph\_stream  (  *self*,     *client\_cmds* )

open up a dynamic scene graph stream

Make a DynamicSceneGraphService::GetSceneStream() rpc call and return a ensightservice::SceneUpdateCommand stream instance.

Parameters client\_cmdsan iterator that produces ensightservice::SceneClientCommand objects Returnsa ensightservice::SceneUpdateCommand stream instance Definition at line [396](ensight__grpc_8py_source.html#l00396) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a7dc80e5f8aa8725d5c6fa7e3f1a59d31" name="a7dc80e5f8aa8725d5c6fa7e3f1a59d31"></a>## [◆ ](#a7dc80e5f8aa8725d5c6fa7e3f1a59d31)event\_stream\_enable()

 ensight\_grpc.EnSightGRPC.event\_stream\_enable  (  *self*,     *callback* = None,     *prefix* = None )

enable a simple gRPC-based event stream from EnSight

This method makes a EnSightService::GetEventStream() gRPC call into EnSight, returning an ensightservice::EventReply stream. The method creates a thread to hold this stream open and read new events from it. The thread adds the event strings to a list of events stored on this instance. If callback is not None, the object will be called with the event string, otherwise they can be retrieved using [get\_event()](#abeb5e016abf00b41863f0d1504998302 "retrieve and remove the oldest ensightservice::EventReply string").

Definition at line [376](ensight__grpc_8py_source.html#l00376) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a28a17851622d8b1bec1761e7cec3f72b" name="a28a17851622d8b1bec1761e7cec3f72b"></a>## [◆ ](#a28a17851622d8b1bec1761e7cec3f72b)event\_stream\_is\_enabled()

 ensight\_grpc.EnSightGRPC.event\_stream\_is\_enabled  (  *self*) 

check to see if the event stream is enabled

If an event stream has been successfully established via [event\_stream\_enable()](#a7dc80e5f8aa8725d5c6fa7e3f1a59d31 "enable a simple gRPC-based event stream from EnSight"), then this function returns True

ReturnsTrue if a ensightservice::EventReply steam is active Definition at line [405](ensight__grpc_8py_source.html#l00405) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a9546b51614d2d88cabeaba4551218a36" name="a9546b51614d2d88cabeaba4551218a36"></a>## [◆ ](#a9546b51614d2d88cabeaba4551218a36)geometry()

 ensight\_grpc.EnSightGRPC.geometry  (  *self*) 

return the current scene geometry in glTF format

Package up the geometry currently being viewed in the EnSight session as a glTF stream. Return this stream as an array of byte. Note: no interrmediate files are utilized.

Definition at line [235](ensight__grpc_8py_source.html#l00235) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="abeb5e016abf00b41863f0d1504998302" name="abeb5e016abf00b41863f0d1504998302"></a>## [◆ ](#abeb5e016abf00b41863f0d1504998302)get\_event()

 ensight\_grpc.EnSightGRPC.get\_event  (  *self*) 

retrieve and remove the oldest ensightservice::EventReply string

When any of the event streaming systems is enabled, Python threads will receive the event records and store them in this instance in an ordered fashion. This method retrieves the oldest ensightservice::EventReply string in the queue.

Returnsthe even string or None if no events are available Definition at line [415](ensight__grpc_8py_source.html#l00415) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a5a0f0f154bd96f67e0edadcbb58a3a2e" name="a5a0f0f154bd96f67e0edadcbb58a3a2e"></a>## [◆ ](#a5a0f0f154bd96f67e0edadcbb58a3a2e)get\_image()

 ensight\_grpc.EnSightGRPC.get\_image  (  *self*) 

retrieve the current EnSight image

When any of the image streaming systems is enabled, Python threads will receive the most recent image and store them in this instance. The frame stored in this instance can be accessed by calling this method

Returnsthe image dict(pixels=bytearray, width=w, height=h) and the image frame number Definition at line [302](ensight__grpc_8py_source.html#l00302) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a81fd18bb67b4f81fb1cab9b5d6ecee99" name="a81fd18bb67b4f81fb1cab9b5d6ecee99"></a>## [◆ ](#a81fd18bb67b4f81fb1cab9b5d6ecee99)host()

 ensight\_grpc.EnSightGRPC.host  (  *self*) 

get the hostname for this connection

Returns the current connection hostname.

Definition at line [74](ensight__grpc_8py_source.html#l00074) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a2edadc71c7d20b1d1e9872a9f7f01ab3" name="a2edadc71c7d20b1d1e9872a9f7f01ab3"></a>## [◆ ](#a2edadc71c7d20b1d1e9872a9f7f01ab3)image\_stream\_enable()

 ensight\_grpc.EnSightGRPC.image\_stream\_enable  (  *self*,     *flip\_vertical* = False )

enable a simple gRPC-based image stream from EnSight

This method makes a EnSightService::GetImageStream() gRPC call into EnSight, returning an ensightservice::ImageReply stream. The method creates a thread to hold this stream open and read new image frames from it. The thread places the read images in this object. An external application can retrieve the most recent one using [get\_image()](#a5a0f0f154bd96f67e0edadcbb58a3a2e "retrieve the current EnSight image").

Parameters flip\_verticalIf True, the image will be flipped over the X axis before being sent from EnSight. Definition at line [284](ensight__grpc_8py_source.html#l00284) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a379795a64f880d99d2431a2630b563b6" name="a379795a64f880d99d2431a2630b563b6"></a>## [◆ ](#a379795a64f880d99d2431a2630b563b6)image\_stream\_is\_enabled()

 ensight\_grpc.EnSightGRPC.image\_stream\_is\_enabled  (  *self*) 

check to see if the image stream is enabled

If an image stream has been successfully established via [image\_stream\_enable()](#a2edadc71c7d20b1d1e9872a9f7f01ab3 "enable a simple gRPC-based image stream from EnSight"), then this function returns True

ReturnsTrue if a ensightservice::ImageReply steam is active Definition at line [354](ensight__grpc_8py_source.html#l00354) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="aeedd915d0824e94193e8ce5af0fd02ff" name="aeedd915d0824e94193e8ce5af0fd02ff"></a>## [◆ ](#aeedd915d0824e94193e8ce5af0fd02ff)is\_connected()

 ensight\_grpc.EnSightGRPC.is\_connected  (  *self*) 

check if a gRPC connection has been established

Returns True if a previous [connect()](#a4f2fc7d6c856d4dcf6f2e3e231363798 "establish a connection to an EnSight gRPC server") call made a valid gRPC connection.

Definition at line [168](ensight__grpc_8py_source.html#l00168) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a5f70502660ffb9346fe54f087bebaa31" name="a5f70502660ffb9346fe54f087bebaa31"></a>## [◆ ](#a5f70502660ffb9346fe54f087bebaa31)port()

 ensight\_grpc.EnSightGRPC.port  (  *self*) 

get the port number for this connection

Returns the current connection port number.

Definition at line [80](ensight__grpc_8py_source.html#l00080) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a5d3b64348df49096a0dbde149139f879" name="a5d3b64348df49096a0dbde149139f879"></a>## [◆ ](#a5d3b64348df49096a0dbde149139f879)prefix()

 ensight\_grpc.EnSightGRPC.prefix  (  *self*) 

return the unique prefix for this instance

Many of the EnSight gRPC APIs require a unique prefix so that EnSight can handle multiple, simultaneous remote connections. This method will generate a GUID-based prefix.

ReturnsA unique prefix string of the form: grpc://{uuid}/ Definition at line [363](ensight__grpc_8py_source.html#l00363) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a0586cf3dc58ad8dcb132ac786ff82e19" name="a0586cf3dc58ad8dcb132ac786ff82e19"></a>## [◆ ](#a0586cf3dc58ad8dcb132ac786ff82e19)render()

 ensight\_grpc.EnSightGRPC.render  (  *self*,     *width* = 640,     *height* = 480,     *aa* = 1,     *raw* = False,     *highlighting* = False )

render the current EnSight screen and return the image

Render the current scene at some resolution independent of the current EnSight scene view.

Parameters widthwidth in pixels heightheight in pixels aanumber of anti-aliasing passes rawIf True, the returned array will be width\*height\*3 bytes in size. If False, it will be a byte array in PNG format. highlightingIf True, the current dynamic selection/highlighting will be in the image Definition at line [215](ensight__grpc_8py_source.html#l00215) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a80081863c31f5d1e9924c110506122ab" name="a80081863c31f5d1e9924c110506122ab"></a>## [◆ ](#a80081863c31f5d1e9924c110506122ab)security\_token()

 ensight\_grpc.EnSightGRPC.security\_token  (  *self*) 

return the security token for the gRPC connection.

Returns the current connection security token

Definition at line [98](ensight__grpc_8py_source.html#l00098) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a0cd63b73616a71f1f628fec85485f6ee" name="a0cd63b73616a71f1f628fec85485f6ee"></a>## [◆ ](#a0cd63b73616a71f1f628fec85485f6ee)set\_security\_token()

 ensight\_grpc.EnSightGRPC.set\_security\_token  (  *self*,     *n* )

set the security token for the gRPC connection.

EnSight supports a security token in either numeric (-security {int}) or string (ENSIGHT\_SECURITY\_TOKEN environmental variable) form. If EnSight is using a security token, all gRPC calls must include this token. This call sets the token for all rGPC calls made by this class. Note: for this module, the security token must be a in bytes() format. For example: str(1000).encode("utf-8")

Parameters nan string to be used as the security token Definition at line [92](ensight__grpc_8py_source.html#l00092) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="aa197d33f6ae11c27024ace93f875cf2b" name="aa197d33f6ae11c27024ace93f875cf2b"></a>## [◆ ](#aa197d33f6ae11c27024ace93f875cf2b)shutdown()

 ensight\_grpc.EnSightGRPC.shutdown  (  *self*) 

shut down all gRPC connections

If this class launched the EnSight client instance, it will send the gRPC exit() call and then shut down all connections.

Definition at line [105](ensight__grpc_8py_source.html#l00105) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="ae8bda9000df12ffa158c3b99a2bb25c2" name="ae8bda9000df12ffa158c3b99a2bb25c2"></a>## [◆ ](#ae8bda9000df12ffa158c3b99a2bb25c2)start\_server()

 ensight\_grpc.EnSightGRPC.start\_server  (  *self*) 

Start an EnSight gRPC server instance.

If the host application wishes to launch an EnSight instance, [start\_server()](#ae8bda9000df12ffa158c3b99a2bb25c2 "Start an EnSight gRPC server instance.") will launch a batch mode EnSight application with the security token and a gRPC server started on the port passed in the constructor.

Definition at line [128](ensight__grpc_8py_source.html#l00128) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a7aab74443c5c3f7833ff8934c8341167" name="a7aab74443c5c3f7833ff8934c8341167"></a>## [◆ ](#a7aab74443c5c3f7833ff8934c8341167)stop\_server()

 ensight\_grpc.EnSightGRPC.stop\_server  (  *self*) 

shut down any gPRC connection made by this class

First, if this class launched the EnSight instance, via [start\_server()](#ae8bda9000df12ffa158c3b99a2bb25c2 "Start an EnSight gRPC server instance."), the exit() gRPC command will be sent. Second, the local gRPC connection is dropped.

Definition at line [153](ensight__grpc_8py_source.html#l00153) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a7b5e49fae332121d1e04d76d45a67137" name="a7b5e49fae332121d1e04d76d45a67137"></a>## [◆ ](#a7b5e49fae332121d1e04d76d45a67137)subscribe\_events()

 ensight\_grpc.EnSightGRPC.subscribe\_events  (  *self*) 

subscribe to an event stream using a locally launched gRPC server

This methond makes a EnSightService::SubscribeEvents() gRPC call, causing EnSight to make a reverse gRPC connection over with gRPC calls with the various events will be made.

Definition at line [471](ensight__grpc_8py_source.html#l00471) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="ab85ca09445ac36ea1cfbd599c8809941" name="ab85ca09445ac36ea1cfbd599c8809941"></a>## [◆ ](#ab85ca09445ac36ea1cfbd599c8809941)subscribe\_images()

 ensight\_grpc.EnSightGRPC.subscribe\_images  (  *self*,     *flip\_vertical* = False,     *use\_shmem* = True )

subscribe to an image stream

This methond makes a EnSightService::SubscribeImages() gRPC call. If use\_shmem is False, the transport system will be made over gRPC. It causes EnSight to make a reverse gRPC connection over with gRPC calls with the various images will be made. If use\_shmem is True (the default), the [EnSight gRPC Shared Memory Image Transport API](group__shmem.html) will be used.

Parameters flip\_verticalIf True, the image pixels will be flipped over the X axis use\_shmemIf True, use the shared memory transport, otherwise use reverse gRPC Definition at line [488](ensight__grpc_8py_source.html#l00488) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a0445321eb920fd2e62a055a11d378d08" name="a0445321eb920fd2e62a055a11d378d08"></a>## [◆ ](#a0445321eb920fd2e62a055a11d378d08)unsubscribe()

 ensight\_grpc.EnSightGRPC.unsubscribe  (  *self*) 

unsubscribe from any image or event streams that have been subscribed to

This method makes a EnSightService::Unsubscribe() gRPC call. It will cancel any [subscribe\_events()](#a7b5e49fae332121d1e04d76d45a67137 "subscribe to an event stream using a locally launched gRPC server") or [subscribe\_images()](#ab85ca09445ac36ea1cfbd599c8809941 "subscribe to an image stream") calls.

Definition at line [527](ensight__grpc_8py_source.html#l00527) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





## Member Data Documentation

<a id="abb7212c7e4ad9e7ef398bf5e13f15fb8" name="abb7212c7e4ad9e7ef398bf5e13f15fb8"></a>## [◆ ](#abb7212c7e4ad9e7ef398bf5e13f15fb8)\_channel

 ensight\_grpc.EnSightGRPC.\_channel = None  protected 

Definition at line [49](ensight__grpc_8py_source.html#l00049) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a44561d8bec5adfc5fe51978b5f4dd6fb" name="a44561d8bec5adfc5fe51978b5f4dd6fb"></a>## [◆ ](#a44561d8bec5adfc5fe51978b5f4dd6fb)\_dsg\_stub

 ensight\_grpc.EnSightGRPC.\_dsg\_stub = None  protected 

Definition at line [51](ensight__grpc_8py_source.html#l00051) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a54868c3a59ac189e258285885a48f65e" name="a54868c3a59ac189e258285885a48f65e"></a>## [◆ ](#a54868c3a59ac189e258285885a48f65e)\_event\_callback

 ensight\_grpc.EnSightGRPC.\_event\_callback = None  protected 

Definition at line [68](ensight__grpc_8py_source.html#l00068) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="ade63e1260b8690a73b72f2d65b561096" name="ade63e1260b8690a73b72f2d65b561096"></a>## [◆ ](#ade63e1260b8690a73b72f2d65b561096)\_event\_stream

 ensight\_grpc.EnSightGRPC.\_event\_stream = None  protected 

Definition at line [63](ensight__grpc_8py_source.html#l00063) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a98f82222b0e4dcbf23f28ed20168a94e" name="a98f82222b0e4dcbf23f28ed20168a94e"></a>## [◆ ](#a98f82222b0e4dcbf23f28ed20168a94e)\_event\_thread \[1/2\]

 ensight\_grpc.EnSightGRPC.\_event\_thread = None  protected 

Definition at line [64](ensight__grpc_8py_source.html#l00064) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="adb6212d9d177108c32bfefa60fd16b88" name="adb6212d9d177108c32bfefa60fd16b88"></a>## [◆ ](#adb6212d9d177108c32bfefa60fd16b88)\_event\_thread \[2/2\]

 bool ensight\_grpc.EnSightGRPC.\_event\_thread = True

Definition at line [386](ensight__grpc_8py_source.html#l00386) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="ac385f5b18232bcec204b028221602427" name="ac385f5b18232bcec204b028221602427"></a>## [◆ ](#ac385f5b18232bcec204b028221602427)\_events

 ensight\_grpc.EnSightGRPC.\_events = list()  protected 

Definition at line [65](ensight__grpc_8py_source.html#l00065) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="acfa730cfcb568cc26f079996804ebb97" name="acfa730cfcb568cc26f079996804ebb97"></a>## [◆ ](#acfa730cfcb568cc26f079996804ebb97)\_host

 ensight\_grpc.EnSightGRPC.\_host = [host](#a81fd18bb67b4f81fb1cab9b5d6ecee99)  protected 

Definition at line [46](ensight__grpc_8py_source.html#l00046) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a6e8208612ce6492e8702f0fcdfe32901" name="a6e8208612ce6492e8702f0fcdfe32901"></a>## [◆ ](#a6e8208612ce6492e8702f0fcdfe32901)\_image \[1/2\]

 ensight\_grpc.EnSightGRPC.\_image = None  protected 

Definition at line [58](ensight__grpc_8py_source.html#l00058) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a15288e6ad79606e879dae75e97e4b152" name="a15288e6ad79606e879dae75e97e4b152"></a>## [◆ ](#a15288e6ad79606e879dae75e97e4b152)\_image \[2/2\]

 int ensight\_grpc.EnSightGRPC.\_image = 1

Definition at line [312](ensight__grpc_8py_source.html#l00312) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a318cc014659eca5cb27f7ca79bda0fe9" name="a318cc014659eca5cb27f7ca79bda0fe9"></a>## [◆ ](#a318cc014659eca5cb27f7ca79bda0fe9)\_image\_number

 int ensight\_grpc.EnSightGRPC.\_image\_number = 0  protected 

Definition at line [59](ensight__grpc_8py_source.html#l00059) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="aefa2e7fffb9d88723e08ca8a17b56b62" name="aefa2e7fffb9d88723e08ca8a17b56b62"></a>## [◆ ](#aefa2e7fffb9d88723e08ca8a17b56b62)\_image\_stream

 ensight\_grpc.EnSightGRPC.\_image\_stream = None  protected 

Definition at line [56](ensight__grpc_8py_source.html#l00056) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a660df97b19f908d161ac673c582465e1" name="a660df97b19f908d161ac673c582465e1"></a>## [◆ ](#a660df97b19f908d161ac673c582465e1)\_image\_thread \[1/2\]

 bool ensight\_grpc.EnSightGRPC.\_image\_thread = None  protected 

Definition at line [57](ensight__grpc_8py_source.html#l00057) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a660df97b19f908d161ac673c582465e1" name="a660df97b19f908d161ac673c582465e1"></a>## [◆ ](#a660df97b19f908d161ac673c582465e1)\_image\_thread \[2/2\]

 bool ensight\_grpc.EnSightGRPC.\_image\_thread = True

Definition at line [291](ensight__grpc_8py_source.html#l00291) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="abba6d94b9acc418d610e900aecbfd23c" name="abba6d94b9acc418d610e900aecbfd23c"></a>## [◆ ](#abba6d94b9acc418d610e900aecbfd23c)\_pid

 ensight\_grpc.EnSightGRPC.\_pid = None  protected 

Definition at line [48](ensight__grpc_8py_source.html#l00048) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a3288be89c9ab636283cb59df9fe0dc17" name="a3288be89c9ab636283cb59df9fe0dc17"></a>## [◆ ](#a3288be89c9ab636283cb59df9fe0dc17)\_port

 ensight\_grpc.EnSightGRPC.\_port = [port](#a5f70502660ffb9346fe54f087bebaa31)  protected 

Definition at line [47](ensight__grpc_8py_source.html#l00047) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a3315104c5127852b071df26be56ed10e" name="a3315104c5127852b071df26be56ed10e"></a>## [◆ ](#a3315104c5127852b071df26be56ed10e)\_prefix

 str ensight\_grpc.EnSightGRPC.\_prefix = None  protected 

Definition at line [66](ensight__grpc_8py_source.html#l00066) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="aec4f4d61de4dfe799e620a005945a016" name="aec4f4d61de4dfe799e620a005945a016"></a>## [◆ ](#aec4f4d61de4dfe799e620a005945a016)\_security\_token

 ensight\_grpc.EnSightGRPC.\_security\_token = str(random.randint(0, 1000000))  protected 

Definition at line [53](ensight__grpc_8py_source.html#l00053) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a7cc44f4eb01c9bfe14a17d01dc8d8d36" name="a7cc44f4eb01c9bfe14a17d01dc8d8d36"></a>## [◆ ](#a7cc44f4eb01c9bfe14a17d01dc8d8d36)\_shmem\_client

 ensight\_grpc.EnSightGRPC.\_shmem\_client = None  protected 

Definition at line [60](ensight__grpc_8py_source.html#l00060) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="afb65fb2ac55da0dfc23022eb188656fc" name="afb65fb2ac55da0dfc23022eb188656fc"></a>## [◆ ](#afb65fb2ac55da0dfc23022eb188656fc)\_shmem\_filename

 ensight\_grpc.EnSightGRPC.\_shmem\_filename = None  protected 

Definition at line [61](ensight__grpc_8py_source.html#l00061) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a8d6e08882d55ce3c7fbd837bedfc0d98" name="a8d6e08882d55ce3c7fbd837bedfc0d98"></a>## [◆ ](#a8d6e08882d55ce3c7fbd837bedfc0d98)\_stub

 ensight\_grpc.EnSightGRPC.\_stub = None  protected 

Definition at line [50](ensight__grpc_8py_source.html#l00050) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="aa94401a916262c38e1173cca04c9390c" name="aa94401a916262c38e1173cca04c9390c"></a>## [◆ ](#aa94401a916262c38e1173cca04c9390c)\_sub\_service

 ensight\_grpc.EnSightGRPC.\_sub\_service = None  protected 

Definition at line [67](ensight__grpc_8py_source.html#l00067) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





<a id="a4ed120bd2b7a2a477bf0c19dc1765fce" name="a4ed120bd2b7a2a477bf0c19dc1765fce"></a>## [◆ ](#a4ed120bd2b7a2a477bf0c19dc1765fce)\_version

 ensight\_grpc.EnSightGRPC.\_version = version  protected 

Definition at line [52](ensight__grpc_8py_source.html#l00052) of file [ensight\_grpc.py](ensight__grpc_8py_source.html).





---

The documentation for this class was generated from the following file:- D:/ANSYSDev/Product-src/ensight/client/rpc\_interface/[ensight\_grpc.py](ensight__grpc_8py_source.html)