與其他應用程式整合 > Windchill Workgroup Manager 文件集 > Autodesk Inventor > 管理與組態 > 針對 Autodesk Inventor 配置企業實務 > 將可進行檔案同步處理的 Worker 與 Windchill Workgroup Manager for Autodesk Inventor 搭配使用
  
將可進行檔案同步處理的 Worker 與 Windchill Workgroup Manager for Autodesk Inventor 搭配使用
如果您使用 Autodesk Inventor 可進行檔案同步處理的 Worker,則適用這些指示。此組態會在發行 Creo View 可檢視項之前,使用 Windchill Workgroup Manager 同步處理 CAD 檔案中的 Windchill 屬性與屬性值。
以下是告知 Windchill Visualization Services 使用檔案同步處理以發行資料所需的組態變更的範例。此一般概念適用於所有可進行檔案同步處理 Worker。
* 
只有 Creo View adapter for Creo ParametricCreo View adapter for CATIA V5 支援也在相同主機針對檔案同步處理配置的多個別名 Worker (使用 dAPI -DA 引數)。
欲針對其他可進行檔案同步處理的 Worker 啟用該功能,請遵循以下步驟。請務必注意每個可進行檔案同步處理的 Worker 之指令字串中的差異。
1. 使用 xconfmanager 將 useworkerdownload 變數附加至 publish.cadconvert.<worker_name> 變數,此變數數位於 wvs.properties 檔案中。這會告訴發行者要使用 Worker 來進行檔案下載 (useworkerdownload),於 Windchill 目錄中的 auth.properties 檔案尋找 Worker 需要的使用者名稱及密碼。
從 Windchill Shell 執行以下指令:
a. 欲顯示 publish.cadconvert<worker_name> 變數的目前值:
xconfmanager -d publish.cadconvert.<worker_name>
b. 將 useworkerdownload 變數定義附加至 publish.cadconvert<worker_name> 變數。使用顯示指令的結果資訊,在其後附加:
useworkerdownload=$(wt.home)$(wvs.dir.sep)auth.properties
附加新值時,請使用逗號 (,) 分隔字元。
針對 Autodesk Inventor
xconfmanager -s
publish.cadconvert.INVENTOR=com.ptc.wvs.server.publish.CadConvert
INVENTOR,useworkerdownload=$(wt.home)$(wvs.dir.sep)auth.properties
-t <Windchill>\codebase\wvs.properties -p
其中 <Windchill> 是安裝 Windchill 的位置。
2. 在之前步驟編輯的 publish.cadconvert.<worker_name> 變數參考 auth.properties 檔案。此時該檔案尚不存在,必須加以建立。請完成下列步驟:
a. 在以上範例中,WVS 將在 Windchill 目錄中尋找 auth.properties 檔案,但可將其放在任何位置。為了安全起見,此檔案不應放在 Codebase 所在的目錄中。
b. 使用您選擇的文字編輯器建立 auth.properties 檔案。
c. 新增一個包含使用者名稱與密碼值的驗證變數。這會是此檔案中的唯一項目。語法為:
auth=<username>:<password>
以有效值取代 <username> 與 <password>。指定的使用者名稱必須能取得要透過 Windchill Visualization Services 發行的 Windchill 物件之讀取權,並且具有從 Windchill 下載內容的授權。
d. 儲存變更並關閉 auth.properties 檔案。
3. 重新啟動 Windchill 伺服器。