Configuration Options for Toolkit
About Configuration Options
You can preset environment options and other global settings by entering the settings you want in a config.pro configuration file.
To set configuration options, click > to open a dialog box, and then click Configuration Editor.
The configuration options for this module are listed in alphabetical order. Each option contains the following information:
• Configuration option name.
• Default and available variables or values. The default value is followed by an asterisk (*).
• Brief description.
Set the options you require before you start working. See the related topic “To Set Configuration Options” for detailed information on using the Configuration Editor to change, add, or search for configuration options.
To configure your Creo TOOLKIT application, you must specify any of the following configuration options :
• creotkdat
• protkdat
• prodevdat
• toolkit_registry_file
For registering your Creo TOOLKIT application, you need to provide Creo Parametric with information about the files that form the Creo TOOLKIT application. To provide this information, create a text file which is called the Creo TOOLKIT registry file. Creo Parametric will find and read this file by searching for the absolute path provided in the creotkdat, protkdat, prodevdat and toolkit_registry_file statements in the configuration file.
For more information about registering a Creo TOOLKIT application, refer to Creo Toolkit User’s Guide.
add_java_class_path
Prepends the option value on the java environment variable, CLASSPATH, used to find classes in J-Link programs. To specify multiple search paths in the same line, delimit them using ':' on UNIX, and ';' on Windows NT.
allow_gmb_tkapi
no*, yes
Yes - Allow certain APIs deprecated due to multi-body to work on multi-body models
creotkdat
Specify the full path to an additional Toolkit registry file.
enable_protk_xml_schema
no*, yes
Enables XML-Schema validation for Pro/TK feature XMLs
jlink_java2
on*, off
Option to force use of Java-2 JRE command line ("java" instead of "jre")
js_error_policy
show, suppress_continue, supress_stop
Control the display and execution of the java script error dialogs. If the dialog is presented, the user can choose whether to stop or continue running the script.
open_protk_unsigned_apps
prompt*, never, always
Control whether unsigned Toolkit applications can be loaded in a Creo session: Always — Always load unsigned applications. Never — Never load unsigned applications. Prompt — Ask the user whether to load an unsigned application.
prodevdat
Specify the full path to an additional Toolkit registry file.
protkdat
Specify the full path to an additional Toolkit registry file.
toolkit_registry_file
Specify the full path to an additional Toolkit registry file.
tk_enable_ribbon_custom_save
no*, yes
Enable storing the Auxiliary Application User Interface customization
tk_pre_creo7_udf_body_autofill
no*, yes
When using Pro/TK to place a UDF created before Creo 7.0, automatically use the default body to fill the body reference.
web_disable_js_command
Enter a specific javascript command to be disabled
web_link_file_read
no*, yes
Sets Pro/Web.Link permission to read data from the local file system.
web_link_file_write
no*, yes
Sets Pro/Web.Link permission to write data to the local file system.
web_link_proe_read
no*, yes
Sets Pro/Web.Link permission to read data from a Creo session.
web_link_proe_write
no*, yes
Sets Pro/Web.Link permission to modify data in a Creo session.
web_link_security_autoprompt
yes*, no
Yes - The Security dialog box is displayed when a Pro/Web.Link function requires security access beyond the current settings.