The create_datapin.py
module#
Summary#
Create a |
Description#
Defines the function for creating a datapin object.
Creation requires a given datapin type and gRPC information.
Module detail#
- create_datapin.create_datapin(var_value_type: ansys.api.modelcenter.v0.variable_value_messages_pb2.VariableType, element_id: ansys.api.modelcenter.v0.element_messages_pb2.ElementId, engine: ansys.modelcenter.workflow.grpc_modelcenter.engine.Engine) ansys.modelcenter.workflow.api.IDatapin #
Create a
mc_api.IDatapin
object using the given parameters.- Parameters:
- var_value_type
VariableType
Variable type for the datapin.
- element_id
ElementId
ID of the particular datapin.
- engine
Engine
Engine that created the datapin
- var_value_type