Toolkit API Functions to Import Graphic Editor Files in Workspace
Windchill Workgroup Manager Toolkit Toolkit API enables you to programmatically (automatically) import Graphic Editor files (PVZ) in the workspace.
You must update the createEpmDocument API to get the Authoring Application Name and Version.
For more information, see the Windchill Workgroup Manager Toolkit Demo for the Import Graphic Editor Files in Workspace API function.
Prerequisites
You must set the following actions:
Set the following environment variables:
WWGMTK_MODEL_NAME – Graphic CAD name to be created for example, test.jpg.
WWGMTK_CONTENT_PATH – Full path of the imported graphic content for example, d:\folder1.
Importing Graphic Editor Files in the Workspace
To import graphic editor files in the workspace, perform the following actions:
In Windchill Workgroup Manager , click Toolkit Demo > App. Registration > Import Documents. .
這是否有幫助?