    

 ## On this page

  

 

 # ensightservice::SceneUpdateCommand Struct Reference

 Last update: 16.07.2025 

## <a id="pub-types" name="pub-types"></a>Public Types

enum [SceneUpdateCommandType](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32ea) {   
 [UPDATE\_SCENE\_BEGIN](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32eaa1e55874750a5e9ffbf781850865d9db5) = 0 , [UPDATE\_SCENE\_END](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32eaa376ded6d437b36e6d4723d10ebbce06d) = 1 , [DELETE\_ID](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32eaad94f319f295905fad771274a948f23b2) = 2 , [UPDATE\_PART](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32eaaff12110c26e2432cbb51f8376c754bfd) = 3 ,   
 [UPDATE\_GROUP](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32eaa8bebef7917e62e6865b14ee4324fe63a) = 4 , [UPDATE\_GEOM](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32eaaf50142ca9e996b6413249efd12a2932f) = 5 , [UPDATE\_VARIABLE](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32eaabd21a4f2e37dc407eba9c73772229def) = 6 , [UPDATE\_VIEW](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32eaa96e7a65483ceb6e275395d287ca8ba82) = 7 ,   
 [UPDATE\_TEXTURE](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32eaa9168213baa0fd71f984bdd986816c17d) = 8   
 } ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

[SceneUpdateCommandType](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32ea) [command\_type](structensightservice_1_1_scene_update_command.xhtml#ad2e574a10bc991d150969412e8f02b83) = 1 union { [UpdateSceneBegin](structensightservice_1_1_update_scene_begin.xhtml) [scene\_begin](structensightservice_1_1_scene_update_command.xhtml#a91bcb68baf42d2999d8c2d2a0ea432d8) = 2  [UpdateSceneEnd](structensightservice_1_1_update_scene_end.xhtml) [scene\_end](structensightservice_1_1_scene_update_command.xhtml#a500d13e1434ddfb826009b35fee6f239) = 3  [DeleteID](structensightservice_1_1_delete_i_d.xhtml) [delete\_id](structensightservice_1_1_scene_update_command.xhtml#a15181da6b860d74a19145537a80b1ecd) = 4  [UpdatePart](structensightservice_1_1_update_part.xhtml) [update\_part](structensightservice_1_1_scene_update_command.xhtml#a2be43cc114ba1ac05547163ae93ca436) = 5  [UpdateGroup](structensightservice_1_1_update_group.xhtml) [update\_group](structensightservice_1_1_scene_update_command.xhtml#aeeb4f30ece87f1297a61731661e907de) = 6  [UpdateGeom](structensightservice_1_1_update_geom.xhtml) [update\_geom](structensightservice_1_1_scene_update_command.xhtml#ab5e63e84ec5a82863f9bfec43d77139d) = 7  [UpdateVariable](structensightservice_1_1_update_variable.xhtml) [update\_variable](structensightservice_1_1_scene_update_command.xhtml#afcde7ceff14d9abaee4db377b210b702) = 8  [UpdateView](structensightservice_1_1_update_view.xhtml) [update\_view](structensightservice_1_1_scene_update_command.xhtml#abb22169ff158a93f91877af137ca0418) = 9  [UpdateTexture](structensightservice_1_1_update_texture.xhtml) [update\_texture](structensightservice_1_1_scene_update_command.xhtml#a43555d303a7430fd6687b357a063cdea) = 10 } [UpdateCommand](structensightservice_1_1_scene_update_command.xhtml#a3b33359b9097d62e5a9936dcae649351) <a id="details" name="details"></a>## Detailed Description

This command represents a union of a number of different commands: [UpdateSceneBegin](structensightservice_1_1_update_scene_begin.xhtml "Begin an update sequence."), [UpdateSceneEnd](structensightservice_1_1_update_scene_end.xhtml "End an update sequence."), [DeleteID](structensightservice_1_1_delete_i_d.xhtml "Delete a list of entities."), [UpdatePart](structensightservice_1_1_update_part.xhtml "Update a Part entity."), [UpdateGroup](structensightservice_1_1_update_group.xhtml "Update a Group entity."), [UpdateGeom](structensightservice_1_1_update_geom.xhtml "Update a Geom entity."), [UpdateVariable](structensightservice_1_1_update_variable.xhtml "Update a Variable entity.") and [UpdateView](structensightservice_1_1_update_view.xhtml "Update a View entity."). To use the message, set the command\_type to the type of the message and fill in the appropriate UpdateCommand sub-message.

Definition at line [504](dynamic__scene__graph_8proto_source.xhtml#l00504) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).



## Member Enumeration Documentation

<a id="a80ae6b52bf49715cfdc5392b614b32ea" name="a80ae6b52bf49715cfdc5392b614b32ea"></a>## [◆ ](#a80ae6b52bf49715cfdc5392b614b32ea)SceneUpdateCommandType

 enum [ensightservice::SceneUpdateCommand::SceneUpdateCommandType](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32ea)

Specify the specific command type.

[SceneUpdateCommand](structensightservice_1_1_scene_update_command.xhtml "Aggregate command sent by EnSight to a client.") object can represent many different sub-commands, but packed into a common message. The SceneUpdateCommandType is the specific sub-command type of the base message.

Enumerator<a id="a80ae6b52bf49715cfdc5392b614b32eaa1e55874750a5e9ffbf781850865d9db5" name="a80ae6b52bf49715cfdc5392b614b32eaa1e55874750a5e9ffbf781850865d9db5"></a>UPDATE\_SCENE\_BEGIN Marks the beginning of a scene update.

<a id="a80ae6b52bf49715cfdc5392b614b32eaa376ded6d437b36e6d4723d10ebbce06d" name="a80ae6b52bf49715cfdc5392b614b32eaa376ded6d437b36e6d4723d10ebbce06d"></a>UPDATE\_SCENE\_END Marks the completion of a scene update.

<a id="a80ae6b52bf49715cfdc5392b614b32eaad94f319f295905fad771274a948f23b2" name="a80ae6b52bf49715cfdc5392b614b32eaad94f319f295905fad771274a948f23b2"></a>DELETE\_ID Tell the client to delete an entity ID that was defined in a previous scene update.

<a id="a80ae6b52bf49715cfdc5392b614b32eaaff12110c26e2432cbb51f8376c754bfd" name="a80ae6b52bf49715cfdc5392b614b32eaaff12110c26e2432cbb51f8376c754bfd"></a>UPDATE\_PART Create/update a Part entity.

<a id="a80ae6b52bf49715cfdc5392b614b32eaa8bebef7917e62e6865b14ee4324fe63a" name="a80ae6b52bf49715cfdc5392b614b32eaa8bebef7917e62e6865b14ee4324fe63a"></a>UPDATE\_GROUP Create/update a Group entity.

<a id="a80ae6b52bf49715cfdc5392b614b32eaaf50142ca9e996b6413249efd12a2932f" name="a80ae6b52bf49715cfdc5392b614b32eaaf50142ca9e996b6413249efd12a2932f"></a>UPDATE\_GEOM Create/update a Geom entity.

<a id="a80ae6b52bf49715cfdc5392b614b32eaabd21a4f2e37dc407eba9c73772229def" name="a80ae6b52bf49715cfdc5392b614b32eaabd21a4f2e37dc407eba9c73772229def"></a>UPDATE\_VARIABLE Create/update a Variable entity.

<a id="a80ae6b52bf49715cfdc5392b614b32eaa96e7a65483ceb6e275395d287ca8ba82" name="a80ae6b52bf49715cfdc5392b614b32eaa96e7a65483ceb6e275395d287ca8ba82"></a>UPDATE\_VIEW Create/update a View entity.

<a id="a80ae6b52bf49715cfdc5392b614b32eaa9168213baa0fd71f984bdd986816c17d" name="a80ae6b52bf49715cfdc5392b614b32eaa9168213baa0fd71f984bdd986816c17d"></a>UPDATE\_TEXTURE Create/update a Texture entity.

Definition at line [511](dynamic__scene__graph_8proto_source.xhtml#l00511) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





## Member Data Documentation

<a id="ad2e574a10bc991d150969412e8f02b83" name="ad2e574a10bc991d150969412e8f02b83"></a>## [◆ ](#ad2e574a10bc991d150969412e8f02b83)command\_type

 [SceneUpdateCommandType](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32ea) ensightservice::SceneUpdateCommand::command\_type = 1

The update command type.

Definition at line [522](dynamic__scene__graph_8proto_source.xhtml#l00522) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="a15181da6b860d74a19145537a80b1ecd" name="a15181da6b860d74a19145537a80b1ecd"></a>## [◆ ](#a15181da6b860d74a19145537a80b1ecd)delete\_id

 [DeleteID](structensightservice_1_1_delete_i_d.xhtml) ensightservice::SceneUpdateCommand::delete\_id = 4

Delete a collection of entities from the cache.

Definition at line [531](dynamic__scene__graph_8proto_source.xhtml#l00531) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="a91bcb68baf42d2999d8c2d2a0ea432d8" name="a91bcb68baf42d2999d8c2d2a0ea432d8"></a>## [◆ ](#a91bcb68baf42d2999d8c2d2a0ea432d8)scene\_begin

 [UpdateSceneBegin](structensightservice_1_1_update_scene_begin.xhtml) ensightservice::SceneUpdateCommand::scene\_begin = 2

Begin a scene update.

Definition at line [529](dynamic__scene__graph_8proto_source.xhtml#l00529) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="a500d13e1434ddfb826009b35fee6f239" name="a500d13e1434ddfb826009b35fee6f239"></a>## [◆ ](#a500d13e1434ddfb826009b35fee6f239)scene\_end

 [UpdateSceneEnd](structensightservice_1_1_update_scene_end.xhtml) ensightservice::SceneUpdateCommand::scene\_end = 3

End a scene update.

Definition at line [530](dynamic__scene__graph_8proto_source.xhtml#l00530) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="ab5e63e84ec5a82863f9bfec43d77139d" name="ab5e63e84ec5a82863f9bfec43d77139d"></a>## [◆ ](#ab5e63e84ec5a82863f9bfec43d77139d)update\_geom

 [UpdateGeom](structensightservice_1_1_update_geom.xhtml) ensightservice::SceneUpdateCommand::update\_geom = 7

Update a Geom entity.

Definition at line [534](dynamic__scene__graph_8proto_source.xhtml#l00534) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="aeeb4f30ece87f1297a61731661e907de" name="aeeb4f30ece87f1297a61731661e907de"></a>## [◆ ](#aeeb4f30ece87f1297a61731661e907de)update\_group

 [UpdateGroup](structensightservice_1_1_update_group.xhtml) ensightservice::SceneUpdateCommand::update\_group = 6

Update a Group entity.

Definition at line [533](dynamic__scene__graph_8proto_source.xhtml#l00533) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="a2be43cc114ba1ac05547163ae93ca436" name="a2be43cc114ba1ac05547163ae93ca436"></a>## [◆ ](#a2be43cc114ba1ac05547163ae93ca436)update\_part

 [UpdatePart](structensightservice_1_1_update_part.xhtml) ensightservice::SceneUpdateCommand::update\_part = 5

Update a Part entity.

Definition at line [532](dynamic__scene__graph_8proto_source.xhtml#l00532) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="a43555d303a7430fd6687b357a063cdea" name="a43555d303a7430fd6687b357a063cdea"></a>## [◆ ](#a43555d303a7430fd6687b357a063cdea)update\_texture

 [UpdateTexture](structensightservice_1_1_update_texture.xhtml) ensightservice::SceneUpdateCommand::update\_texture = 10

Update a Texture entity.

Definition at line [537](dynamic__scene__graph_8proto_source.xhtml#l00537) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="afcde7ceff14d9abaee4db377b210b702" name="afcde7ceff14d9abaee4db377b210b702"></a>## [◆ ](#afcde7ceff14d9abaee4db377b210b702)update\_variable

 [UpdateVariable](structensightservice_1_1_update_variable.xhtml) ensightservice::SceneUpdateCommand::update\_variable = 8

Update a Variable entity.

Definition at line [535](dynamic__scene__graph_8proto_source.xhtml#l00535) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="abb22169ff158a93f91877af137ca0418" name="abb22169ff158a93f91877af137ca0418"></a>## [◆ ](#abb22169ff158a93f91877af137ca0418)update\_view

 [UpdateView](structensightservice_1_1_update_view.xhtml) ensightservice::SceneUpdateCommand::update\_view = 9

Update a View entity.

Definition at line [536](dynamic__scene__graph_8proto_source.xhtml#l00536) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





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

 union { ... } ensightservice::SceneUpdateCommand::UpdateCommand

The union of the sub-command messages.

Each [SceneUpdateCommand](structensightservice_1_1_scene_update_command.xhtml "Aggregate command sent by EnSight to a client.") message can be one of the types defined by the command\_type. These are represented via a union message construct.





---

The documentation for this struct was generated from the following file:- D:/Product-src/ensight/client/rpc\_interface/[dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml)