    

 ## On this page

  

 

 # ensightservice::SceneUpdateCommand Struct Reference

 Last update: 16.07.2025 

Aggregate command sent by EnSight to a client. [More...](structensightservice_1_1_scene_update_command.xhtml#details)

## <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   
 } Specify the specific command type. [More...](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32ea)  
 ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

<a id="ad2e574a10bc991d150969412e8f02b83"></a>[SceneUpdateCommandType](structensightservice_1_1_scene_update_command.xhtml#a80ae6b52bf49715cfdc5392b614b32ea) [command\_type](structensightservice_1_1_scene_update_command.xhtml#ad2e574a10bc991d150969412e8f02b83) = 1 The update command type.   
 union { [UpdateSceneBegin](structensightservice_1_1_update_scene_begin.xhtml) [scene\_begin](structensightservice_1_1_scene_update_command.xhtml#a91bcb68baf42d2999d8c2d2a0ea432d8) = 2 Begin a scene update.   
  [UpdateSceneEnd](structensightservice_1_1_update_scene_end.xhtml) [scene\_end](structensightservice_1_1_scene_update_command.xhtml#a500d13e1434ddfb826009b35fee6f239) = 3 End a scene update.   
  [DeleteID](structensightservice_1_1_delete_i_d.xhtml) [delete\_id](structensightservice_1_1_scene_update_command.xhtml#a15181da6b860d74a19145537a80b1ecd) = 4 Delete a collection of entities from the cache.   
  [UpdatePart](structensightservice_1_1_update_part.xhtml) [update\_part](structensightservice_1_1_scene_update_command.xhtml#a2be43cc114ba1ac05547163ae93ca436) = 5 Update a Part entity.   
  [UpdateGroup](structensightservice_1_1_update_group.xhtml) [update\_group](structensightservice_1_1_scene_update_command.xhtml#aeeb4f30ece87f1297a61731661e907de) = 6 Update a Group entity.   
  [UpdateGeom](structensightservice_1_1_update_geom.xhtml) [update\_geom](structensightservice_1_1_scene_update_command.xhtml#ab5e63e84ec5a82863f9bfec43d77139d) = 7 Update a Geom entity.   
  [UpdateVariable](structensightservice_1_1_update_variable.xhtml) [update\_variable](structensightservice_1_1_scene_update_command.xhtml#afcde7ceff14d9abaee4db377b210b702) = 8 Update a Variable entity.   
  [UpdateView](structensightservice_1_1_update_view.xhtml) [update\_view](structensightservice_1_1_scene_update_command.xhtml#abb22169ff158a93f91877af137ca0418) = 9 Update a View entity.   
  [UpdateTexture](structensightservice_1_1_update_texture.xhtml) [update\_texture](structensightservice_1_1_scene_update_command.xhtml#a43555d303a7430fd6687b357a063cdea) = 10 Update a Texture entity.   
 } [UpdateCommand](structensightservice_1_1_scene_update_command.xhtml#a3b33359b9097d62e5a9936dcae649351) The union of the sub-command messages. [More...](structensightservice_1_1_scene_update_command.xhtml#a3b33359b9097d62e5a9936dcae649351)  
 <a id="details" name="details"></a>## Detailed Description

Aggregate command sent by EnSight to a client.

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"></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"></a>UPDATE\_SCENE\_BEGIN Marks the beginning of a scene update.

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

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

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

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

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

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

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

<a id="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="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:/ANSYSDev/NoBackup/branches/EnSight-Second-Coming/ensight/client/rpc\_interface/[dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml)