Frequently Used Preferences in the wgmclient.ini File (Creo Elements/Direct Drafting)
This section contains the most frequently used Windchill Workgroup Manager preferences for Creo Elements/Direct Drafting that users can manage using the wgmclient.ini file.
* 
The intent of this section is to list the most “frequently used” preferences, and not every preference that can be set using the wgmclient.ini file for Creo Elements/Direct Drafting. Refer to the wgmclient.ini file located in your Windchill Workgroup Manager home directory, for a complete list of preferences.
If the preference is not listed under [Creo Elements/Direct Drafting] section, scroll to the beginning of the wgmclient.ini file and search for the preference name.
After saving the file locally, restart Windchill Workgroup Manager. The modified preference is available. For more information, see 在 wgmclient.ini 檔案中設定或修改偏好設定.
The following table describes the most frequently used preferences that can be set or modified under [Creo Elements/Direct Drafting] or in the general section of the wgmclient.ini file.
Name
Description
All Values
hide_default_workspaces.in_server_management
Controls whether to display or hide virtual workspaces in the Server Management utility.
No (default)
Yes
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.
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.
save_to_ws.content.options
Provides the default interface setting for the content option in the Tools menu of the Save To Workspace window.
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
Allows configuring the content that is uploaded as additional content of a model.
The format of this preference is: *.rsd,*.<attachment file extension 1>,<attachment type 1>;...;<attachment file extension n>,<attachment type n>
Default preference value is: “*.rsd,*.pdf,IMAGE;*.rsd,*.xml,GENERAL”
Which means upload all *.pdf files as “IMAGE” type attachment and all *.xml files as “GENRAL” type attachment together with *.rsd files.
Any other file type can be specified as auto attachment by user.
open.modifies.checkedout.objects
Determines how checked out models will appear in a session after update.
Yes (default)
No
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.
10 (default)
0 (disables slider window)
Enter a numeric value in seconds.
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 window to update the drawing upon 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, Replace from Windchill.
Yes (default)
No
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.
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
這是否有幫助?