diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index 91e15bc6385..5899f3b5a40 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -10420,14 +10420,7 @@
elemental nodal beam results are read if this pin is set to true (default is false) |
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. |
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. - |
Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computation Get the ZZ normal component (22 component).
-The element scoping on which the result is computed. - |
Needed to get mesh and material ids. Optional if a data_sources have been connected. - |
Needed to get mesh and material ids. Optional if a streams_container have been connected. - |
Average the Elemental Nodal result to the requested location. - |
Field/or fields container containing only the elastic strain field (element nodal). - |
The computed result fields container (elemental nodal). - |
Read Part Eroded Kinetic Energy (LSDyna) by calling the readers defined by the datasources.
+Read Part Eroded Kinetic Energy (LSDyna) by calling the readers defined by the datasources.
result file container allowed to be kept open to cache data |
result file path container, used if no streams are set |
entity (part for matsum, interface for rcforc) where the result will be scoped @@ -14143,7 +14136,9 @@Configurating operatorsVersion 0.0.0 Inputs
Outputs
ConfigurationsScriptingChangelogfilter: low pass (timescoping)The low pass filter returns all the values below (but not equal to) the threshold value in input. + |
Checks if two scopings_container are identical.
+bool (true if identical...) + |
The low pass filter returns all the values below (but not equal to) the threshold value in input.
a threshold scalar or a field containing one value is expected |
The default is false. If set to true, the complement of the filtered fields container is returned on output pin 1. |
Rescopes a field on the given scoping. If an ID does not exist in the original field, the default value (in 2) is used when defined.
@@ -14324,12 +14319,12 @@Iterable object, generated by make_for_each_range oeprator, that can be combined with the one currently generated. |
Operator that must be reconnected with the range values. |
to connect to producer_consumer_for_each - |
Allows to write a loop over operators by connecting data to iterate and by requesting the incrementally output merged.The chain of Operators are split into a first part: the producers and a second part: the consumers. These 2 parts will run asynchronously on 2 threads.
+Extends an Elemental Nodal or Nodal field defined on corner nodes to a field defined also on the mid nodes.
+field or fields container with only one field is expected + |
Allows to write a loop over operators by connecting data to iterate and by requesting the incrementally output merged.The chain of Operators are split into a first part: the producers and a second part: the consumers. These 2 parts will run asynchronously on 2 threads.
The result of the make_producer_consumer_for_each_iterator operator. |
output of the last operators of the workflow - |
Extends an Elemental Nodal or Nodal field defined on corner nodes to a field defined also on the mid nodes.
-field or fields container with only one field is expected - |
Uses the MeshedRegion APIs to return a given attribute of the mesh in input.
+Uses the MeshedRegion APIs to return a given attribute of the mesh in input.
Supported property names are: "connectivity", "reverse_connectivity", "mat", "faces_nodes_connectivity", "elements_faces_connectivity" (or any mesh's property field), "coordinates", "named_selection", "num_named_selections", "named_selection_names", "named_selection_locations", "node_scoping", "element_scoping", "face_scoping"... |
Can be used to get a property at a given index, example: a named selection's number or by name, example: a named selection's name. |
Returns a property field for properties: "connectivity", "reverse_connectivity", "mat", "faces_nodes_connectivity", "elements_faces_connectivity" (or any mesh's property field), a field for property: "coordinates", a scoping for properties:"named_selection", "node_scoping", "element_scoping", "face_scoping", a string field for properties: "named_selection_names", "named_selection_locations" and an int for property: "num_named_selections". @@ -14386,9 +14381,7 @@Configurating operatorsVersion 0.0.0 Inputs
Outputs
ConfigurationsScriptingChangeloglogic: same scopings container?Checks if two scopings_container are identical. -Version 0.0.0 InputsOutputs
ConfigurationsScriptingChangeloglogic: fields included?Checks if one field belongs to another. + |
Checks if one field belongs to another.
Double positive small value. Smallest value considered during the comparison step. All the absolute values in the field less than this value are considered null, (default value: 1.0e-14). |
Double relative tolerance. Maximum tolerance gap between two compared values. Values within relative tolerance are considered identical. Formula is (v1-v2)/v2 < relativeTol. Default is 0.001. |
bool (true if belongs...) @@ -14482,34 +14475,12 @@Configurating operators |
Transforms an Elemental Nodal field into a Nodal field. Each nodal value is the maximum difference between the unaveraged computed result for all elements that share this particular node. The result is computed on a given node's scoping.
field or fields container with only one field is expected |
average only on these entities - |
Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computation Get the YZ shear component (12 component).
-The element scoping on which the result is computed. - |
Needed to get mesh and material ids. Optional if a data_sources have been connected. - |
Needed to get mesh and material ids. Optional if a streams_container have been connected. - |
Average the Elemental Nodal result to the requested location. - |
Field/or fields container containing only the elastic strain field (element nodal). - |
The computed result fields container (elemental nodal). - |
Splits a Data Sources into multiple coherent data sources, actual number of outputs is always less or equal to the given desired number of ouputs.
+Splits a Data Sources into multiple coherent data sources, actual number of outputs is always less or equal to the given desired number of ouputs.
Data sources to split. |
Number of desired outputs. |
Actual number of outputs. |
Data sources outputs. - |
Starts a dpf's grpc server (if local) or connect to one and keep it waiting for requests in a streams.
-If no ip address is put, the local ip address is taken - |
If no port is put, port 50052 is taken - |
default is 1 that starts server in new thread. With 0, this thread will be waiting for grpc calls and will not be usable for anything else. With 2, it the server will be started in a new process. - |
If true, the server is assumed to be local and is started. If false, only a client (able to send grpc calls) will be started - |
A data source with result key 'grpc' and file path 'port:ip' can be used instead of the input port and IP. - |
This pin is associated with pin(2) = 2 (server started in a new process). User can enter the integer associated with a DPF context (1: Standalone Context - DpfCoreStandalone.xml, 3: Custom - DpfCustomDefined.xml) or a string with the path of the XML specifying the context. - |
dpf streams handling the server, if the server is started in this thread, then nothing is added in output - |
Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computation Get the XY shear component (01 component).
-The element scoping on which the result is computed. - |
Needed to get mesh and material ids. Optional if a data_sources have been connected. - |
Needed to get mesh and material ids. Optional if a streams_container have been connected. - |
Average the Elemental Nodal result to the requested location. - |
Field/or fields container containing only the elastic strain field (element nodal). - |
The computed result fields container (elemental nodal). - |
Return the id of an Operator.
+Return the id of an Operator.
Transforms an Elemental Nodal field into a Nodal field using an averaging process. The result is computed on a given node's scoping.
field or fields container with only one field is expected |
average only on these entities @@ -15191,7 +15162,36 @@Configurating operators |
Average the Elemental Nodal result to the requested location. |
Field/or fields container containing only the elastic strain field (element nodal). |
The computed result fields container (elemental nodal). - |
Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computation Get the XZ shear component (02 component).
+Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computation Get the ZZ normal component (22 component).
+The element scoping on which the result is computed. + |
Needed to get mesh and material ids. Optional if a data_sources have been connected. + |
Needed to get mesh and material ids. Optional if a streams_container have been connected. + |
Average the Elemental Nodal result to the requested location. + |
Field/or fields container containing only the elastic strain field (element nodal). + |
The computed result fields container (elemental nodal). + |
Starts a dpf's grpc server (if local) or connect to one and keep it waiting for requests in a streams.
+If no ip address is put, the local ip address is taken + |
If no port is put, port 50052 is taken + |
default is 1 that starts server in new thread. With 0, this thread will be waiting for grpc calls and will not be usable for anything else. With 2, it the server will be started in a new process. + |
If true, the server is assumed to be local and is started. If false, only a client (able to send grpc calls) will be started + |
A data source with result key 'grpc' and file path 'port:ip' can be used instead of the input port and IP. + |
This pin is associated with pin(2) = 2 (server started in a new process). User can enter the integer associated with a DPF context (1: Standalone Context - DpfCoreStandalone.xml, 3: Custom - DpfCustomDefined.xml) or a string with the path of the XML specifying the context. + |
dpf streams handling the server, if the server is started in this thread, then nothing is added in output + |
Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computation Get the XY shear component (01 component).
+The element scoping on which the result is computed. + |
Needed to get mesh and material ids. Optional if a data_sources have been connected. + |
Needed to get mesh and material ids. Optional if a streams_container have been connected. + |
Average the Elemental Nodal result to the requested location. + |
Field/or fields container containing only the elastic strain field (element nodal). + |
The computed result fields container (elemental nodal). + |
Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computation Get the YZ shear component (12 component).
+The element scoping on which the result is computed. + |
Needed to get mesh and material ids. Optional if a data_sources have been connected. + |
Needed to get mesh and material ids. Optional if a streams_container have been connected. + |
Average the Elemental Nodal result to the requested location. + |
Field/or fields container containing only the elastic strain field (element nodal). + |
The computed result fields container (elemental nodal). + |
Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computation Get the XZ shear component (02 component).
The element scoping on which the result is computed. |
Needed to get mesh and material ids. Optional if a data_sources have been connected. |
Needed to get mesh and material ids. Optional if a streams_container have been connected. diff --git a/src/ansys/dpf/gate/generated/capi.py b/src/ansys/dpf/gate/generated/capi.py index 4990821cac2..2a4533f5415 100644 --- a/src/ansys/dpf/gate/generated/capi.py +++ b/src/ansys/dpf/gate/generated/capi.py @@ -2063,6 +2063,14 @@ def load_api(path): dll.CSField_GetEntityIndex.argtypes = (ctypes.c_void_p, ctypes.c_int32, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), ) dll.CSField_GetEntityIndex.restype = ctypes.c_int32 + if hasattr(dll, "CSField_SetHeaderAsDataTree"): + dll.CSField_SetHeaderAsDataTree.argtypes = (ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), ) + dll.CSField_SetHeaderAsDataTree.restype = None + + if hasattr(dll, "CSField_GetHeaderAsDataTree"): + dll.CSField_GetHeaderAsDataTree.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), ) + dll.CSField_GetHeaderAsDataTree.restype = ctypes.c_void_p + if hasattr(dll, "CSField_GetData_For_DpfVector"): dll.CSField_GetData_For_DpfVector.argtypes = (ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.POINTER(ctypes.c_double)), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), ) dll.CSField_GetData_For_DpfVector.restype = None @@ -4250,6 +4258,10 @@ def load_api(path): dll.CSCustomTypeField_GetEntityIndex.argtypes = (ctypes.c_void_p, ctypes.c_int32, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), ) dll.CSCustomTypeField_GetEntityIndex.restype = ctypes.c_int32 + if hasattr(dll, "CSCustomTypeField_SetHeaderAsDataTree"): + dll.CSCustomTypeField_SetHeaderAsDataTree.argtypes = (ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), ) + dll.CSCustomTypeField_SetHeaderAsDataTree.restype = None + if hasattr(dll, "CSCustomTypeField_new_on_client"): dll.CSCustomTypeField_new_on_client.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.c_int32, ctypes.c_int32, ctypes.c_int32, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), ) dll.CSCustomTypeField_new_on_client.restype = ctypes.c_void_p diff --git a/src/ansys/dpf/gate/generated/custom_type_field_abstract_api.py b/src/ansys/dpf/gate/generated/custom_type_field_abstract_api.py index 349f2a191b2..3d01c505eac 100644 --- a/src/ansys/dpf/gate/generated/custom_type_field_abstract_api.py +++ b/src/ansys/dpf/gate/generated/custom_type_field_abstract_api.py @@ -131,6 +131,10 @@ def cscustom_type_field_get_entity_id(field, index): def cscustom_type_field_get_entity_index(field, id): raise NotImplementedError + @staticmethod + def cscustom_type_field_set_header_as_data_tree(field, header): + raise NotImplementedError + @staticmethod def cscustom_type_field_new_on_client(client, type, unitarySize, numEntities, numUnitaryData): raise NotImplementedError diff --git a/src/ansys/dpf/gate/generated/custom_type_field_capi.py b/src/ansys/dpf/gate/generated/custom_type_field_capi.py index d9f72cc611c..47660b08a1d 100644 --- a/src/ansys/dpf/gate/generated/custom_type_field_capi.py +++ b/src/ansys/dpf/gate/generated/custom_type_field_capi.py @@ -289,6 +289,15 @@ def cscustom_type_field_get_entity_index(field, id): raise errors.DPFServerException(sError.value) return res + @staticmethod + def cscustom_type_field_set_header_as_data_tree(field, header): + errorSize = ctypes.c_int(0) + sError = ctypes.c_wchar_p() + res = capi.dll.CSCustomTypeField_SetHeaderAsDataTree(field._internal_obj if field is not None else None, header._internal_obj if header is not None else None, ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError)) + if errorSize.value != 0: + raise errors.DPFServerException(sError.value) + return res + @staticmethod def cscustom_type_field_new_on_client(client, type, unitarySize, numEntities, numUnitaryData): errorSize = ctypes.c_int(0) diff --git a/src/ansys/dpf/gate/generated/field_abstract_api.py b/src/ansys/dpf/gate/generated/field_abstract_api.py index 7d54c3346fb..d91d7ffb8ff 100644 --- a/src/ansys/dpf/gate/generated/field_abstract_api.py +++ b/src/ansys/dpf/gate/generated/field_abstract_api.py @@ -283,6 +283,14 @@ def csfield_get_entity_id(field, index): def csfield_get_entity_index(field, id): raise NotImplementedError + @staticmethod + def csfield_set_header_as_data_tree(field, header): + raise NotImplementedError + + @staticmethod + def csfield_get_header_as_data_tree(field): + raise NotImplementedError + @staticmethod def csfield_get_data_for_dpf_vector(field, var1, data, size): raise NotImplementedError diff --git a/src/ansys/dpf/gate/generated/field_capi.py b/src/ansys/dpf/gate/generated/field_capi.py index 82e8d657829..1f5ec71596c 100644 --- a/src/ansys/dpf/gate/generated/field_capi.py +++ b/src/ansys/dpf/gate/generated/field_capi.py @@ -639,6 +639,24 @@ def csfield_get_entity_index(field, id): raise errors.DPFServerException(sError.value) return res + @staticmethod + def csfield_set_header_as_data_tree(field, header): + errorSize = ctypes.c_int(0) + sError = ctypes.c_wchar_p() + res = capi.dll.CSField_SetHeaderAsDataTree(field._internal_obj if field is not None else None, header._internal_obj if header is not None else None, ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError)) + if errorSize.value != 0: + raise errors.DPFServerException(sError.value) + return res + + @staticmethod + def csfield_get_header_as_data_tree(field): + errorSize = ctypes.c_int(0) + sError = ctypes.c_wchar_p() + res = capi.dll.CSField_GetHeaderAsDataTree(field._internal_obj if field is not None else None, ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError)) + if errorSize.value != 0: + raise errors.DPFServerException(sError.value) + return res + @staticmethod def csfield_get_data_for_dpf_vector(field, var1, data, size): errorSize = ctypes.c_int(0) diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index d904d6fbe80..0d03589ca74 100644 Binary files a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll and b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll differ diff --git a/src/ansys/dpf/gatebin/DPFClientAPI.dll b/src/ansys/dpf/gatebin/DPFClientAPI.dll index 0f411e176d0..4a03ff29390 100644 Binary files a/src/ansys/dpf/gatebin/DPFClientAPI.dll and b/src/ansys/dpf/gatebin/DPFClientAPI.dll differ diff --git a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so index 96e7d1e6bb1..6330717c113 100644 Binary files a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so and b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so differ diff --git a/src/ansys/dpf/gatebin/libDPFClientAPI.so b/src/ansys/dpf/gatebin/libDPFClientAPI.so index e5ce1d8dcdf..9c1e2345fed 100644 Binary files a/src/ansys/dpf/gatebin/libDPFClientAPI.so and b/src/ansys/dpf/gatebin/libDPFClientAPI.so differ diff --git a/src/ansys/grpc/dpf/field_pb2.py b/src/ansys/grpc/dpf/field_pb2.py index 40f1e15f31f..b527f8b466b 100644 --- a/src/ansys/grpc/dpf/field_pb2.py +++ b/src/ansys/grpc/dpf/field_pb2.py @@ -20,7 +20,7 @@ import ansys.grpc.dpf.collection_message_pb2 as collection__message__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x66ield.proto\x12\x16\x61nsys.api.dpf.field.v0\x1a\nbase.proto\x1a\rscoping.proto\x1a\x16\x66ield_definition.proto\x1a\rsupport.proto\x1a\x0f\x64\x61ta_tree.proto\x1a\x18\x63ollection_message.proto\"P\n\x14\x43ustomTypeDefinition\x12\x18\n\x10unitary_datatype\x18\x01 \x01(\t\x12\x1e\n\x16num_bytes_unitary_data\x18\x02 \x01(\x05\"\x95\x01\n\x05\x46ield\x12\x33\n\x02id\x18\x01 \x01(\x0b\x32\'.ansys.api.dpf.base.v0.EntityIdentifier\x12\x10\n\x08\x64\x61tatype\x18\x02 \x01(\t\x12\x45\n\x0f\x63ustom_type_def\x18\x03 \x01(\x0b\x32,.ansys.api.dpf.field.v0.CustomTypeDefinition\"\xc5\x02\n\x0c\x46ieldRequest\x12-\n\x06nature\x18\x01 \x01(\x0e\x32\x1d.ansys.api.dpf.base.v0.Nature\x12\x31\n\x08location\x18\x02 \x01(\x0b\x32\x1f.ansys.api.dpf.base.v0.Location\x12/\n\x04size\x18\x03 \x01(\x0b\x32!.ansys.api.dpf.field.v0.FieldSize\x12\x10\n\x08\x64\x61tatype\x18\x04 \x01(\t\x12I\n\x0e\x64imensionality\x18\x05 \x01(\x0b\x32\x31.ansys.api.dpf.field_definition.v0.Dimensionality\x12\x45\n\x0f\x63ustom_type_def\x18\x06 \x01(\x0b\x32,.ansys.api.dpf.field.v0.CustomTypeDefinition\"\x8d\x01\n\x0e\x41\x64\x64\x44\x61taRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12M\n\x13\x65lemdata_containers\x18\x02 \x01(\x0b\x32\x30.ansys.api.dpf.field.v0.ElementaryDataContainers\"x\n\x14UpdateScopingRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x32\n\x07scoping\x18\x02 \x01(\x0b\x32!.ansys.api.dpf.scoping.v0.Scoping\"\x93\x01\n\x1cUpdateFieldDefinitionRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x45\n\tfield_def\x18\x02 \x01(\x0b\x32\x32.ansys.api.dpf.field_definition.v0.FieldDefinition\"\x9a\x01\n\x1bUpdateElementaryDataRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12M\n\x13\x65lemdata_containers\x18\x02 \x01(\x0b\x32\x30.ansys.api.dpf.field.v0.ElementaryDataContainers\"\x83\x01\n\x11UpdateSizeRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12/\n\x04size\x18\x02 \x01(\x0b\x32!.ansys.api.dpf.field.v0.FieldSize\x12\x0f\n\x07reserve\x18\x03 \x01(\x08\"Z\n\x1cUpdateDataPointerSizeRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x0c\n\x04size\x18\x02 \x01(\x05\"4\n\tFieldSize\x12\x14\n\x0cscoping_size\x18\x01 \x01(\x05\x12\x11\n\tdata_size\x18\x02 \x01(\x05\"\xae\x02\n\x04\x44\x61ta\x12\x39\n\ndatadouble\x18\x02 \x01(\x0b\x32#.ansys.api.dpf.base.v0.DoubleVectorH\x00\x12\x33\n\x07\x64\x61taint\x18\x03 \x01(\x0b\x32 .ansys.api.dpf.base.v0.IntVectorH\x00\x12\x37\n\tdatafloat\x18\x04 \x01(\x0b\x32\".ansys.api.dpf.base.v0.FloatVectorH\x00\x12\x39\n\ndatastring\x18\x01 \x01(\x0b\x32#.ansys.api.dpf.base.v0.StringVectorH\x00\x12\x35\n\x08\x64\x61tabyte\x18\x05 \x01(\x0b\x32!.ansys.api.dpf.base.v0.ByteVectorH\x00\x42\x0b\n\tdatatypes\"q\n\x18\x45lementaryDataContainers\x12\x12\n\nscoping_id\x18\x01 \x01(\x05\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1c.ansys.api.dpf.field.v0.Data\x12\x15\n\rscoping_index\x18\x03 \x01(\x05\";\n\x0bListRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\":\n\nGetRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\"s\n\x18GetElementaryDataRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x0f\n\x05index\x18\x02 \x01(\x05H\x00\x12\x0c\n\x02id\x18\x03 \x01(\x05H\x00\x42\n\n\x08index_id\"\x1d\n\x0cListResponse\x12\r\n\x05\x61rray\x18\x01 \x01(\x0c\"j\n\x19GetElementaryDataResponse\x12M\n\x13\x65lemdata_containers\x18\x01 \x01(\x0b\x32\x30.ansys.api.dpf.field.v0.ElementaryDataContainers\"H\n\x12GetScopingResponse\x12\x32\n\x07scoping\x18\x01 \x01(\x0b\x32!.ansys.api.dpf.scoping.v0.Scoping\"x\n\x1aGetFieldDefinitionResponse\x12L\n\x10\x66ield_definition\x18\x01 \x01(\x0b\x32\x32.ansys.api.dpf.field_definition.v0.FieldDefinition\x12\x0c\n\x04name\x18\x02 \x01(\t\"p\n\x0c\x43ountRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x32\n\x06\x65ntity\x18\x02 \x01(\x0e\x32\".ansys.api.dpf.base.v0.CountEntity\"i\n\x0eSupportRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12)\n\x04type\x18\x02 \x01(\x0e\x32\x1b.ansys.api.dpf.base.v0.Type\"A\n\x11PropertiesRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\"M\n\x12PropertiesResponse\x12\x37\n\tdata_tree\x18\x01 \x01(\x0b\x32$.ansys.api.dpf.data_tree.v0.DataTree\"u\n\x11SetSupportRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x32\n\x07support\x18\x02 \x01(\x0b\x32!.ansys.api.dpf.support.v0.Support\"P\n\x11UpdateDataRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\r\n\x05\x61rray\x18\x02 \x01(\x0c\"\x8b\x03\n\x12SingleFieldAllData\x12\x45\n\x0f\x63ustom_type_def\x18\x01 \x01(\x0b\x32,.ansys.api.dpf.field.v0.CustomTypeDefinition\x12\x32\n\x07scoping\x18\x02 \x01(\x0b\x32!.ansys.api.dpf.scoping.v0.Scoping\x12P\n\x10\x66ield_definition\x18\x03 \x01(\x0b\x32\x36.ansys.api.dpf.field_definition.v0.FieldDefinitionData\x12\x35\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\'.ansys.api.dpf.collection.v0.Collection\x12=\n\x0c\x64\x61ta_pointer\x18\x05 \x01(\x0b\x32\'.ansys.api.dpf.collection.v0.Collection\x12\x32\n\x07support\x18\x06 \x01(\x0b\x32!.ansys.api.dpf.support.v0.Support\"W\n\x07\x41llData\x12\x10\n\x08\x64\x61tatype\x18\x01 \x01(\t\x12:\n\x06\x66ields\x18\x02 \x03(\x0b\x32*.ansys.api.dpf.field.v0.SingleFieldAllData\"G\n\x16\x43reateWithDataResponse\x12-\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field2\xc4\x0f\n\x0c\x46ieldService\x12M\n\x06\x43reate\x12$.ansys.api.dpf.field.v0.FieldRequest\x1a\x1d.ansys.api.dpf.field.v0.Field\x12\x65\n\x0e\x43reateWithData\x12\x1f.ansys.api.dpf.field.v0.AllData\x1a..ansys.api.dpf.field.v0.CreateWithDataResponse(\x01\x30\x01\x12O\n\x07\x41\x64\x64\x44\x61ta\x12&.ansys.api.dpf.field.v0.AddDataRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12W\n\nUpdateData\x12).ansys.api.dpf.field.v0.UpdateDataRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty(\x01\x12^\n\x11UpdateDataPointer\x12).ansys.api.dpf.field.v0.UpdateDataRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty(\x01\x12[\n\rUpdateScoping\x12,.ansys.api.dpf.field.v0.UpdateScopingRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12U\n\nUpdateSize\x12).ansys.api.dpf.field.v0.UpdateSizeRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12k\n\x15UpdateDataPointerSize\x12\x34.ansys.api.dpf.field.v0.UpdateDataPointerSizeRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12k\n\x15UpdateFieldDefinition\x12\x34.ansys.api.dpf.field.v0.UpdateFieldDefinitionRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12i\n\x14UpdateElementaryData\x12\x33.ansys.api.dpf.field.v0.UpdateElementaryDataRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12S\n\x04List\x12#.ansys.api.dpf.field.v0.ListRequest\x1a$.ansys.api.dpf.field.v0.ListResponse0\x01\x12^\n\x0fListDataPointer\x12#.ansys.api.dpf.field.v0.ListRequest\x1a$.ansys.api.dpf.field.v0.ListResponse0\x01\x12\\\n\nGetScoping\x12\".ansys.api.dpf.field.v0.GetRequest\x1a*.ansys.api.dpf.field.v0.GetScopingResponse\x12W\n\nGetSupport\x12&.ansys.api.dpf.field.v0.SupportRequest\x1a!.ansys.api.dpf.support.v0.Support\x12\x66\n\rGetProperties\x12).ansys.api.dpf.field.v0.PropertiesRequest\x1a*.ansys.api.dpf.field.v0.PropertiesResponse\x12U\n\nSetSupport\x12).ansys.api.dpf.field.v0.SetSupportRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12l\n\x12GetFieldDefinition\x12\".ansys.api.dpf.field.v0.GetRequest\x1a\x32.ansys.api.dpf.field.v0.GetFieldDefinitionResponse\x12x\n\x11GetElementaryData\x12\x30.ansys.api.dpf.field.v0.GetElementaryDataRequest\x1a\x31.ansys.api.dpf.field.v0.GetElementaryDataResponse\x12S\n\x05\x43ount\x12$.ansys.api.dpf.field.v0.CountRequest\x1a$.ansys.api.dpf.base.v0.CountResponse\x12L\n\nGetAllData\x12\x1d.ansys.api.dpf.field.v0.Field\x1a\x1f.ansys.api.dpf.field.v0.AllData\x12\x45\n\x06\x44\x65lete\x12\x1d.ansys.api.dpf.field.v0.Field\x1a\x1c.ansys.api.dpf.base.v0.EmptyB\x19\xaa\x02\x16\x41nsys.Api.Dpf.Field.V0b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x66ield.proto\x12\x16\x61nsys.api.dpf.field.v0\x1a\nbase.proto\x1a\rscoping.proto\x1a\x16\x66ield_definition.proto\x1a\rsupport.proto\x1a\x0f\x64\x61ta_tree.proto\x1a\x18\x63ollection_message.proto\"P\n\x14\x43ustomTypeDefinition\x12\x18\n\x10unitary_datatype\x18\x01 \x01(\t\x12\x1e\n\x16num_bytes_unitary_data\x18\x02 \x01(\x05\"\x95\x01\n\x05\x46ield\x12\x33\n\x02id\x18\x01 \x01(\x0b\x32\'.ansys.api.dpf.base.v0.EntityIdentifier\x12\x10\n\x08\x64\x61tatype\x18\x02 \x01(\t\x12\x45\n\x0f\x63ustom_type_def\x18\x03 \x01(\x0b\x32,.ansys.api.dpf.field.v0.CustomTypeDefinition\"\xc5\x02\n\x0c\x46ieldRequest\x12-\n\x06nature\x18\x01 \x01(\x0e\x32\x1d.ansys.api.dpf.base.v0.Nature\x12\x31\n\x08location\x18\x02 \x01(\x0b\x32\x1f.ansys.api.dpf.base.v0.Location\x12/\n\x04size\x18\x03 \x01(\x0b\x32!.ansys.api.dpf.field.v0.FieldSize\x12\x10\n\x08\x64\x61tatype\x18\x04 \x01(\t\x12I\n\x0e\x64imensionality\x18\x05 \x01(\x0b\x32\x31.ansys.api.dpf.field_definition.v0.Dimensionality\x12\x45\n\x0f\x63ustom_type_def\x18\x06 \x01(\x0b\x32,.ansys.api.dpf.field.v0.CustomTypeDefinition\"\x8d\x01\n\x0e\x41\x64\x64\x44\x61taRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12M\n\x13\x65lemdata_containers\x18\x02 \x01(\x0b\x32\x30.ansys.api.dpf.field.v0.ElementaryDataContainers\"x\n\x14UpdateScopingRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x32\n\x07scoping\x18\x02 \x01(\x0b\x32!.ansys.api.dpf.scoping.v0.Scoping\"\x93\x01\n\x1cUpdateFieldDefinitionRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x45\n\tfield_def\x18\x02 \x01(\x0b\x32\x32.ansys.api.dpf.field_definition.v0.FieldDefinition\"\x9a\x01\n\x1bUpdateElementaryDataRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12M\n\x13\x65lemdata_containers\x18\x02 \x01(\x0b\x32\x30.ansys.api.dpf.field.v0.ElementaryDataContainers\"\x83\x01\n\x11UpdateSizeRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12/\n\x04size\x18\x02 \x01(\x0b\x32!.ansys.api.dpf.field.v0.FieldSize\x12\x0f\n\x07reserve\x18\x03 \x01(\x08\"Z\n\x1cUpdateDataPointerSizeRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x0c\n\x04size\x18\x02 \x01(\x05\"4\n\tFieldSize\x12\x14\n\x0cscoping_size\x18\x01 \x01(\x05\x12\x11\n\tdata_size\x18\x02 \x01(\x05\"\xae\x02\n\x04\x44\x61ta\x12\x39\n\ndatadouble\x18\x02 \x01(\x0b\x32#.ansys.api.dpf.base.v0.DoubleVectorH\x00\x12\x33\n\x07\x64\x61taint\x18\x03 \x01(\x0b\x32 .ansys.api.dpf.base.v0.IntVectorH\x00\x12\x37\n\tdatafloat\x18\x04 \x01(\x0b\x32\".ansys.api.dpf.base.v0.FloatVectorH\x00\x12\x39\n\ndatastring\x18\x01 \x01(\x0b\x32#.ansys.api.dpf.base.v0.StringVectorH\x00\x12\x35\n\x08\x64\x61tabyte\x18\x05 \x01(\x0b\x32!.ansys.api.dpf.base.v0.ByteVectorH\x00\x42\x0b\n\tdatatypes\"q\n\x18\x45lementaryDataContainers\x12\x12\n\nscoping_id\x18\x01 \x01(\x05\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1c.ansys.api.dpf.field.v0.Data\x12\x15\n\rscoping_index\x18\x03 \x01(\x05\";\n\x0bListRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\":\n\nGetRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\"s\n\x18GetElementaryDataRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x0f\n\x05index\x18\x02 \x01(\x05H\x00\x12\x0c\n\x02id\x18\x03 \x01(\x05H\x00\x42\n\n\x08index_id\"\x1d\n\x0cListResponse\x12\r\n\x05\x61rray\x18\x01 \x01(\x0c\"j\n\x19GetElementaryDataResponse\x12M\n\x13\x65lemdata_containers\x18\x01 \x01(\x0b\x32\x30.ansys.api.dpf.field.v0.ElementaryDataContainers\"H\n\x12GetScopingResponse\x12\x32\n\x07scoping\x18\x01 \x01(\x0b\x32!.ansys.api.dpf.scoping.v0.Scoping\"x\n\x1aGetFieldDefinitionResponse\x12L\n\x10\x66ield_definition\x18\x01 \x01(\x0b\x32\x32.ansys.api.dpf.field_definition.v0.FieldDefinition\x12\x0c\n\x04name\x18\x02 \x01(\t\"p\n\x0c\x43ountRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x32\n\x06\x65ntity\x18\x02 \x01(\x0e\x32\".ansys.api.dpf.base.v0.CountEntity\"i\n\x0eSupportRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12)\n\x04type\x18\x02 \x01(\x0e\x32\x1b.ansys.api.dpf.base.v0.Type\"A\n\x11PropertiesRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\"M\n\x12PropertiesResponse\x12\x37\n\tdata_tree\x18\x01 \x01(\x0b\x32$.ansys.api.dpf.data_tree.v0.DataTree\"\x80\x01\n\x17UpdatePropertiesRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x37\n\tdata_tree\x18\x02 \x01(\x0b\x32$.ansys.api.dpf.data_tree.v0.DataTree\"u\n\x11SetSupportRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\x32\n\x07support\x18\x02 \x01(\x0b\x32!.ansys.api.dpf.support.v0.Support\"P\n\x11UpdateDataRequest\x12,\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field\x12\r\n\x05\x61rray\x18\x02 \x01(\x0c\"\x8b\x03\n\x12SingleFieldAllData\x12\x45\n\x0f\x63ustom_type_def\x18\x01 \x01(\x0b\x32,.ansys.api.dpf.field.v0.CustomTypeDefinition\x12\x32\n\x07scoping\x18\x02 \x01(\x0b\x32!.ansys.api.dpf.scoping.v0.Scoping\x12P\n\x10\x66ield_definition\x18\x03 \x01(\x0b\x32\x36.ansys.api.dpf.field_definition.v0.FieldDefinitionData\x12\x35\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\'.ansys.api.dpf.collection.v0.Collection\x12=\n\x0c\x64\x61ta_pointer\x18\x05 \x01(\x0b\x32\'.ansys.api.dpf.collection.v0.Collection\x12\x32\n\x07support\x18\x06 \x01(\x0b\x32!.ansys.api.dpf.support.v0.Support\"W\n\x07\x41llData\x12\x10\n\x08\x64\x61tatype\x18\x01 \x01(\t\x12:\n\x06\x66ields\x18\x02 \x03(\x0b\x32*.ansys.api.dpf.field.v0.SingleFieldAllData\"G\n\x16\x43reateWithDataResponse\x12-\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1d.ansys.api.dpf.field.v0.Field2\xa7\x10\n\x0c\x46ieldService\x12M\n\x06\x43reate\x12$.ansys.api.dpf.field.v0.FieldRequest\x1a\x1d.ansys.api.dpf.field.v0.Field\x12\x65\n\x0e\x43reateWithData\x12\x1f.ansys.api.dpf.field.v0.AllData\x1a..ansys.api.dpf.field.v0.CreateWithDataResponse(\x01\x30\x01\x12O\n\x07\x41\x64\x64\x44\x61ta\x12&.ansys.api.dpf.field.v0.AddDataRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12W\n\nUpdateData\x12).ansys.api.dpf.field.v0.UpdateDataRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty(\x01\x12^\n\x11UpdateDataPointer\x12).ansys.api.dpf.field.v0.UpdateDataRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty(\x01\x12[\n\rUpdateScoping\x12,.ansys.api.dpf.field.v0.UpdateScopingRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12U\n\nUpdateSize\x12).ansys.api.dpf.field.v0.UpdateSizeRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12k\n\x15UpdateDataPointerSize\x12\x34.ansys.api.dpf.field.v0.UpdateDataPointerSizeRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12k\n\x15UpdateFieldDefinition\x12\x34.ansys.api.dpf.field.v0.UpdateFieldDefinitionRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12i\n\x14UpdateElementaryData\x12\x33.ansys.api.dpf.field.v0.UpdateElementaryDataRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12\x61\n\x10UpdateProperties\x12/.ansys.api.dpf.field.v0.UpdatePropertiesRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12S\n\x04List\x12#.ansys.api.dpf.field.v0.ListRequest\x1a$.ansys.api.dpf.field.v0.ListResponse0\x01\x12^\n\x0fListDataPointer\x12#.ansys.api.dpf.field.v0.ListRequest\x1a$.ansys.api.dpf.field.v0.ListResponse0\x01\x12\\\n\nGetScoping\x12\".ansys.api.dpf.field.v0.GetRequest\x1a*.ansys.api.dpf.field.v0.GetScopingResponse\x12W\n\nGetSupport\x12&.ansys.api.dpf.field.v0.SupportRequest\x1a!.ansys.api.dpf.support.v0.Support\x12\x66\n\rGetProperties\x12).ansys.api.dpf.field.v0.PropertiesRequest\x1a*.ansys.api.dpf.field.v0.PropertiesResponse\x12U\n\nSetSupport\x12).ansys.api.dpf.field.v0.SetSupportRequest\x1a\x1c.ansys.api.dpf.base.v0.Empty\x12l\n\x12GetFieldDefinition\x12\".ansys.api.dpf.field.v0.GetRequest\x1a\x32.ansys.api.dpf.field.v0.GetFieldDefinitionResponse\x12x\n\x11GetElementaryData\x12\x30.ansys.api.dpf.field.v0.GetElementaryDataRequest\x1a\x31.ansys.api.dpf.field.v0.GetElementaryDataResponse\x12S\n\x05\x43ount\x12$.ansys.api.dpf.field.v0.CountRequest\x1a$.ansys.api.dpf.base.v0.CountResponse\x12L\n\nGetAllData\x12\x1d.ansys.api.dpf.field.v0.Field\x1a\x1f.ansys.api.dpf.field.v0.AllData\x12\x45\n\x06\x44\x65lete\x12\x1d.ansys.api.dpf.field.v0.Field\x1a\x1c.ansys.api.dpf.base.v0.EmptyB\x19\xaa\x02\x16\x41nsys.Api.Dpf.Field.V0b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -74,16 +74,18 @@ _globals['_PROPERTIESREQUEST']._serialized_end=2842 _globals['_PROPERTIESRESPONSE']._serialized_start=2844 _globals['_PROPERTIESRESPONSE']._serialized_end=2921 - _globals['_SETSUPPORTREQUEST']._serialized_start=2923 - _globals['_SETSUPPORTREQUEST']._serialized_end=3040 - _globals['_UPDATEDATAREQUEST']._serialized_start=3042 - _globals['_UPDATEDATAREQUEST']._serialized_end=3122 - _globals['_SINGLEFIELDALLDATA']._serialized_start=3125 - _globals['_SINGLEFIELDALLDATA']._serialized_end=3520 - _globals['_ALLDATA']._serialized_start=3522 - _globals['_ALLDATA']._serialized_end=3609 - _globals['_CREATEWITHDATARESPONSE']._serialized_start=3611 - _globals['_CREATEWITHDATARESPONSE']._serialized_end=3682 - _globals['_FIELDSERVICE']._serialized_start=3685 - _globals['_FIELDSERVICE']._serialized_end=5673 + _globals['_UPDATEPROPERTIESREQUEST']._serialized_start=2924 + _globals['_UPDATEPROPERTIESREQUEST']._serialized_end=3052 + _globals['_SETSUPPORTREQUEST']._serialized_start=3054 + _globals['_SETSUPPORTREQUEST']._serialized_end=3171 + _globals['_UPDATEDATAREQUEST']._serialized_start=3173 + _globals['_UPDATEDATAREQUEST']._serialized_end=3253 + _globals['_SINGLEFIELDALLDATA']._serialized_start=3256 + _globals['_SINGLEFIELDALLDATA']._serialized_end=3651 + _globals['_ALLDATA']._serialized_start=3653 + _globals['_ALLDATA']._serialized_end=3740 + _globals['_CREATEWITHDATARESPONSE']._serialized_start=3742 + _globals['_CREATEWITHDATARESPONSE']._serialized_end=3813 + _globals['_FIELDSERVICE']._serialized_start=3816 + _globals['_FIELDSERVICE']._serialized_end=5903 # @@protoc_insertion_point(module_scope) diff --git a/src/ansys/grpc/dpf/field_pb2_grpc.py b/src/ansys/grpc/dpf/field_pb2_grpc.py index 7416cfbe89d..0cb48d0ab11 100644 --- a/src/ansys/grpc/dpf/field_pb2_grpc.py +++ b/src/ansys/grpc/dpf/field_pb2_grpc.py @@ -66,6 +66,11 @@ def __init__(self, channel): request_serializer=field__pb2.UpdateElementaryDataRequest.SerializeToString, response_deserializer=base__pb2.Empty.FromString, ) + self.UpdateProperties = channel.unary_unary( + '/ansys.api.dpf.field.v0.FieldService/UpdateProperties', + request_serializer=field__pb2.UpdatePropertiesRequest.SerializeToString, + response_deserializer=base__pb2.Empty.FromString, + ) self.List = channel.unary_stream( '/ansys.api.dpf.field.v0.FieldService/List', request_serializer=field__pb2.ListRequest.SerializeToString, @@ -192,6 +197,12 @@ def UpdateElementaryData(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def UpdateProperties(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def List(self, request, context): """sends streamed data, to choose the size of each chunk set metadata with "num_float", "num_double", "num_int" or "num_bytes" """ @@ -313,6 +324,11 @@ def add_FieldServiceServicer_to_server(servicer, server): request_deserializer=field__pb2.UpdateElementaryDataRequest.FromString, response_serializer=base__pb2.Empty.SerializeToString, ), + 'UpdateProperties': grpc.unary_unary_rpc_method_handler( + servicer.UpdateProperties, + request_deserializer=field__pb2.UpdatePropertiesRequest.FromString, + response_serializer=base__pb2.Empty.SerializeToString, + ), 'List': grpc.unary_stream_rpc_method_handler( servicer.List, request_deserializer=field__pb2.ListRequest.FromString, @@ -548,6 +564,23 @@ def UpdateElementaryData(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def UpdateProperties(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/ansys.api.dpf.field.v0.FieldService/UpdateProperties', + field__pb2.UpdatePropertiesRequest.SerializeToString, + base__pb2.Empty.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def List(request, target, |