关于 PTC Mathcad Prime 分析和 PTC Mathcad Prime 分析特征
可使用一个 PTC Mathcad Prime 文件定义要在 Creo+ 模型上执行的分析。要访问 PTC Mathcad Prime 分析,请单击 > 。
还可创建一个由 PTC Mathcad Prime 分析驱动的分析特征。该 PTC Mathcad Prime 分析可以决定创建哪些参数作为此分析特征的结果。要创建分析特征,请单击 > ,然后选择“Prime 分析”(Prime Analysis) 作为分析类型。
您可以创建
PTC Mathcad 输出文件,使其与
PTC Mathcad Prime 文件相同,该文件用于定义分析特征,但根据分析中使用的尺寸和参数的更新值来进行评估。还可以创建
基准点、基准曲线和基准坐标系 | • 可配合 PTC Mathcad Prime 在 Pro/ENGINEER Wildfire 4.0 M130 或更新版本中使用 PTC Mathcad Prime 分析。 • 如果在 Pro/ENGINEER Wildfire 4.0 M130 或更新版本中创建 PTC Mathcad Prime 分析并将其保存到一个零件中,则在更早版本的 Creo+ 中将无法检索该零件。要在更早版本的 Creo+ 中检索这样的零件,应在 Pro/ENGINEER Wildfire 4.0 M130 或更新版本中将 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 变量分配为输入。当将 PTC Mathcad Prime 变量分配为输入时,PTC Mathcad Prime 变量会取得 Creo+ 参数或尺寸的值。请注意,必须将这些区域分配为具有如 x:=45.78 in 数字定义类型的输入,其中 x 是 PTC Mathcad Prime 赋值变量,in 是单位。
| 虽然 PTC Mathcad Prime 赋值变量会使用 Creo+ 参数或尺寸的值,但是在完成分析后,这些值不会在 PTC Mathcad Prime 工作表文件中更新。 |
要使 PTC Mathcad Prime 变量可用于 Creo+ 中的计算,必须将 PTC Mathcad Prime 变量分配为输出。当将 PTC Mathcad Prime 变量分配为输出时,PTC Mathcad Prime 变量会取得已计算 Creo+ 参数的值。这个计算的值会在用于分析的 PTC Mathcad Prime 工作表文件中更新。注意,必须分配具有如下数字结果类型的区域,例如 y=70.92 in,其中 y 是 PTC Mathcad Prime 结果变量而 in 是单位。
当将 Creo+ 参数或尺寸映射到 PTC Mathcad Prime 赋值变量时,数学区域中已分配为输入的 PTC Mathcad Prime 变量便会出现在“输入选择”(Input Selection) 对话框中。类似地,在将 PTC Mathcad Prime 变量映射到 Creo+ 时,数学区域中已分配为输出的 PTC Mathcad Prime 变量便会出现在“输出选择”(Outputs Selection) 对话框中。
在分配 PTC Mathcad Prime 变量并保存 PTC Mathcad Prime 工作表后,将工作表文件加载到分析中,并将所需的 Creo+ 参数和尺寸映射到用于分析的 PTC Mathcad Prime 变量。
还可通过选择 PTC Mathcad Prime 赋值变量或结果变量来执行单向 PTC Mathcad Prime 分析。可以使用 PTC Mathcad Prime 计算值,并可将这些值作为常规 Creo+ 特征用于建模和分析。
使用 prime_analysis_directory 配置选项可为分析计算中使用的 PTC Mathcad Prime 文件设置默认目录。
| 但是,在创建 PTC Mathcad Prime 分析特征时,PTC Mathcad Prime 文件应放置在 Creo+ 工作目录中。 |
检索 PTC Mathcad Prime 分析或重新生成 PTC Mathcad Prime 分析特征时,Creo+ 将按下列顺序搜索 PTC Mathcad Prime 文件:
• PDM 工作区 (处于链接会话中时)
• 在通过配置选项 prime_analysis_directory 指定的目录中
• 在 Creo+ 工作目录中
• 在 Creo+ 启动目录中