CAE Skill
This skill controls supported local CAE applications on Windows.
Supported apps
- - abaqus
- ansys
- ansa
- hyperworks
What this skill can do
- - launch a CAE app
- open a file in a CAE app
- check whether a CAE app is running
- close a CAE app
- get the current active CAE app
- get all running supported CAE apps
- detect an executable path using saved paths and predefined common install paths
- save a user-provided executable path
Constraints
- - Do not scan the whole computer.
- Do not traverse all files on disk.
- Do not read the Windows registry.
- Only use:
1. saved paths in
config.json
2. predefined common install paths in
config.json
- - If the executable cannot be found, ask the user to provide the full executable path.
Execution
Use skill_runner.py as the execution entrypoint.
Payload format:
CODEBLOCK0
Supported Actions
launch_app
Arguments:
openfilein_app
Arguments:
- - app
- filepath
- configfile(optional)
- autolaunch(optional)
- waitseconds(optional)
isappruning
Arguments:
- - app
- config_file(optional)
close_app
Arguments:
- - app
- config_file(optional)
- force(optional)
getactivateapp
Arguments:
getrunningapps
Arguments:
detectapppath
Arguments:
- - app
- config_file(optional)
setapppath
Arguments:
- - app
- path
- config_file(optional)
Note
This skill is designed for local CAE workstation automation.
It intentionally avoids heavy filesystem scanning to maintain fast response and predictable behavior.
CAE 技能
该技能用于控制 Windows 上支持的本地 CAE 应用程序。
支持的应用程序
- - abaqus
- ansys
- ansa
- hyperworks
该技能的功能
- - 启动 CAE 应用程序
- 在 CAE 应用程序中打开文件
- 检查 CAE 应用程序是否正在运行
- 关闭 CAE 应用程序
- 获取当前活动的 CAE 应用程序
- 获取所有正在运行的受支持的 CAE 应用程序
- 使用已保存的路径和预定义的常见安装路径检测可执行文件路径
- 保存用户提供的可执行文件路径
限制条件
- - 不要扫描整个计算机。
- 不要遍历磁盘上的所有文件。
- 不要读取 Windows 注册表。
- 仅使用:
1. config.json 中保存的路径
2. config.json 中预定义的常见安装路径
- - 如果找不到可执行文件,请用户提供完整的可执行文件路径。
执行
使用 skill_runner.py 作为执行入口点。
负载格式:
json
{
skill: launch_app,
args: {
app: abaqus
}
}
支持的操作
launch_app
参数:
openfilein_app
参数:
- - app
- filepath
- configfile(可选)
- autolaunch(可选)
- waitseconds(可选)
isappruning
参数:
close_app
参数:
- - app
- config_file(可选)
- force(可选)
getactivateapp
参数:
getrunningapps
参数:
detectapppath
参数:
setapppath
参数:
注意
该技能专为本地 CAE 工作站自动化而设计。
它有意避免繁重的文件系统扫描,以保持快速响应和可预测的行为。