Deploying AutoCAD Civil 3D 2012 with custom simplex.shx file
HI All i am working on the application AutoCAD Civil 3D 2012 x64 version 1. Have given one simplex.shx file and I have to replace silently the simplex.shx file in ‘C:\Program Files\Autodesk\AutoCAD Civil 3D 2012\UserDataCache\Support’ with the provided ‘simplex.shx’ file . Anyone have suggestion on how it can be done? Appreciate your response.
Answers (1)
Has AutoCAD been deploayed already? If so you will need to find another way to get the file onto the computers, a dirty batch would be easist.
If its not deployed you can create a transform dropping that file in place on install, if there is a file already there with that name you will need to drop that file (i think, might not need to) and to ensure it gets written if there was another file with the same name, assign the version 65535.65535.65535.65535 to the file in the File Table.
Comments:
-
HI Thanks for reply. yes AutoCAD Civil 3D 2012 is already been in production and my job is to replace 'simplex.shx’ file with new 'simplex.shx’ file for AutoCAD Civil 3D 2012. In our standards we dont use batch scripts. how it can be done in vb script? Thanks for reply. - jay25oct 11 years ago
-
My VB sucks, so you will either have to wait till someone else answers, or have a a look on google. I had a quick search and looks stright forward tho the error checking part may require more work. - rileyz 11 years ago
-
Use the FileSystemObject to first detect the file and then overwrite it forcefully. Also as a part of error handling u can check processes if there are any related to AutoCAD. So first close all the processes and then replace file - talonsprem87 11 years ago