模型分析 > Creo Behavioral Modeling 工具 > 分析 > PTC Mathcad 分析和 PTC Mathcad 分析特徵 > 關於 PTC Mathcad Prime 分析和 PTC Mathcad Prime 分析特徵
關於 PTC Mathcad Prime 分析和 PTC Mathcad Prime 分析特徵
您可以使用 PTC Mathcad Prime 檔案來定義想要在 Creo Parametric 模型上執行的分析。欲存取 PTC Mathcad Prime 分析,請按一下「分析」(Analysis) > 「Mathcad 分析」(Prime Analysis)
您亦可建立由 PTC Mathcad Prime 分析驅動的分析特徵。PTC Mathcad Prime 分析可以決定建立哪些參數做為此分析特徵的結果。欲建立分析特徵,請按一下「分析」(Analysis) > 「分析」(Analysis) 並選取「Mathcad 分析」(Mathcad Analysis) 作為分析類型。
您可以建立 PTC Mathcad 輸出檔案,此輸出檔案與用來定義分析特徵的 PTC Mathcad Prime 檔案相同,但是根據分析中使用的尺寸與參數的更新值來計算。您也可以建立基準點與基準座標系作為 PTC Mathcad Prime 分析特徵的結果。
* 
您可以利用 Mathcad 13.0,在 Pro/ENGINEER Wildfire 3.0 M030 或較新版本中,使用 PTC Mathcad Prime 分析。
若您建立一個 PTC Mathcad Prime 分析並將之儲存至 Pro/ENGINEER Wildfire 3.0 M030 或更新版本中的零件,您即無法在較舊的 Pro/ENGINEER 版本中擷取該零件。若要在較舊的 Pro/ENGINEER 版本中擷取這樣的零件,請在 Pro/ENGINEER Wildfire 3.0 M030 或更新版本中移除該零件的 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 指派變數的 Math 區域標記proe2mc。當您將 Math 區域標記為 proe2mc 時,PTC Mathcad Prime 變數會將 Creo Parametric 參數或尺寸的值作為輸入值。請注意,您必須將 proe2mc 標籤套用至具有如 x:=45.78 in 數字定義類型的區域,其中 xPTC Mathcad Prime 指派變數,in 是單位。
欲使 PTC Mathcad Prime 結果變數可以在 Creo Parametric 中用於計算,您必須將 Math 區域標記mc2proe。請注意,必須將 mc2proe 標籤套用至具有如 y=70.92 in 數字結果類型的區域,其中 yPTC Mathcad Prime 結果變數,in 是單位。
當您將 Creo Parametric 參數或尺寸對應至 PTC Mathcad Prime 變數時,Math 區域中具有 proe2mc 標籤的 PTC Mathcad Prime 指派變數會顯示在「輸入選取項」(Input Selection) 對話方塊中。同樣地,當您將 PTC Mathcad Prime 變數對應至 Creo Parametric 時,Math 區域中具有 mc2proe 標籤的 PTC Mathcad Prime 結果變數會顯示在「輸出內容選取項」(Outputs Selection) 對話方塊中。
標記好 PTC Mathcad Prime 變數並儲存 PTC Mathcad Prime 工作表之後,將工作表檔案載入 PTC Mathcad Prime 分析,並將所需的 Creo Parametric 參數和尺寸對應至 PTC Mathcad Prime 變數,以便進行分析。
當您載入 PTC Mathcad Prime 工作表檔案時,Creo Parametric 會將標記 mc2proe 的 Math 區域中的 PTC Mathcad Prime 結果變數名稱從小寫轉換為大寫。請注意,只有在 Creo Parametric 中建立參數後,才能將名稱變成大寫。
* 
未轉換的 PTC Mathcad Prime 變數名稱不會出現在「輸出內容選取項」(Outputs Selection) 對話方塊中。
您亦可選取 PTC Mathcad Prime 指派變數或 PTC Mathcad Prime 結果變數來執行單向 PTC Mathcad Prime 分析。您可使用 PTC Mathcad Prime 來計算值,然後使用這些值作為進行建模和分析的規則 Creo Parametric 特徵。您也可以監測 PTC Mathc d 工作表,該工作表與建立的 PTC Mathcad Prime 分析特徵相 應。
若您將 mathcad_automapping 組態選項設為 yes 並載入 PTC Mathcad Prime 檔案,系統便會自動將 Creo Parametric 頂層參數對應至具有相同名稱的已標記 PTC Mathcad Prime 指派變數。
使用 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 啟動目錄中
這是否有幫助?