关于 PTC Mathcad Prime 分析和 PTC Mathcad Prime 分析特征
可使用一个 PTC Mathcad Prime 文件定义要在 Creo+ 模型上执行的分析。要访问 PTC Mathcad Prime 分析,请单击 > 。
还可创建一个由 PTC Mathcad Prime 分析驱动的分析特征。该 PTC Mathcad Prime 分析可以决定创建哪些参数作为此分析特征的结果。要创建分析特征,请单击 > ,然后选择“Mathcad 分析”(Mathcad Analysis) 作为分析类型。
您可以创建
PTC Mathcad 输出文件,使其与
PTC Mathcad Prime 文件相同,该文件用于定义分析特征,但根据分析中使用的尺寸和参数的更新值来进行评估。还可以创建
基准点和基准坐标系作为
PTC Mathcad Prime 分析特征的结果。
| • 可将 Pro/ENGINEER Wildfire 3.0 M030 或更新版本中的 PTC Mathcad Prime 分析与 Mathcad 13.0 配合使用。 • 如果在 Pro/ENGINEER Wildfire 3.0 M030 或更新版本中创建 PTC Mathcad Prime 分析并将其保存到一个零件中,则在更早期版本的 Pro/ENGINEER 中将无法检索该零件。要在 Pro/ENGINEER 的早期版本中检索这样的零件,应在 Pro/ENGINEER Wildfire 3.0 M030 或更新版本中将 PTC Mathcad Prime 分析特征从零件中移出。 • 当关闭 PTC Mathcad Prime 分析或退出 Creo+ 时,所有的 PTC Mathcad Prime 实例会自动关闭。 |
要执行分析,首先必须在
PTC Mathcad Prime 分析中加载一个
PTC Mathcad Prime 工作表文件并将
Creo+ 参数或尺寸映射到
PTC Mathcad Prime 变量。有关映射的信息,请参阅
变量或参数的映射名称指南。
要将
Creo+ 参数或尺寸映射到
PTC Mathcad Prime 分配变量,请将
PTC Mathcad Prime 分配变量的
数学区域标记为
proe2mc。将数学区域标记为
proe2mc 后,
PTC Mathcad Prime 变量将
Creo+ 参数或尺寸的值作为输入值。注意,必须将
proe2mc 标记应用到那些具有如下数字定义类型的区域上,例如
x:=45.78 in,其中
x 是
PTC Mathcad Prime 分配变量而
in 是单位。
对用于
Creo+ 计算的
PTC Mathcad Prime 结果变量,必须将
数学区域标记为
mc2proe。注意,必须将
mc2proe 标记应用到具有如下数字结果类型的区域上,例如
y=70.92 in,其中
y 是
PTC Mathcad Prime 结果变量而
in 是单位。
在将 Creo+ 参数或尺寸映射到 PTC Mathcad Prime 变量时,数学区域中具有 proe2mc 标记的 PTC Mathcad Prime 分配变量将出现在“输入选择”(Input Selection) 对话框中。类似地,在将 PTC Mathcad Prime 变量映射到 Creo+ 时,数学区域中具有 mc2proe 标记的 PTC Mathcad Prime 结果变量将出现在“输出选择”(Outputs Selection) 对话框中。
在标记 PTC Mathcad Prime 变量并保存 PTC Mathcad Prime 工作表后,将工作表文件加载到 PTC Mathcad Prime 分析中,并将所需的 Creo+ 参数和尺寸映射到用于分析的 PTC Mathcad Prime 变量。
当加载 PTC Mathcad Prime 工作表文件时,Creo+ 将数学区域中标记为 mc2proe 的 PTC Mathcad Prime 结果变量的名称从小写字母转换为大写字母。注意,只有在 Creo+ 中创建了参数后,这些名称才可以转换为大写字母。
| PTC Mathcad Prime 未转换的变量名称不显示在“输出选择”(Outputs Selection) 对话框中。 |
还可通过选择
PTC Mathcad Prime 赋值变量或
PTC Mathcad Prime 结果变量来执行单向
PTC Mathcad Prime 分析。可以使用
PTC Mathcad Prime 计算值,并可将这些值作为常规
Creo+ 特征用于建模和分析。也可以
监视 PTC Mathcad 工作表,该工作表对应于所创建的
PTC Mathcad Prime 分析特征。
如果将 mathcad_automapping 配置选项设置为 yes 并加载 PTC Mathcad Prime 文件,Creo+ 顶层参数将自动映射到具有相同名称的已标记的 PTC Mathcad Prime 分配变量。
使用 mathcad_analysis_directory 配置选项可为分析计算中使用的 PTC Mathcad Prime 文件设置默认目录。
| 但是,在创建 PTC Mathcad Prime 分析特征时,PTC Mathcad Prime 文件应放置在 Creo+ 工作目录中。 |
检索 PTC Mathcad Prime 分析或重新生成 PTC Mathcad Prime 分析特征时,Creo+ 将按下列顺序搜索 PTC Mathcad Prime 文件:
• PDM 工作区 (处于链接会话中时)
• 配置选项 mathcad_analysis_directory 指定的目录
• 在 Creo+ 工作目录中
• 在 Creo+ 启动目录中