unreal.AIAssistantDockContext

class unreal.AIAssistantDockContext(asset: Object = Ellipsis, graph: EdGraph = Ellipsis, selected_nodes: None = [])

Bases: StructBase

Contains information about the state of the editor that the assistant is currently docked with.

C++ Source:

  • Plugin: AIAssistant

  • Module: AIAssistant

  • File: AIAssistantToolset.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset (Object): [Read-Write] The asset instance that is currently being edited (if any).

  • graph (EdGraph): [Read-Write] The graph instance that is currently being edited (if any).

  • selected_nodes (Array[EdGraphNode]): [Read-Write] The list of selected graph nodes edited (if any).

property asset: Object

[Read-Only] The asset instance that is currently being edited (if any).

Type:

(Object)

property graph: EdGraph

[Read-Only] The graph instance that is currently being edited (if any).

Type:

(EdGraph)

property selected_nodes: None

[Read-Only] The list of selected graph nodes edited (if any).

Type:

(Array[EdGraphNode])