The Toolkit Demo in the Windchill Workgroup Manager Client
The Toolkit Demo application contains usage examples of many Windchill Workgroup Manager Toolkit APIs. Upon startup of the Windchill Workgroup Manager client, the Toolkit Demo application adds a menu item to the Windchill Workgroup Manager main window with various actions that can be invoked to test a particular functionality or action.
The Toolkit Demo application is built using Microsoft Studio. For more information, see Build the Toolkit Demo for the Windchill Workgroup Manager Client.
After the Toolkit Demo application is built, the next time the Windchill Workgroup Manager client is launched, the Toolkit Demo menu appears in the menu ribbon.
The CATIA V5 selection in the Toolkit Demo menu appears if you have created the WWGMTK_CATIAV5_DLL User Environment Variable and have Built the CATIA V5 Custom DLL.
The following applications can be invoked from the Toolkit Demo menu:
Action
Description
App registration
The following application registration actions can be invoked:
Register application
Unregister application
List registered applications
Open a model in authoring application
Import documents
Register import rename CB
Save callbacks
The following save callback actions can be invoked:
Register Save CB
Register Save CB with warning conflict
Register Save CB with fatal conflict
Register Save CB with adding secondary content
Register Save with check parameters
Exec. cust. commands
The following actions can be invoked:
Client cust
App cust
Terminate session
The following action can be invoked:
Terminate session
Browser actions
The following actions can be invoked:
Load URL
Server actions
The following server actions can be invoked:
Show primary server
Show active workspace
List workspaces of primary server
Set primary next server
Unregister server
Set primary server
Set <NO SERVER> as Primary
List registered servers
Register server
Activate workspace
Delete workspace
Javascript callback
The following actions can be invoked:
Javascript CB info
Javascript CB example
Client connector actions
The following actions can be invoked:
Add secondary content
Check model contents
Remove secondary content
Add secondary content to all workspace documents
Set upload folder
Get subfolders
Get workspace object by EPM name
Get WT parts by name
Get WT parts by number
Get all workspace objects
Add parameter to all workspace documents
Check document parameters
Set document parameter
Edit document parameter
Remove document parameter
Get path in workspace local directory
Get workspace local directory path
Search EPM document and add to workspace example
Search WT part
Check document workspace modification state
Check document dependencies
Find in commonspace by EPM name and version (optional)
Server custom example
Server transfer custom data without workspace example
Server transfer custom data example
Add member dependency
Create EPM document
PDM actions
The following actions can be invoked:
Add to workspace
Add to workspace by object ID
Add to workspace by name and version
Remove from workspace
Checkin document
Checkout document
Checkout document to folder
Undo checkout document
UI actions
The following actions can be invoked:
Open dialog
CATIA V5
The following CATIA V5 actions can be invoked:
Run CATIA Macro
Execute method from DLL
도움이 되셨나요?