@@ -34,6 +34,7 @@ def _type_to_message_type():
3434 from ansys .dpf .gate import dpf_vector
3535 from ansys .dpf .core import (
3636 field ,
37+ fields_container ,
3738 property_field ,
3839 generic_data_container ,
3940 string_field ,
@@ -50,6 +51,7 @@ def _type_to_message_type():
5051 (float , base_pb2 .Type .DOUBLE ),
5152 (bytes , base_pb2 .Type .STRING ),
5253 (field .Field , base_pb2 .Type .FIELD ),
54+ (fields_container .FieldsContainer , base_pb2 .Type .COLLECTION , base_pb2 .Type .FIELD ),
5355 (property_field .PropertyField , base_pb2 .Type .PROPERTY_FIELD ),
5456 (string_field .StringField , base_pb2 .Type .STRING_FIELD ),
5557 (custom_type_field .CustomTypeField , base_pb2 .Type .CUSTOM_TYPE_FIELD ),
@@ -114,6 +116,10 @@ def any_get_as_field(any):
114116 @staticmethod
115117 def any_get_as_property_field (any ):
116118 return AnyGRPCAPI ._get_as (any ).field
119+
120+ @staticmethod
121+ def any_get_as_fields_container (any ):
122+ return AnyGRPCAPI ._get_as (any ).collection
117123
118124 @staticmethod
119125 def any_get_as_string_field (any ):
@@ -213,6 +219,10 @@ def any_new_from_field(any):
213219 def any_new_from_property_field (any ):
214220 return AnyGRPCAPI ._new_from (any , any ._server )
215221
222+ @staticmethod
223+ def any_new_from_fields_container (any ):
224+ return AnyGRPCAPI ._new_from (any , any ._server )
225+
216226 @staticmethod
217227 def any_new_from_string_field (any ):
218228 return AnyGRPCAPI ._new_from (any , any ._server )
0 commit comments