The element_wrapper.py
module#
Summary#
Create an appropriately-typed wrapper given gRPC element information. |
Description#
Defines a function that creates a wrapper from gRPC element information.
Module detail#
- element_wrapper.create_element(info: ansys.api.modelcenter.v0.workflow_messages_pb2.ElementInfo, engine: ansys.modelcenter.workflow.grpc_modelcenter.engine.Engine) ansys.engineeringworkflow.api.IElement #
Create an appropriately-typed wrapper given gRPC element information.
- Parameters:
- info
ElementInfo
Element information from gRPC.
- engine
Engine
Engine to use to create the element.
- info
- Returns:
aew_api.IElement
Created element.