joe_d Posted February 7, 2017 Share Posted February 7, 2017 ACAD 2010 32bit Win 7 Pro Getting the dreaded can't find file message. Searched on this forum for the message and can't seem to find the exact similar situation. I don't use CAD much anymore, but had messed this up some time ago trying to install a custom hatch. All of the sudden all my hatch patterns were inaccessible - still visible on the drawing, but I click on it and I get the error message. I checked C:\Users\xxxxx\AppData\Roaming\Autodesk\ACA 2010\enu\Support\pats and I can plainly see all the patterns are still there. They just don't show up on the hatch menu. I also can't seem to abbreviate commands in the command box for some reason - I have type things out fully. Any help would be really appreciated, TIA Quote Link to comment Share on other sites More sharing options...
joe_d Posted February 7, 2017 Author Share Posted February 7, 2017 Should also mention that when I load the drawing, it seems to be looking for the ltypeshp.shx file. I just cancel and proceed and can work with the basics. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted February 7, 2017 Share Posted February 7, 2017 Sounds like your profile has changed so all your pathing is wrong, type CONFIG and check file paths. Quote Link to comment Share on other sites More sharing options...
joe_d Posted February 8, 2017 Author Share Posted February 8, 2017 AEC Content Tab / Tool Catalog? What should it be? Quote Link to comment Share on other sites More sharing options...
ReMark Posted February 8, 2017 Share Posted February 8, 2017 Try this. At the command line type in the following just as it appears then press the Enter key. What should appear next is the path to the file. Make note of it. (findfile"acad.pat") Example taken from AutoCAD 2017. Command: (findfile"acad.pat") "C:\\Users\\REMARK\\appdata\\roaming\\autodesk\\autocad 2017\\r21.0\\enu\\support\\acad.pat" Quote Link to comment Share on other sites More sharing options...
joe_d Posted February 8, 2017 Author Share Posted February 8, 2017 Thank you for the reply! Typed the command into both the ACAD command line and the W7 search (wasn't sure which you were referring to). No luck - nothing. I know where the file is - C:\Users\xxxx\Application Data\Autodesk\ACA 2010\enu\Support\pats - I just can't seem to get the program pointed at it when I open a dwg file. Quote Link to comment Share on other sites More sharing options...
hugha Posted February 9, 2017 Share Posted February 9, 2017 At first glance it looks like your support files paths are incorrect for your system. From the menu try Tools >Options>SupportPaths and set to the location you quoted at: C:\Users\xxxxx\AppData\Roaming\Autodesk\ACA 2010\enu\Support\pats Also check that the other paths point where expected. hth Hugh Quote Link to comment Share on other sites More sharing options...
BIGAL Posted February 9, 2017 Share Posted February 9, 2017 This lisp will set paths but if you rem the PUT and un rem the GET you can look at all your config paths. Copy the *files* line to command line then copy each GET line and paste to command line keep F2 text screen so you can see answers. ; This sets a reference to the install path of your product ; the gets are their for info maybe other use (vl-loa(vld-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-CustomIcons *files*)) (vla-put-CustomIcons *files* "S:\\Autodesk\\ICONS") ; printers config ;(vla-get-PrinterConfigPath *files*) (vla-put-PrinterConfigPath *files* "S:\\AutoDESK\\Plotting\\Plot Styles 2011") ; printer drv's ;(vla-get-PrinterDescPath *files*) (vla-put-PrinterDescPath *files* "S:\\AutoDESK\\Plotting\\Drv") ; print spooler ;(vla-get-PrinterSpoolerPath *files*) (vla-put-PrinterSpoolerPath *files* "C:\\ACADTemp\\") ; template location ;(vla-get-QnewTemplateFile *files*) (vla-put-QnewTemplateFile *files* "S:\\Autodesk\\c3d Templates\\cogg.dwt") ;make new support paths exist + new (setq paths (vla-get-SupportPath *files*)) (setq coggpaths "S:\\autodesk\\supportfiles; S:\\autodesk\\lisp; S:\\autodesk\\fonts; S:\\autodesk\\hfs fonts;" ) (setq newpath (strcat coggpaths paths)) (vla-put-SupportPath *files* newpath) ; Tempdirectory ;(vla-get-TempFilePath *files*)) (vla-put-TempFilePath *files* "C:\\ACADTemp\\") ; template path ;(vla-get-TemplateDwgPath *files*) (vla-put-TemplateDwgPath *files* "S:\\Autodesk\\c3d Templates") ; 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") Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.