StringArrayDatapin#

class StringArrayDatapin(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.IStringArrayDatapin

Represents a gRPC double/real array datapin on the workflow.

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.string_datapin import StringArrayDatapin

Method detail#

StringArrayDatapin.__eq__(other)#

Return self==value.

StringArrayDatapin.get_metadata() ansys.tools.variableinterop.StringArrayMetadata#

Get the metadata for the datapin.

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

Set the standard metadata for the datapin.

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

Set the state of the datapin.