CLI 命令:new
new
命令用于创建项目。语法
"C:\Program Files\Rockwell Automation\FactoryTalk Optix\
version
\FTOptixStudio" new project_to_create
path
[-e | --encrypt-secrets] [--template=template
] [--main-window-width==width
] [--main-window-height==height
] [-l | --in-project-location] [--silent] [-u | --user-defined-templates] [-d, --default-template-dimensions]参数 | 重要程度 | 说明 |
|---|---|---|
version | 必填 | 反映已安装 FactoryTalk Optix Studio 版本的文件夹名称。 |
project_to_create | 必填 | 项目的名称。 |
path | 必填 | 项目的位置。 |
-e 或 --encrypt-secrets | 可选的 | 对项目中的敏感信息进行加密。 |
--template= template | 可选的 | 要用于项目的模板的名称。 template 允许的值为:
|
--main-window-width= width | 可选的 | 主窗口的宽度(以像素为单位)。默认宽度为 400 像素 |
--main-window-height= height | 可选的 | 主窗口的高度(以像素为单位)。默认高度为 400 像素 |
-l 或 --in-project-location | 可选的 | 直接在 path |
--silent | 可选的 | 在命令提示符下不提供详细的命令输出。 |
-u, --user-defined-templates | 可选的 | 项目模板是用户定义的模板 |
-d, --default-template-dimensions | 可选的 | 创建新项目时使用默认模板维度。 |
提供反馈