BaseDatapin#
- class BaseDatapin(element_id: ansys.api.modelcenter.v0.element_messages_pb2.ElementId, engine: ansys.modelcenter.workflow.grpc_modelcenter.engine.Engine)#
Bases: ansys.modelcenter.workflow.grpc_modelcenter.abstract_workflow_element.AbstractWorkflowElement
, ansys.modelcenter.workflow.api.IDatapin
, abc.ABC
Represents a datapin on the workflow.
Overview#
Get the state of the datapin. |
|
Get the dependent (output) datapins for the datapin. |
|
Get the precedent (input) datapins for the datapin. |
Get the type of value that the datapin stores. |
|
Flag indicating if the datapin is an input in the context of the component it is on. |
|
Flag indicating if the datapin is an input in the context of the overall workflow. |
Import detail#
from ansys.modelcenter.workflow.grpc_modelcenter.base_datapin import BaseDatapin
Property detail#
- property BaseDatapin.value_type: ansys.tools.variableinterop.VariableType#
Get the type of value that the datapin stores.
Method detail#
- BaseDatapin.get_state(hid: str | None = None) ansys.tools.variableinterop.VariableState #
Get the state of the datapin.
- BaseDatapin.get_dependents(only_fetch_direct_dependents: bool, follow_suspended_links: bool) Collection[ansys.modelcenter.workflow.api.IDatapin] #
Get the dependent (output) datapins for the datapin.
- Parameters:
- Returns:
Collection
[aew_api.IDatapin
]Collection of dependent datapins.