<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change Plot Style Table Search Path for whole company in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10563833#M56725</link>
    <description>&lt;P&gt;When we updated to a new version just run a lisp that has all the preferences in it and set them. Yes they decided we would go from P: to L: as server. Only had like 20 max to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like others have suggested if you have some form of start up lisp just check the preferences. Or else run something like this once (load "L"\\something\\printerfixup.lsp") its not that complicated for a user to copy and paste from a email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(setq *files*  (vla-get-files  (vla-get-preferences (vlax-get-Acad-object))))

; printers config
;(vla-get-PrinterConfigPath *files*)
(vla-put-PrinterConfigPath *files* "L:\\AutoDESK\\Plotting\\Plot Styles 2011")

; printers style sheet
;(vla-get-PrinterStyleSheetPath *files*)
(vla-put-PrinterStyleSheetPath *files* "L:\\AutoDESK\\Plotting\\Plot Styles")

; printer drv's
;(vla-get-PrinterDescPath *files*)
(vla-put-PrinterDescPath *files* "L:\\AutoDESK\\Plotting\\Drv")

; print spooler
;(vla-get-PrintSpoolerPath *files*)
(vla-put-PrintSpoolerPath *files* "C:\\AcadTemp\\")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Aug 2021 01:39:56 GMT</pubDate>
    <dc:creator>Sea-Haven</dc:creator>
    <dc:date>2021-08-22T01:39:56Z</dc:date>
    <item>
      <title>Change Plot Style Table Search Path for whole company</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10561090#M56720</link>
      <description>&lt;P&gt;Is there any way to change the Plot Style Table Search Path for multiple machines using windows command line or registry changes or settings file? We are moving to a new file server and changing our Drive letters. So all 160 computers need to change their Plot Style Table Search path from R: to H:, is there an easy way to IT to automate this instead of having to direct all users to do it individually in the options menu? I do know how to change this for new installs in our installer package.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 15:08:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10561090#M56720</guid>
      <dc:creator>NEIPower</dc:creator>
      <dc:date>2021-08-20T15:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change Plot Style Table Search Path for whole company</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10561949#M56721</link>
      <description>&lt;P&gt;If you have custom tools that run at startup ( *.MNL, etc.. ) you could implement something as simple as this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;(if (setq d (cond ((findfile "H:\\Plot Styles"))
		  ((findfile "R:\\Plot Styles"))
	    )
    )
  (setenv "PrinterStyleSheetDir" d)
  (print "Plot style directory could not be found!!")
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 21:19:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10561949#M56721</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2021-08-20T21:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change Plot Style Table Search Path for whole company</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10562017#M56722</link>
      <description>&lt;P&gt;Most profile dependent settings, such as plot style folders, are kept in the registry under HKEY_CURRENT_USER and separated by AutoCAD version and profile.&amp;nbsp; Go exploring on one of their computers to get a feel for how it's laid out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your users have multiple profiles you'll have to hit all of them.&amp;nbsp; Ideally they're all using the same standard profile names so you can hit up the registry easily.&amp;nbsp; If it's a free-for-all, with them using whatever profile names they feel like, you might be a wee bit hosed for IT-level automated procedures.&amp;nbsp; You'd have to put together some LISP that they can run themselves, presuming you don't already have the capability of them automatically running LISP files under your control.&amp;nbsp; This can be done a couple of ways through LISP, both making direct changes to the registry entry (as noted in the other post), and using VLISP to access the AutoCAD application object and changing the settings via the profile data.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 21:59:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10562017#M56722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-20T21:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change Plot Style Table Search Path for whole company</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10562391#M56723</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/560336"&gt;@NEIPower&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;So all 160 computers&lt;/STRONG&gt; need to change their Plot Style Table Search path from R: to H:, &lt;FONT size="3" color="#0000FF"&gt;is there an easy way to IT to automate this &lt;/FONT&gt;instead of having to direct all users to do it individually in the options menu? I do know how to change this for new installs in our installer package.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Surely there is a loading tool already in place for those 160 computers?&amp;nbsp; or even a program that is located on the server that one time or another is being accessed by the individual workstation?&amp;nbsp; You can just piggy back on one of them to trigger the update simialr to what&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;suggested.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Now if you already have a new installer package,&lt;FONT color="#0000FF"&gt; IT can run a push installation software&lt;/FONT&gt; to install the updates with limited or no user involvement needed.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 04:26:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10562391#M56723</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2021-08-21T04:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change Plot Style Table Search Path for whole company</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10562798#M56724</link>
      <description>&lt;P&gt;You can change the search path in one computer, export the profile.&lt;/P&gt;
&lt;P&gt;Then in all other computers, change the AutoCAD shortcut and add the new profile at the end.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"C:\Program Files\AutoCAD 20XX\&lt;/SPAN&gt;&lt;I&gt;acad.exe&lt;/I&gt;&lt;SPAN&gt;" /p "MyProfile"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Start-AutoCAD-with-different-profiles.html" target="_blank"&gt;https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Start-AutoCAD-with-different-profiles.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 10:40:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10562798#M56724</guid>
      <dc:creator>3wood</dc:creator>
      <dc:date>2021-08-21T10:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change Plot Style Table Search Path for whole company</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10563833#M56725</link>
      <description>&lt;P&gt;When we updated to a new version just run a lisp that has all the preferences in it and set them. Yes they decided we would go from P: to L: as server. Only had like 20 max to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like others have suggested if you have some form of start up lisp just check the preferences. Or else run something like this once (load "L"\\something\\printerfixup.lsp") its not that complicated for a user to copy and paste from a email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(setq *files*  (vla-get-files  (vla-get-preferences (vlax-get-Acad-object))))

; printers config
;(vla-get-PrinterConfigPath *files*)
(vla-put-PrinterConfigPath *files* "L:\\AutoDESK\\Plotting\\Plot Styles 2011")

; printers style sheet
;(vla-get-PrinterStyleSheetPath *files*)
(vla-put-PrinterStyleSheetPath *files* "L:\\AutoDESK\\Plotting\\Plot Styles")

; printer drv's
;(vla-get-PrinterDescPath *files*)
(vla-put-PrinterDescPath *files* "L:\\AutoDESK\\Plotting\\Drv")

; print spooler
;(vla-get-PrintSpoolerPath *files*)
(vla-put-PrintSpoolerPath *files* "C:\\AcadTemp\\")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2021 01:39:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10563833#M56725</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-08-22T01:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Change Plot Style Table Search Path for whole company</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10576286#M56726</link>
      <description>&lt;P&gt;Thanks for the options. Not sure which path exactly we will chose but this is great.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 17:27:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-plot-style-table-search-path-for-whole-company/m-p/10576286#M56726</guid>
      <dc:creator>NEIPower</dc:creator>
      <dc:date>2021-08-26T17:27:54Z</dc:date>
    </item>
  </channel>
</rss>

