Frequently Used Preferences in the wgmclient.ini File
The following table describes the most frequently used preferences that can be set or modified within the [Creo Elements/Direct Modeling] section or in the general section of the wgmclient.ini file.
For a complete list of preferences, refer to your wgmclient.ini file located in the Windchill Workgroup Manager home directory.
Preference Name
Description
Values
checkin.content.options
Specifies how the model is saved on the authoring application menu, Auto Check In and provides default interface setting for Custom Check In.
Models Only (default)
Viewables Only
Models and Viewables
save_to_ws.content.options
Provides the default interface setting for the content option in the Tools menu of the Save To Workspace dialog.
Models Only (default)
Viewables Only
Models and Viewables
save_to_ws.upload
Provides the default interface setting for the Upload option in the Tools menu of the Save To Workspace dialog.
Yes (default)
No
save.upload
Specifies if the model is uploaded after a native Save action in the authoring application. For example, File > Save.
No (default)
Yes
UndoCheckout.overwrite.local.content
Specifies if the model content is overwritten in the cache when using Undo Checkout.
No (default)
Yes
overwrite.contents.on.update
Specifies if the model content is overwritten in the cache when using Update from Windchill Workgroup Manager.
No (default)
Yes
wgm.autoattach
Specifies if the model content is overwritten in the cache when using Update from Windchill Workgroup Manager.
CAD/Dynamic Document Type
Attachment File Type
Content Category
upload.related.drawings
Native upload or auto check in of CAD Documents will also upload or check in associated drawings.
No (default)
Yes
load.type.default
Controls the default load type used when loading data into Creo Elements/Direct Modeling.
Full (default)
Structure
Partial
Lightweight
cache.size
Specifies a limit for the client's internal cache.
0 (default)
Set value in MB. For example, 800.
Date.Type.Parameter.Format
Determines the format to display the date and time whenever a CAD document is created or last modified.
%dd-%Mmm-%yy (default)- For example, 11-Jul-18
The following formats are used to compose the date type string:
%yyyy 4-digit year (for example, 2015)
%yy 2-digit year (for example, 15)
%MMM Month (for example, SEP)
%Mmm Month (for example, Sep)
%Month Full month name (for example, September)
%mm Month number, padded to 2 digits (for example, 09)
%m Month number (for example, 9)
%dd Date, padded to 2 digits (for example, 05)
%d Date, no padding (for example, 5)
%Hh Hour number (for example, 04)
%mi Minute number (for example, 10)
%ss Second number (for example, 59)
%PM Adds anti meridian (AM) /post meridian (PM) designation (for example, PM)
upload.autoattach.searchpath
Specifies paths on disk, separated by a semicolon (;), Searches for attachments that need to be automatically added to a CAD/Dynamic Document upon upload.
User may use environment variables in search path specifying the environment variable as ${environment variable name}.
message.slider.timeout
Controls the duration that a pop-up message window stays on the screen.
Enter an numeric value in seconds.
10 (default)
0 (disables slider window)
ascii.only.chars.in.workspace.name
Restricts ASCII characters in workspace name. This preference turns onWindchill Workgroup Manager mapping of Unicode workspace name to an ASCII one on the Workspace Local Directory.
No (default)
Yes
open.appVersionSelection.alwaysShowDialog
Determines whether dialog to choose an application version is always shown on openInSession.
No (default)
Yes
wwgm.remember.last.used.server
Controls whether to reconnect to the last used server upon a subsequent Windchill Workgroup Manager client launch.
Yes (default)
No
windows.browser.type
Sets the Windchill Workgroup Manager embedded browser type.
chromium_browser (default)
update.drawing.alwaysShowDialog
Determines whether to prompt the user with a dialog box to update the drawing on save to workspace or checkin.
Yes (default)
No
network.request.size
Determines the maximum size, in bytes, of an HTTP upload request when uploading content files to Windchill.
8000000 (default)
Integer Value equal to or greater than 0
wf.network.threads
Controls the number of network threads to be used upload and download content.
6 (default)
Integer Value equal to or greater than 0
wwgm.open.dialog.remember.last.location
Controls whether to retain the last selected Folder in an Open Dialog upon open operations, such as Open from Windchill, Insert from Windchill, and Replace (from the Information page).
Yes (default)
No
java.script.errors
Controls the display and execution of the java script error dialogs. If the dialog is presented, the user can choose to stop or continue running the script.
Show (default)
Hide and run
Hide and stop
enable.preselection.file.selection.dialog
Controls whether an object is selected by default in the file selection window for open actions for all Windchill Workgroup Manager clients. This includes actions such as Import to Workspace, Open from Windchill, Insert from Windchill, and Replace from Windchill.
Yes (default)—The first valid file is selected by default.
No—No file is preselected.
add.to.workspace.replace.iteration.option
Controls whether the Add to Workspace action replaces local workspace iterations with different iterations selected in the commonspace.
Conflict (default)—The action fails with an overridable conflict.
Replace—The local workspace iterations are automatically replaced with selected ones from the server.
hide_default_workspaces.in_server_management
Controls whether virtual workspaces are displayed or hidden in the Server Management utility.
No (default)
Yes
enable.revise.and.checkout
Controls the visibility of Revise and Check Out action for all locations in CAD applications like Check Out window, Conflicts window, PDM actions menu, and actions available in the Windchill Workgroup Manager.
Yes (default) — Enables Revise and Check Out action for all locations in CAD applications.
No — Hides the Revise and Check Out action for all locations in CAD applications.
load.recursive.data
Prevents the recursive data created in Windchill from loading in Creo Elements/Direct Modeling.
When the preference is set to Yes and the recursive data is loaded, an error message is displayed mentioning the recursive references.
No (default): Does not allow the loading of recursive data in session.
Yes: Allows loading of recursive data in session with its immediate parent loaded in partial mode.
這是否有幫助?