Finding Toolkit Resources
PTC provides many sample applications with Windchill Workgroup Manager Toolkit.
The following table lists where to find more information about sample API applications using the Toolkit Demo menu in the Windchill Workgroup Manager client:
Type
Location
Description
Toolkit Demo
Windchill Workgroup Manager client
The Toolkit Demo contains various sample API applications.
The following table lists where to find more information about sample API applications using the Toolkit APIWizard:
Type
Location
Description
The Toolkit APIWizard
<wwgmtk_loadpoint>\doc\index.html
The Windchill Workgroup Manager Toolkit APIWizard allows you to search and find API definitions, declarations, and code examples to assist you in creating and maintaining Windchill Workgroup Manager Toolkit applications for the customization of Windchill Workgroup Manager.
For more information, see The Toolkit APIWizard.
The following table lists where to find sample APIs, online documentation, demo programs, utilities, files, and libraries in the following Windchill Workgroup Manager Toolkit installation directories:
Type
Location
Description
Sample APIs and online documentation resources
doc
The following subdirectories contain the following online documentation resources:
api
doc
gnu.regexp
doc\api
Browse prebuilt API modules to assist you in customizing Windchill Workgroup Manager for your authoring application.
For more information, see The Toolkit APIWizard.
doc\gnu.regexp
Contains open source software distributed under the terms of the GNU Library General Public License files.
doc\images
Contains Windchill Workgroup Manager Toolkit logos and graphics.
doc\xml
Provides access to client connector cache structures and includes the wwgmtkFolderObject::getSubfolders, and wwgmtkServerViewer::getTopFolders APIs.
For more information, see The Toolkit APIWizard.
Sample APIs, demos, makefiles, commands, and macros for CATIA V5
examples\wwgmtk_catia_demos\
Contains the Windows command script, Build.cmd and the following subdirectories:
macros
PTCWGMTKFW
examples\wwgmtk_catia_demos\macros
Contains the CATIA V5 sample macros, including:
SaveToWS.catvba
SaveToWS.catvbs
examples\wwgmtk_catia_demos\PTCWGMTKFW
Contains the CATIA V5 sample files (CAA framework) to build the PTCWGMTK.dll used by Execute method Dll in the Windchill Workgroup Manager client.
Sample APIs, demos, makefiles, commands, JAVA, and jsp files
examples
Contains programs that demonstrate Windchill Workgroup Manager Toolkit capabilities and usage semantics.
The following subdirectories are included:
wwgmtk_api_demos
wwgmtk_catia_demos
wwgmtk_empty_template
wwgmtk_hello_world
examples\wwgmtk_api_demos
Demonstrates the usage of common Windchill Workgroup Manager Toolkit APIs. Browse the include and src subdirectories for sample APIs.
Includes the following subdirectories:
include
src
text
For more information, see The Toolkit APIWizard.
examples\wwgmtk_api_demos\text
Demonstrates the usage of common Windchill Workgroup Manager Toolkit Java, jsp, and the sample toolkit APIs using a customized HTML page. The following files are included:
UwgmC11nPreCheckinAction.java
UwgmC11nServiceCustomDataTest.java
uwgmSearchEpm.jsp
uwgmSearchPart.jsp
wwgmtkCustomExamplePage.html
For more information, see wwgmtkCustomExamplePage.html.
For more information, see The Toolkit APIWizard.
examples\wwgmtk_empty_ template
Includes the following files:
my_customizer.cxx
my_customizer.h
wwgmtk_dll_main.cxx
wwgmtk_empty_template.cxx
For more information, see The Toolkit APIWizard.
examples\wwgmtk_hello_world
Hello World is a simple application that validates the communication between the Windchill Workgroup Manager client and the Windchill Workgroup Manager Toolkit.
Utilities and files
settings
Contains utilities and files that assist in setting up the environment for building and running a Windchill Workgroup Manager Toolkit application.
settings\wwgmtk_vs_project.vcxproj
Libraries
lib
Contains Windows libraries needed to link a Windchill Workgroup Manager Toolkit DLL on your operating system. The following subdirectories are included:
i486_nt
x86e_win64
Additonally, for CATIA V5, see Build the CATIA V5 Custom DLL.
C++ Headers and Toolkit Entities
src
The root folder for C++ headers and declarations of toolkit entities.
src\includes
Contains sample C++ headers with declarations of toolkit entities.
For more information, see The Toolkit APIWizard.
Files for testing the Windchill server-side customization
examples\wwgmtk_api_demos\text
Use the UwgmC11nPreCheckinAction.java and UwgmC11nServiceCustomDataTest.java file to test the Windchill server.
Files used in searching for Windchill EPM documents and WT parts
examples\wwgmtk_api_demos\text
The uwgmSearchEpm.jsp and uwgmSearchPart.jsp files are Windows DLL files that can be used to search for EPM documents and WT parts.
For more information, see The Toolkit APIWizard.
도움이 되셨나요?