Skip to main content
1-Visitor
Aug 24, 2018 7:57 AM UTC
Solved

WGM Workspace Location

Hello there,

 

I am having issues with setting the cache and workspace location in the workgroup manager.

 

I set the environmentvariables as follows:

 

PTC_WF_CACHE = %LOCALAPPDATA%\Windchill\cache

PTC_WF_ROOT = %LOCALAPPDATA%\Windchill

PTC_WFS_ROOT = %LOCALAPPDATA%\Windchill\.wgm

PTC_WGM_ROOT = %APPDATA%\PTC\Windchill Workgroup Manager

PTC_WGM_STARTUP_DIR = %LOCALAPPDATA\Windchill

PTC_WLD_ROOT = %LOCALAPPDATA%\Windchill

 

The cache location is correctly set to the path in the environmentvariables.

 

However, the Windchill file system management sets the storage location for the workspace to %USERPROFILE%\Documents\PTC Environment.

 

When trying to save files to the Workspace using Solidworks, Solidworks tries to save to %USERPROFILE%\Documents\PTC Environment and fails.

 

Using the standard path in %USERPROFILE% is not possible. This folder is on a server. Using a simple path like C:\PTC\Windchill is not possible as we have several computers that are shared by several users.

 

Thank you in advance for any hints how to solve this issue.

 

Best regards

Chris

 

 

 

 

3-Newcomer
Aug 24, 2018 12:17 PM UTC

Hi Chris,

 

the WFS doesn't work the same way as the WGM for Creo does.

Hence, you need to use the bellow command:

set WWGM_VFS_PTC_PLACES=<locationOfYouChoice>
<WGMDIR>\i486_nt\obj\wwgmvfsconfig.exe"

Florent

10 replies

3-Newcomer
Aug 24, 2018 12:17 PM UTC

Hi Chris,

 

the WFS doesn't work the same way as the WGM for Creo does.

Hence, you need to use the bellow command:

set WWGM_VFS_PTC_PLACES=<locationOfYouChoice>
<WGMDIR>\i486_nt\obj\wwgmvfsconfig.exe"

Florent

Translate
Chris171-VisitorAuthor
1-Visitor
Aug 24, 2018 1:26 PM UTC

Works perfectly! Thanks a lot, Florent!

 

For those who'd like to reproduce:

 

Create folders:

%LOCALAPPDATA%\Windchill
%LOCALAPPDATA%\Windchill\Workspace

set environment variables:

 

PTC_WF_ROOT = %LOCALAPPDATA%\Windchill
PTC_WFS_ROOT = %LOCALAPPDATA%\Windchill\.wgm
PTC_WGM_ROOT = %APPDATA%\PTC\Windchill Workgroup Manager
PTC_WGM_STARTUP_DIR = %LOCALAPPDATA\Windchill
PTC_WLD_ROOT = %LOCALAPPDATA%\Windchill

 

 

execute two commands in terminal as user:

set WWGM_VFS_PTC_PLACES=%LOCALAPPDATA%\Windchill\Workspace
"C:\Program Files\PTC\wgm\i486_nt\obj\wwgmvfsconfig.exe"

 

start workgroupmanager, register server and check cache and wfs location.

Translate
14-Alexandrite
Apr 8, 2019 12:10 PM UTC

In Windchill 11.1 M020, the Windchill Workgroup Manager installer reads "PTC_WFS_DEFAULT_LOCATION" to define the Windchill folder location to a local folder for WFS. I recommend to use this newly supported Windows system variable because setting WFS folder is one time thing, it does not have to be repeated every time WWGM is launched.

 

After installation, you can define the Windchill Folder path from the WFS management UI by 'Tools > Windchill File System Management'.

Translate
3-Newcomer
Aug 16, 2019 4:11 PM UTC

Hi Yoda,

the command line feature was great for administrative tasks or subsequent installations of an add-on.

Now, it's not possible to change the location using a command line.

 

Translate
14-Alexandrite
Aug 18, 2019 5:39 PM UTC

Hi Florent,

 

Can you please describe the admin use case in detail?

 

Thanks,

Yoda 

Translate
8-Gravel
Dec 11, 2019 7:17 PM UTC

JamesDenman_0-1576091767951.png

I followed the recommendation for this post. When I create a Solidworks model and save it I get this message.

 

Any ideas of how to resolve this issue.

Translate
3-Newcomer
Dec 11, 2019 8:23 PM UTC

Depending on the version you're using, this is no longer applicable.

 

From 11.1, to change the WFS location, you need to use the UI:

Tools > Windchill File System Management > Windchill Folder Location

 

Translate