InputSlot#

class ansys.optislang.core.nodes.InputSlot#

Provides for creating and operating on input slots.

Methods

InputSlot.connect_from(from_slot)

Connect slot from another slot.

InputSlot.create_slot(osl_server, node, ...)

Create instance of new slot.

InputSlot.disconnect()

Remove all connections for the current slot.

InputSlot.get_connections()

Get connections for the current slot.

InputSlot.get_type_hint()

Get slot's expected data type.

Attributes

InputSlot.name

Get slot name.

InputSlot.node

Get node to which the slot belongs.

InputSlot.type

Get slot type.

InputSlot.type_hint

Get type hint.