模型分析 > Creo Behavioral Modeling 工具 > 分析 > PTC Mathcad Prime 分析和 PTC Mathcad Prime 分析特徵 > 關於 PTC Mathcad Prime 分析和 PTC Mathcad Prime 分析特徵
關於 PTC Mathcad Prime 分析和 PTC Mathcad Prime 分析特徵
您可以使用 PTC Mathcad Prime 檔案來定義想要在 Creo Parametric 模型上執行的分析。欲存取 PTC Mathcad Prime 分析,請按一下「分析」(Analysis) > 「Prime 分析」(Prime Analysis)
您亦可建立由 PTC Mathcad Prime 分析驅動的分析特徵。PTC Mathcad Prime 分析可以決定建立哪些參數做為此分析特徵的結果。欲建立分析特徵,請按一下「分析」(Analysis) > 「分析」(Analysis) 並選取「Prime 分析」(Prime Analysis) 作為分析類型。
您可以建立 PTC Mathcad 輸出檔案,此輸出檔案與用來定義分析特徵的 PTC Mathcad Prime 檔案相同,但是根據分析中使用的尺寸與參數的更新值來計算。您也可以建立基準點、基準曲線及基準座標系
* 
您可以利用 PTC Mathcad Prime ,在 Pro/ENGINEER Wildfire 4.0 M130 或較新版本中使用 PTC Mathcad Prime 分析。
若您建立一個 PTC Mathcad Prime 分析並將之儲存至 Pro/ENGINEER Wildfire 4.0 M130 或更新版本中的零件,您即無法在較舊的 Creo Parametric 版本中擷取該零件。欲在較舊的 Creo Parametric 版本中擷取這樣的零件,請在 Pro/ENGINEER Wildfire 4.0 M130 或更新版本中移除該零件的 PTC Mathcad Prime 分析特徵。
當您關閉 PTC Mathcad Prime 分析或結束 Creo Parametric 時,所有 PTC Mathcad Prime 例證亦會自動隨之關閉。
欲執行分析,您必須先在 PTC Mathcad Prime 分析中載入 PTC Mathcad Prime 工作表檔案,並將 Creo Parametric 參數或尺寸對應至 PTC Mathcad Prime 變數。如需有關對應的資訊,請參閱關於對應變數或參數的名稱
欲將 Creo Parametric 參數或尺寸對應至 PTC Mathcad Prime 指派變數,請將 PTC Mathcad Prime 變數指派為輸入。當將 PTC Mathcad Prime 變數指派為輸入時,PTC Mathcad Prime 變數會取得 Creo Parametric 參數或尺寸的值。請注意,必須將這些區域指派為具有如 x:=45.78 in 數字定義類型的輸入,其中 xPTC Mathcad Prime 指派變數,in 是單位。
* 
雖然 PTC Mathcad Prime 指派變數會取用 Creo Parametric 參數或尺寸的值,但是在完成分析後,這些值不會在 PTC Mathcad Prime 工作表檔案中更新。
若要使 PTC Mathcad Prime 變數可用於 Creo Parametric 中的計算,您必須將 PTC Mathcad Prime 變數指派為輸出。當將 PTC Mathcad Prime 變數指派為輸出時,PTC Mathcad Prime 變數會取得已計算 Creo Parametric 參數的值。這個計算的值會在用於分析的 PTC Mathcad Prime 工作表檔案中更新。請注意,必須指派具有如 y=70.92 in 數字結果類型的區域,其中 yPTC Mathcad Prime 結果變數,in 是單位。
當您將 Creo Parametric 參數或尺寸對應至 PTC Mathcad Prime 指派變數時,Math 區域中已指派為輸入的 PTC Mathcad Prime 變數會顯示在「輸入選取項」(Input Selection) 對話方塊中。同樣地,當您將 PTC Mathcad Prime 變數對應至 Creo Parametric 時,Math 區域中已指派為輸出的 PTC Mathcad Prime 變數會顯示在「輸出內容選取項」(Outputs Selection) 對話方塊中。
指派好 PTC Mathcad Prime 變數並儲存 PTC Mathcad Prime 工作表之後,將工作表檔案載入分析,並將所需的 Creo Parametric 參數和尺寸對應至 PTC Mathcad Prime 變數,以便進行分析。
您亦可選取 PTC Mathcad Prime 指派變數或結果變數來執行單向 PTC Mathcad Prime 分析。您可使用 PTC Mathcad Prime 來計算值,然後使用這些值作為進行建模和分析的規則 Creo Parametric 特徵。
使用 mathcad_analysis_directory 組態選項設定用於分析計算的 PTC Mathcad Prime 檔案預設目錄。
* 
不過,建立 PTC Mathcad Prime 分析特徵時,PTC Mathcad Prime 檔案應放置在 Creo Parametric 工作目錄中。
當您擷取 PTC Mathcad Prime 分析或再生 PTC Mathcad Prime 分析特徵時,Creo Parametric 會依據下列順序搜尋 PTC Mathcad Prime 檔案:
PDM 工作區中 (若在連結工作階段內)
mathcad_analysis_directory 組態選項指定的目錄中
Creo Parametric 工作目錄中
Creo Parametric 啟動目錄中
這是否有幫助?