Frequently Used Preferences in the wgmclient.ini File (SOLIDWORKS)
This section lists the most frequently used Windchill Workgroup Manager for SOLIDWORKS preferences that users can manage using the wgmclient.ini file.
* 
This section lists the most “frequently used” preferences, and not every preference that can be set using the wgmclient.ini file. 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 <name> 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.
The following table describes the most frequently used preferences that can be set or modified under SOLIDWORKS or in the general section of the wgmclient.ini file.
Name
Description
Values
checkin.content.options
Specifies how the model is saved on the SOLIDWORKS menu option Auto Check In, and provides default interface settings for Custom Check In.
Models Only (default)
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.
Also provides the default interface setting for the Save Viewable with Models command.
Models Only (default)
Models and Viewables
save.upload
Specifies if the model is uploaded after a native Save action in SOLIDWORKS.
No (default)
Yes
ignore.broken.references
Specifies how a model, which contains broken reference part, should be imported to workspace.
No (default)
Imports the broken reference part along with the part to the workspace.
Yes
Ignores the broken reference part from local directory and only the intended part is imported.
UndoCheckout.overwrite.local.content
Specifies if the model content is overwritten in cache by default when using Undo Checkout.
No (default)
Yes
overwrite.contents.on.update
Specifies if the model content is overwritten in cache by default when using Update from a Windchill Workgroup Manager.
No (default)
Yes
wgm.autoattach
Allows configuring the content that is uploaded as additional content of a model.
CAD/Dynamic Document Type
Attachment File Type
Content Category
open.modifies.checkedout.objects
Determines how checked out models will appear in session after update.
Yes (default)
No
upload.related.drawings
Native upload or auto check in of CAD Documents will also upload or check in associated drawings.
No (default)
Yes
enable.replace.in.cad.session.on.refresh
Controls whether to enable the feature of Replace in CAD Session on refresh.
No (default)
Yes
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 (;), searched 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 screen.
10 (default)
0 (disables slider window)
Enter an 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 last used 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 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, and Replace.
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 whether 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.
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.
wfs.add.applications
Enables the addition of a list of executables that are permitted to read and write to WFS folders.
Value is a string containing the list of application names separated by semicolons (for example, app1.exe; app2.exe).
* 
SOLIDWORKS must be removed and re-registered in the Windchill Workgroup Manager in order to apply the new preference value in WFS.
hide_default_workspaces.in_server_management
Control whether to display or hide virtual workspaces in the Server Management utility.
No (default)
Yes
manage.windchill.status.columns
Adds customized columns in the PTC Windchill Status tab.
For more information, see PTC Windchill Status.
Custom attributes that are defined in SOLIDWORKS and mapped in Windchill Workgroup Manager.
Data type: Boolean, String, Integer, Date-Time and Real Number.
exclude.derived.configuration.management
When the value of this preference is set to None, a family table instance for SpeedPak or derived configuration is created when PTC_IS_INSTANCE is set to Yes.
When the value of this preference is set to SpeedPak, PTC_IS_INSTANCE is ignored.
None
SpeedPak
(Default)
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.
wfs.add.temp.file.extensions
Enables adding a list of file extensions that can be saved to the Windchill File System (WFS) folder by an authoring application for temporary usage.
Removing the added file extension prohibits the corresponding file extension to be saved to the WFS folder.
Value is a list of file extensions that are separated by semicolons (for example,.png; .docx).
By default, the preference value is empty.
* 
SOLIDWORKS and Windchill Workgroup Manager must be shut down properly to add the temporary file extension in the wgmclient.ini file. Restart both SOLIDWORKS and Windchill Workgroup Manager to apply the new preference value in the WFS folder.
Было ли это полезно?