Accessing Project-Level APIs

You can access project-level ACT custom workflow APIs off the master ExtAPI entry point. The following APIs are available:

Project

The top level of the hierarchy is the framework-level project. It provides additional entry points to the Workbench data model, file manager, and so on. It is accessed as follows:

project = ExtAPI.DataModel.Project
Context

This is the framework-level command context. It provides additional entry points to the session and project utilities, and is accessed as follows:

context = ExtAPI.DataModel.Context
Tasks

This is all of the tasks within the schematic, which includes both ACT-defined and pre-installed tasks. It does not include the “master task” level, such as ACT and schematic “template-like” tasks. Only concrete task instances are included. It is accessed as follows:

tasks = ExtAPI.DataModel.Tasks
Task Groups

This is all of the task groups within the schematic, which includes both ACT-defined task groups and pre-installed task groups. It does not include the “master task group” level, such as ACT and schematic “template-like” task groups. Only concrete task group instances are included. It is accessed as follows:

taskGroups = ExtAPI.DataModel.TaskGroups

Note:  This section provides only the top-level API access points to schematic and workflow-related data. For a comprehensive list of APIs for custom workflows, see the <workflow> section of the ANSYS ACT API Reference Guide.



Release 18.2 - © ANSYS, Inc. All rights reserved.