エンタープライズ管理 > Windchill のエクスポートとインポート > PTC Windchill PLM Connector - Creo Packages Administrator's and User's Guide > Windchill PLM Connector – Creo Packages > パッケージのエクスポート > パッケージのエクスポート > コマンドラインユーティリティの使用 > WPCExport_synch コマンド > WPCExport_synch コマンドの例
  
WPCExport_synch コマンドの例
 
WPCExport_synch.bat -user %user_name% -password %user_password%
-package d:\cwp\packages\test_synch.wpc -overwrite -baseline
WPC_exported* -comment “test comment for synchronization package”
-output d:\cwp\packages\reports
-F が指定されている場合は、完全な同期パッケージが生成されます。
この例を以下に示します。
1. システム A で部品を作成
2. システム A で部品をエクスポートし、システム B にインポート。システム A: wpcexport -u (user name) -p (password) -n (part name) -g (package name)。システム B: wpcimport -u (user name) -p (password) -g (package name)
3. システム A でオーナーシップ転送パッケージを作成し、システム B にインポート。システム A: wpcexport -u (user name) -p (password) -n (part name) -g (ownership transfer package name) -O
(ターゲットの UID)
システム B: wpcimport -g (ownership transfer package name) –m . - u (user name) -p (password) –y (Ownership Transfer+Acknowledgement name)
4. システム A: wpcimport -u (user name) -p (password) -g (package1 name). Now the ownership is with systemB.
完全同期パッケージを作成するには、以下のコマンドを使用します。
ソース: wpcexport_synch -u (user name) -p (password) -g (package name) -n (part name) –F
ターゲット: wpcimport -u (user name) -p (password) -g (package1 name)