ansys.fluent.core.workflow.BaseTask#
- class ansys.fluent.core.workflow.BaseTask(command_source, task)#
Base class Task representation for wrapping a Workflow TaskObject instance, adding methods to discover more about the relationships between TaskObjects.
Methods
get_direct_upstream_tasks()
get_direct_downstream_tasks()
ordered_children()
inactive_ordered_children()
get_id()
get_idx()
__getattr__(attr)
__setattr__(attr, value)
__dir__()
__call__()
Methods
__init__
(command_source, task)Initialize BaseTask.
Add a child task.
Get the Pythonic names of the child tasks.
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.
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.