IntegerDatapin#

class IntegerDatapin(element_id: ansys.api.modelcenter.v0.element_messages_pb2.ElementId, engine: ansys.modelcenter.workflow.grpc_modelcenter.engine.Engine)#

Bases: ansys.modelcenter.workflow.grpc_modelcenter.base_datapin.BaseDatapin, ansys.modelcenter.workflow.api.IIntegerDatapin

Represents an integer datapin.

Note

This class should not be directly instantiated by clients. Get a Workflow object from an instantiated Engine instance and use it to get a valid instance of this object.

Overview#

get_metadata

Get the metadata for the datapin.

set_metadata

Set the standard metadata for the datapin.

set_state

Set the state of the datapin.

__eq__

Return self==value.

Import detail#

from ansys.modelcenter.workflow.grpc_modelcenter.integer_datapin import IntegerDatapin

Method detail#

IntegerDatapin.__eq__(other)#

Return self==value.

IntegerDatapin.get_metadata() ansys.tools.variableinterop.IntegerMetadata#

Get the metadata for the datapin.

IntegerDatapin.set_metadata(new_metadata: ansys.tools.variableinterop.CommonVariableMetadata) None#

Set the standard metadata for the datapin.

IntegerDatapin.set_state(state: ansys.tools.variableinterop.VariableState) None#

Set the state of the datapin.