cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Switching versions

BenLoosli
23-Emerald II

Switching versions

We are currently running Windchill 12.0.2.10 in production with Creo 7.0.10.0. The cache is in a .pdm12 folder under the user's start -in folder on disk. If we run Creo 9.0.5.0 to the same server without making any other changes, we have an issue with switching folders in the workspace. If I dlete the .pdm12 folder and all content, register Windchill in Creo 9, everything works normally. If we then run Creo 7 again, it hoses the cache and Creo 9 will not switch workspace folders until we delete the .pdm12 folder and resgister WIndchill again.

Has anyone else experienced this issue and have a solution? I am not too worried about it, as once we go to a new version, we seldom have need to utilize the older version again. It probably would only be me as the admin who might have a need for an older version of Creo to test something.

ACCEPTED SOLUTION

Accepted Solutions
avillanueva
22-Sapphire II
(To:BenLoosli)

Wow, running PDMLink 11 and 12?  I would create unique batch files for each and hard code the PTC_WF_ROOT values in there. Here was our upgrade modification to the start up scripts:

 

REM ****************************************************************************
REM set the .wf folder location; if it doesn't exist create it
REM User the users folder to accomodate multiple users on the same workstation
@set PTC_WF_ROOT=C:\Users\%USERNAME%\creo7ws
@set PTC_WLD_ROOT=%PTC_WF_ROOT%
REM ****************************************************************************

REM ****************************************************************************
REM Backup .wf folder once upon upgrade from PDMLink 11 to PDMlink 12
If Not Exist %PTC_WF_ROOT%_11_backup rename %PTC_WF_ROOT% creo7ws_11_backup
REM ****************************************************************************

View solution in original post

6 REPLIES 6
avillanueva
22-Sapphire II
(To:BenLoosli)

I've always viewed workspace caches as disposable. Yes, users keep locally modified data in there so its not without some pain. When we switched to PDMLink 12 from 11, we backed up this area and created a fresh new one.  My assumption is that you are doing a clean break for all users. Everyone switches together. Aside from weird issues that you need to test with Creo 7, you should not need to revert. If like you said, as admin you need to do it, clearing that area, or have a special Creo7 cache location different from the default with Creo9, that could work too.

BenLoosli
23-Emerald II
(To:avillanueva)

I am setting PTC_WF_ROOT in a batch file called from parametric.bat. As such, I could create unique folders for each version pairing of Windchill and Creo.

Windchill 11/Creo 7 could be .pdm11-7

Windchill 12/Creo 7 could be .pdm12-7

Windchill 12/Creo 9 could be .pdm12-9

Currently I just use .pdm12 for Windchill 12 with either Creo 9 or Creo 7.

 

Yes, I do agree that the workspace cache is disposable. When we do a Windchill upgrade, I have the users check in everything, delete their workspaces and delete the .pdmX folder. For a creo upgrade I did not think it was needed, but I see now that it is.

RandyJones
20-Turquoise
(To:BenLoosli)


@BenLoosli wrote:

For a creo upgrade I did not think it was needed, but I see now that it is.


I typically never have had an issue with reusing the same local cache in the past until upgrading from Creo Parametric 8.0 to Creo Parametric 9.0. We went from 8.0.7.0 to 9,0,3,0. At least half of the users had one or both of these issues:

  • Creo Parametric always started with the Windchill Server offline
  • Creo Parametric refused to switch the active workspace

This was solved by deleting the <AppData>/Roaming/ptc/Creo directory and then re-registering the Windchill server in Creo Parametric.

avillanueva
22-Sapphire II
(To:BenLoosli)

Wow, running PDMLink 11 and 12?  I would create unique batch files for each and hard code the PTC_WF_ROOT values in there. Here was our upgrade modification to the start up scripts:

 

REM ****************************************************************************
REM set the .wf folder location; if it doesn't exist create it
REM User the users folder to accomodate multiple users on the same workstation
@set PTC_WF_ROOT=C:\Users\%USERNAME%\creo7ws
@set PTC_WLD_ROOT=%PTC_WF_ROOT%
REM ****************************************************************************

REM ****************************************************************************
REM Backup .wf folder once upon upgrade from PDMLink 11 to PDMlink 12
If Not Exist %PTC_WF_ROOT%_11_backup rename %PTC_WF_ROOT% creo7ws_11_backup
REM ****************************************************************************
BenLoosli
23-Emerald II
(To:avillanueva)

That came out a little confusing.

I do not run both Windchill 11.1 and Windchill 12 on the same system servers. One system is running Windchill 11.1 and only Creo 7. My other production server is running Windchill 12 and has been running Creo 7, but we want to upgrade to Creo 9, which is where I discovered the cache issue. We set the PTC_WF_Root to the user's local folder already.

 

I will have the users delete the folders in Roaming/PTC and the .pdm# when I issue them the final instructions for completing the Creo 9 on Windchill 12 upgrade. I will also modify the batch files so Creo 7 and Creo 9 have unique .pdm folders.

HelesicPetr
22-Sapphire I
(To:BenLoosli)

Hi @BenLoosli 

My experience is that for each version of Creo I always use separate cache folder.

PetrH 

Announcements


Top Tags