Jump to content

Welcome to eMastercam.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

An X6 admin/it question

- - - - -

  • Please log in to reply
11 replies to this topic

#1
gcode

gcode

    Serenity

  • Moderators
  • 20,836 posts
  • Location:Jurupa Valley, California
I've got a compter here that has been sitting since September when the programmer who used it died.

It does not have X6 on it..

We have a new hire starting in a couple of weeks...

If I install X6 now and IT creates his user account later, there will be no "my mcamx6" in the new user account.

what is the best way to fix this ... a repair install ???

#2
Bill Henderson

Bill Henderson

    Member

  • Members
  • PipPip
  • 238 posts
  • Location:Gilbert AZ
Just a question to a question gcode.

When the user account is created Windows won't create that folder... or after the user logs in and opens MCAM for the first time? If I remember correctly a user account "packet" with a Windows Server could set up that type of stuff.

Wouldn't it?

#3
Aaron Eberhard - CNC Software

Aaron Eberhard - CNC Software

    Advanced Member

  • CNC Software
  • PipPipPip
  • 471 posts
  • Location:Tolland, CT
The directory will be created the first time he launches X6.

When I wrote my custom config script that edits the config file, I had to specify to the user to run the config AFTER they have already ran X5 or X6, so that directory exists for my script to work..

#4
gcode

gcode

    Serenity

  • Moderators
  • 20,836 posts
  • Location:Jurupa Valley, California

The directory will be created the first time he launches X6.


cool .. that makes it easy .. and there is no reason I can't install X6 now and get everything ready for the new hire

#5
Guest_CNC Apps Guy 1_*

Guest_CNC Apps Guy 1_*
  • Guests
The new victim hire anyone we know?

#6
gcode

gcode

    Serenity

  • Moderators
  • 20,836 posts
  • Location:Jurupa Valley, California
no he's out of state ... answered a Craiglist add ..

I don't know if he hangs out here or not

#7
shazam/TPP

shazam/TPP

    Advanced Member

  • Members
  • PipPipPip
  • 1,608 posts
  • Location:Painesville, Ohio
hope he likes Tacos :rofl:

#8
RDub

RDub

    Member

  • Members
  • PipPip
  • 215 posts
Hey Aaron,


We are looking to setup the config file for the users as well. Have you been able to determine where the User config file come from? We thought if we could change the defaults at the source, that there would be no need to configure each user later.


Robert

#9
Aaron Eberhard - CNC Software

Aaron Eberhard - CNC Software

    Advanced Member

  • CNC Software
  • PipPipPip
  • 471 posts
  • Location:Tolland, CT
Robert,

As far as I can tell from my experimentation, it comes from the ether. I think it's created by Mastercam.exe itself at run time, probably from defaults inside of the program that we don't have access to. I believe this because the newer style configs have to individually tailor the config files to the username it's installed to (i.e. there's paths inside the mcamx.config that will read C:\Users\Robert\... for you, and C:\Users\Aaron for me). I could be wrong about how it's created though. My solution was to replace the hard coded paths (C:\Users\Aaron\...) with variables in a backed up configuration file, and then use a script to read the locations from the registry (stored at HKEY_CURRENT_USER\SOFTWARE\CNC Software, Inc.\Mastercam X6 ), then go and replace the variables with the appropriate path.

It's unfortunately a hack that we have to do until they get around to putting relative paths in the config file.

Feel free to email/message me for more details.

Cheers,
Aaron

#10
JMC

JMC

    Advanced Member

  • Members
  • PipPipPip
  • 952 posts
  • Location:All of North America
FWIW...Aaron has a pretty slick system for backing these things up and restoring if/when they get corrupted. It is still in use at my old employeer's place.

#11
propi

propi

    Newbie

  • Members
  • Pip
  • 4 posts
  • Location:Switzerland
hi there

the default files are in this folder: C:\mcamx6\common\UserDefaults\CONFIG\

there you can place the cfg, mtb and kmp.

ATTENTION: open the config file with editor and search for "2152" and delete the path, same at "16001" and "16003".

2152. Odner mit Anwenderdaten? C:\Users\thename\Documents\my MCAMX6\ <--- delete the path
16001. Text nicht verfügbar? C:\USERS\thename\DOCUMENTS\MY MCAMX6\CONFIG\mastercam.kmp <--- delete the path
16003. Text nicht verfügbar? c:\users\thename\documents\my MCAMX6\config\mastercam.mtb <--- delete the path

the first time mastercam starts with the new user the config copies from C:\mcamx6\common\UserDefaults\CONFIG\ to the mymcamx6 folder and the paths will be there again for the new user.

bye

#12
Aaron Eberhard - CNC Software

Aaron Eberhard - CNC Software

    Advanced Member

  • CNC Software
  • PipPipPip
  • 471 posts
  • Location:Tolland, CT

hi there

the default files are in this folder: C:\mcamx6\common\UserDefaults\CONFIG\

there you can place the cfg, mtb and kmp.

ATTENTION: open the config file with editor and search for the line 2152 and delete the path, same at line 16001 and 16017.

bye


I think you have to be careful here, because if you have multiple users, the config paths would have to be updated every time it's restored this way... Also, my mcamx.config file only has 883 lines in it...

JMC - Glad to hear that script is still serving them well :)