與其他應用程式整合 > Windchill Workgroup Manager 文件集 > CATIA V5 > 管理員 > CATIA V5 的管理與組態 > 將可進行檔案同步處理的 Worker 與 Windchill Workgroup Manager 搭配使用
  
將可進行檔案同步處理的 Worker 與 Windchill Workgroup Manager 搭配使用
如果您使用 CATIA V5 可進行檔案同步處理的 Worker,則適用這些指示。此組態會在發行 Creo View 可檢視項之前,使用 Windchill Workgroup Manager 同步處理 CAD 檔案中的 Windchill 屬性與屬性值。
以下是告知 Windchill Visualization Services 使用檔案同步處理以發行資料所需的組態變更的範例。此一般概念適用於所有可進行檔案同步處理 Worker。
* 
只有 Creo ParametricCATIA V5Creo View 轉接器支援也在相同主機針對檔案同步處理配置的多個別名 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
附加新值時,請使用逗號 (,) 分隔字元。
針對 CATIA V5
xconfmanager -s
publish.cadconvert.CATIAV5=com.ptc.wvs.server.publish.CadConvert
CATIAV5,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 伺服器。