Jump to content

Recommended Posts

Posted

Hi There

 

I am using Civil 3d 2015 and I am currently creating a new template etc. for my company. I have a new dedicated Server for all my cad files and support files.

 

I need to have everyones machines to run on the same file system for all the support files. I know this can be achieved by running a custom profile arg, but this seems to have too many issues as it looses support file paths when exported etc.

 

I would like to know if there is any lisp files to only change the file system in options when you start cad up. Or any other way in doing this for multiple users.

 

Hope anyone can help

 

Thanks!

Posted

Something like this

 

; resets the paths usefull for update versions of Autocad
; by A H 2011
; This sets a reference to the install path of your product
; the gets are their for info maybe other use
; use this to find other settings 
;(vlax-dump-object (vla-get-files (vla-get-preferences (vlax-get-Acad-object))) T)

(vl-load-com)
; make temp directory
;(vl-mkdir "c:\\AcadTEMP")
(setq *files*  (vla-get-files  (vla-get-preferences (vlax-get-Acad-object))))
; savepath
;(vla-get-AutoSavepath *files*)
(vla-put-AutoSavepath *files* "C:\\AcadTemp")
; custom icons
;(vla-get-CustomIconPath *files*))
(vla-put-CustomIconPath *files* "P:\\Autodesk\\ICONS")
; custom menu
;(vla-get-Menufile *files*))
;(vla-put-Menufile  *files* "C:\\Users\\2013XXXX")
; printers config
;(vla-get-PrinterConfigPath *files*)
(vla-put-PrinterConfigPath *files* "P:\\AutoDESK\\Plotting\\Plot Styles 2011")
; printers style sheet
;(vla-get-PrinterStyleSheetPath *files*)
(vla-put-PrinterStyleSheetPath *files* "P:\\AutoDESK\\Plotting\\Plot Styles")
; printer drv's
;(vla-get-PrinterDescPath *files*)
(vla-put-PrinterDescPath *files* "P:\\AutoDESK\\Plotting\\Drv")
; print spooler
;(vla-get-PrintSpoolerPath *files*)
(vla-put-PrintSpoolerPath *files* "C:\\AcadTemp\\")
; template  path
;(vla-get-TemplateDwgPath *files*)
(vla-put-TemplateDwgPath *files* "P:\\Autodesk\\c3d Templates")
; template location
;(vla-get-QnewTemplateFile *files*)
(vla-put-QnewTemplateFile *files* "P:\\Autodesk\\c3d Templates\\XXXX.dwt")
;make new support paths exist + new
(setq paths (vla-get-SupportPath *files*))

(setq XXXXpaths 
 "P:\\autodesk\\supportfiles;
 P:\\autodesk\\lisp;
 P:\\autodesk\\fonts;
 P:\\autodesk\\hfs fonts;"
 )
(setq newpath (strcat XXXXpaths paths))
(vla-put-SupportPath *files* newpath)
; Tempdirectory 
;(vla-get-TempFilePath *files*))
(vla-put-TempFilePath *files* "C:\\AcadTemp\\")
;   PlotLogFilePath = "C:\\Documents and Settings\\ah02490.XXXX-AD\\local 
settings\\application data\\autodesk\\c3d 2011\\enu\\"
(vla-put-PlotLogFilePath *files* "C:\\AcadTemp\\")
;   LogFilePath = "C:\\Documents and Settings\\ah02490.XXXX-AD\\local 
settings\\application data\\autodesk\\c3d 2011\\enu\\"
(vla-put-LogFilePath *files* "C:\\AcadTemp\\")

; xref temp path
;(vla-get-TempXrefPath *files*))
(vla-put-TempXrefPath *files* "C:\\AcadTemp\\")
; end use of *files*
(vlax-release-object *files*)
; exit quitely
(princ "All Done")

Posted

Thanks Guys looks like these should work! I havent had a chance to test them as yet. I will definitely give some feedback as soon as I get a chance. I will have to set these up between 2 machines and test them thoroughly. Hope this works. Wish Autodesk could keep in mind to sort things like these for multiple users...?

 

But ja ok let me have a look. Thanks guys

Posted

Its just experience it takes us very little time now using ARG and customised desktop icons its about knowing how and the order of the steps. The topic of setting up multiple pc's has been discussed many times here I know I have posted some suggestions to remove the pain.

Posted

Running the desktop icon for the arg is fine, its all about updating without a users own input. Which will be a mess considering not everyone being in touch with their cad side. I have set up everything making life easier for everyone, but still having to adjust your crosshair size whenthe arg gets updated is causing a stirr, go figure

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...