ReferenceDatapinBase#

class ReferenceDatapinBase(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, abc.ABC

Defines the base class for reference datapins.

This class is for implementing what is common between scalar and array reference datapins.

Overview#

get_metadata

Get the metadata for the datapin.

set_metadata

Set the standard metadata for the datapin.

Import detail#

from ansys.modelcenter.workflow.grpc_modelcenter.reference_datapin import ReferenceDatapinBase

Method detail#

ReferenceDatapinBase.get_metadata() ansys.modelcenter.workflow.grpc_modelcenter.reference_datapin_metadata.ReferenceDatapinMetadata#

Get the metadata for the datapin.

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

Set the standard metadata for the datapin.