ansys.fluent.core.workflow.CompoundTask#
- class ansys.fluent.core.workflow.CompoundTask(command_source, task)#
Compound task representation for wrapping a Workflow TaskObject instance of TaskType Compound.
Methods
__init__
(command_source, task)Initialize CompoundTask.
add_child_and_update
([state])Add a child to this CompoundTask and update.
Add a child task.
Get the Pythonic names of the child tasks.
compound_child
(name)Get the compound child task of this CompoundTask by name.
delete
()Delete this task from the workflow.
Display name.
Get the list of tasks downstream of this one and directly connected by a data dependency.
Get the list of tasks upstream of this one and directly connected by a data dependency.
get_id
()Get the unique string identifier of this task, as it is in the application.
get_idx
()Get the unique integer index of this task, as it is in the application.
Get the list of possible names of commands that can be inserted as tasks after this current task is executed.
Get the inactive ordered child list.
Insert a compound child task.
insert_next_task
(command_name)Insert a task based on the command name passed as argument after the current task is executed.
Get the last child of this CompoundTask.
ordered_children
([recompute])Get the ordered task list held by this task.
Get the Pythonic name of this task, as it is in the underlying application.
rename
(new_name)Rename the current task to a given name.
update_child_tasks
(setup_type_changed)Update child tasks.
Attributes
arguments
Get the task's arguments.
command_arguments
Get the task's arguments in read-only form (deprecated).