Node#

class ansys.optislang.core.nodes.Node#

Base class for classes which provide for creating and operating on nodes.

Methods

Node.control(command[, hid, ...])

Control the node state.

Node.delete()

Delete current node and it's children from active project.

Node.exists()

Get info whether node exists in active project.

Node.get_ancestors()

Get tuple of ordered ancestors starting from root system at position 0.

Node.get_connections([slot_type, slot_name])

Get connections of a given direction and slot.

Node.get_execution_options()

Get execution options.

Node.get_input_slots([name])

Get current node's input slots.

Node.get_name()

Get the name of the node.

Node.get_output_slots([name])

Get current node's output slots.

Node.get_parent()

Get the instance of the parent node.

Node.get_parent_name()

Get the name of the parent node.

Node.get_property(name)

Get property from properties dictionary.

Node.get_registered_files()

Get node's registered files.

Node.get_result_files()

Get node's result files.

Node.get_states_ids()

Get available actor states ids.

Node.get_status()

Get the status of the node.

Node.set_execution_options(value)

Set execution options.

Node.set_property(name, value)

Set node's property.

Attributes

Node.type

Type of the node.

Node.uid

Unique ID of the node.