藉由Excel取出參數只是一個附屬的功能,真正要做的是「由Excel設計變更修改Creo Parameter參數」進行實現快速的設計自動化;
Get parameter value is only a subsidiary function via Excel,
Really need to do is "From Excel to modify the design changes of Creo Parameter" rapid design automation;
為何這樣說呢?
若你有100個以上的參數要變更,一個一個在設計table表中例出,然後又一一的在Creo 參數表中輸入,那真的會花費許多時間!
If you have more than 100 parameters to change,one by one listed in the table design table , and then another one in Creo input parameter table, it really takes a lot of time!
來看看怎麼實現透過Excel VBA API設計變更修改Creo CAD 參數
Show you how to get the parameter via Excel VBA API
Step 1: Excel VBA API <=> Creo CAD ,取得Parameter參數

Step 2: 從Excel 修改Parameter參數,黃色欄位
Modify Parameter Parameter from Excel, yellow field
- 1) NO_PT1_CIRCLE 16 => 6
- 2) TYPE_PT1 2 => 1
- 3) TYPE_PT2 2=> 1
請留意,除了數量變動外,特徵已經變更了
The value has been changed and features have changed.

版權所有請勿轉載或複製
http://creosimpleautomation.blogspot.tw/
mail to: ilovepeugeot206@gmail.com
------------------------------------------------------------------------------------------------------------
這Blog作為自己撰寫研究Creo Simple Automation設計自動化的分享。
沒有留言:
張貼留言