<?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: Deploy Autocad with Plot Style Path in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12548617#M21630</link>
    <description>&lt;P&gt;Some of the settings/file paths are saved in the Registry. Once option, you can create a .REG file that will set the files paths in the&amp;nbsp;AutoCAD profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use Civil 3D so the file paths are stored in this Registry location.&lt;/P&gt;&lt;P&gt;HKEY_CURRENT_USER\SOFTWARE\Autodesk\AutoCAD\R24.3\ACAD-7100:409\Profiles\&amp;lt;&amp;lt;C3D_Imperial&amp;gt;&amp;gt;\General&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 14:03:34 GMT</pubDate>
    <dc:creator>VincentSheehan</dc:creator>
    <dc:date>2024-02-08T14:03:34Z</dc:date>
    <item>
      <title>Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12548325#M21629</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a real problem using the new deployment method for AutoCAD. I'm not getting a lot of help from Autodesk support or my reseller so I though I'd ask here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm Sysadmin for a 50 architect practice and my users hotdesk a lot. In the past you could make a deployment image that hardcoded the network path for the companies plot styles. Now the deployment method for this is to make a ARG file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I am having is that this method produces 2 shortcuts on the users desktop. one opens AutoCAD without applying the ARG profile and the other applies the ARG file. This means I have a 50% chance that my users will launch the correct file when they first use a workstation. My users are instinctively opening the plan jane AutoCAD shortcut and then calling helpdesk asking where the plot styles are? This can be weeks after they set up the workstation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand why Autodesk changed away from the previous why of doing things, but I must assume I'm not quite understanding how this should be done. Could someone tell me how I can fix the location of my company's plot styles so I can prevent all the extra work this is generating?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 12:10:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12548325#M21629</guid>
      <dc:creator>NASHCAD</dc:creator>
      <dc:date>2024-02-08T12:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12548617#M21630</link>
      <description>&lt;P&gt;Some of the settings/file paths are saved in the Registry. Once option, you can create a .REG file that will set the files paths in the&amp;nbsp;AutoCAD profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use Civil 3D so the file paths are stored in this Registry location.&lt;/P&gt;&lt;P&gt;HKEY_CURRENT_USER\SOFTWARE\Autodesk\AutoCAD\R24.3\ACAD-7100:409\Profiles\&amp;lt;&amp;lt;C3D_Imperial&amp;gt;&amp;gt;\General&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 14:03:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12548617#M21630</guid>
      <dc:creator>VincentSheehan</dc:creator>
      <dc:date>2024-02-08T14:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12549041#M21631</link>
      <description>&lt;P&gt;Thankyou for this response. I did see an article/post on this and I tried it, it does work but I have had a few issues with it.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It doesn't seem to change the paths for users that have already made changes to their 2024 AutoCAD profile. I was therefore wondering if there might be a secondary registry location or config file that gets updated after first use?&lt;/LI&gt;&lt;LI&gt;I was hoping that Autodesk had a more 'joined up' solution to this as they did before, rather than us having to hack the registry?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Don't get me wrong I am most grateful for this input and if there is no other way this is a most perfect solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 17:00:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12549041#M21631</guid>
      <dc:creator>NASHCAD</dc:creator>
      <dc:date>2024-02-08T17:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12549207#M21632</link>
      <description>&lt;P&gt;Did you reboot after updating the Registry?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 18:20:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12549207#M21632</guid>
      <dc:creator>VincentSheehan</dc:creator>
      <dc:date>2024-02-08T18:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12555377#M21633</link>
      <description>&lt;P&gt;he, he, &lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt; ... yes I rebooted.&amp;nbsp;&lt;BR /&gt;So I have found that unless you open ACAD 2024, and sign in,&amp;nbsp; the registry path: "&lt;SPAN&gt;HKEY_CURRENT_USER\SOFTWARE\Autodesk\AutoCAD\R24.3\ACAD-7100:409\Profiles\&amp;lt;&amp;lt;Unnamed Profile&amp;gt;&amp;gt;\General" does not get created. Therefore you have to deploy the software, then go to the machine and open software. Once AutoCAD has been run once the registry paths are created. You can then run a GPO to alter the registry keys to point to your desired location for Plot Styles, etc. As I want these settings in place before my users use the software I have to log onto their workstations before and open the software.&amp;nbsp;If you create a "PrinterStyleSheetDir" key after you deploy the ACAD 2024 software but before the initial run of it, AutoCAD&amp;nbsp;suffers a fatal error.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As I have to physically go to the machine and prep it for the install I cannot see the point in a deployment&amp;nbsp;image? I may as well do a standard install, machine by machine. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Going back to my original question, why have they changed the deployment method from a system that worked, to one that doesn't? I can't seem to get it to work using ARG or or Registry methods. I had a 100% deployment success rate before and didn't have to go back to the machine to finish the job.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 15:40:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12555377#M21633</guid>
      <dc:creator>NASHCAD</dc:creator>
      <dc:date>2024-02-12T15:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12555465#M21634</link>
      <description>&lt;P&gt;A &lt;A href="https://forums.autodesk.com/t5/autocad-forum/what-is-the-best-practice-for-changing-updating-support-folders/m-p/12542950#M1124130" target="_blank" rel="noopener"&gt;similar question&lt;/A&gt;. And &lt;A href="https://forums.autodesk.com/t5/installation-licensing/how-to-install-company-wide-customized-revit-21-amp-autocad-21/td-p/12347379" target="_blank" rel="noopener"&gt;another topic&lt;/A&gt; about the same thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: to elaborate on the two links - I've been using &lt;STRONG&gt;acad.lsp&lt;/STRONG&gt; to change things like profiles, support paths, printer paths / names, menu's etc. for as long as I remember.&lt;/P&gt;&lt;P&gt;As with everything, it takes some effort and a bit of LISP-knowledge, but there's plenty of websites about LISP and it's all at you finger tips - no need to install programming environments etc. Once you know the basics, you can change anything you want, up to the point you no longer need the profile.arg.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 16:26:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12555465#M21634</guid>
      <dc:creator>Simon_Weel</dc:creator>
      <dc:date>2024-02-12T16:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12555683#M21635</link>
      <description>&lt;P&gt;This does sound intriguing but I have never used a lisp file nor understand how to execute them at AutoCAD launch. Could you tell me simply how this is done or point me in the right direction?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 17:31:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12555683#M21635</guid>
      <dc:creator>NASHCAD</dc:creator>
      <dc:date>2024-02-12T17:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12557114#M21636</link>
      <description>&lt;P&gt;If you start AutoCAD and open a drawing, AutoCAD will search for several files and two of them are&amp;nbsp;&lt;STRONG&gt;acad.lsp&lt;/STRONG&gt; and &lt;STRONG&gt;acaddoc.lsp.&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;If found, AutoCAD will load and execute them. Acad.lsp needs to be executed only once, when launching AutoCAD, and can be used to modify system settings. Acaddoc.lsp is loaded with each drawing and can be used to modify variables for the current drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So with these two files, you can basically have AutoCAD do what you want, without user-intervention. There's lots of information about this topic, so I suggest googling around. This &lt;A href="https://www.linkedin.com/pulse/cad-managment-support-folder-acadlsp-acaddoclsp-daniel-lench/" target="_blank" rel="noopener"&gt;article&lt;/A&gt; might be a good start?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 09:30:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12557114#M21636</guid>
      <dc:creator>Simon_Weel</dc:creator>
      <dc:date>2024-02-13T09:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12559715#M21637</link>
      <description>&lt;P&gt;Hi, this has been really helpful, can I ask a question? In the article you sent me the person puts their support location at the top of the list (Please see image below). Is it possible to set this up from within the deployment image, or programmatically? I'm trying to run a deployment and not have to do any setup on each PC afterwards. Essentially, how do you point all of your users to the same Acad.lsp file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is an example of the ACAD2024.lsp I wrote,&amp;nbsp;I used ChatGPT to tell me where to insert the lines I needed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NASHCAD_1-1707912913127.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1325981iA94AC63EFFFBBCFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NASHCAD_1-1707912913127.png" alt="NASHCAD_1-1707912913127.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NASHCAD_0-1707912753241.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1325980iF23D5833B5CA9C26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NASHCAD_0-1707912753241.png" alt="NASHCAD_0-1707912753241.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 12:31:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12559715#M21637</guid>
      <dc:creator>NASHCAD</dc:creator>
      <dc:date>2024-02-14T12:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12560250#M21638</link>
      <description>&lt;P&gt;Not sure if you can modify the deployment to include / modify acad.lsp. I &lt;SPAN&gt;create a deployment for AutoCAD using the Account-deployment tool with as little customisation&amp;nbsp;as possible. Then download the image to a local share. We don't deploy customizations to clients but have them stored on a network share. For example, we use modified menu's and LISP applications stored on that share. There's also a default AutoCAD profile on the same share.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A command script (cmd) is used to install AutoCAD on the clients, and I have that script to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;copy&amp;nbsp; a modified 'acad.lsp' to the clients Support folder. When a user runs AutoCAD for the first time, it uses the OOTB support paths and it will find that modified&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;acad.lsp,&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;load and execute it. This acad.lsp sets the support paths to point to the network share and restarts AutoCAD. Then AutoCAD will pick up the corporate acad.lsp on the network share, execute it and it will modify several settings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the acad.lsp I copy to the client at install time (text is in Dutch):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;;;******************************************************************************
;;******************************************************************************
;;**                                                                          **
;;** De lokale versie van Acad.lsp wordt bij het starten van AutoCAD          **
;;** geladen als de paden in het profiel niet goed zijn ingesteld.            **
;;** Deze routine wijzigt de supportpaden en geeft een boodschap.             **
;;**                                                                          **
;;******************************************************************************
;;******************************************************************************

(setvar "cmdecho" 0)
(princ "Lokale versie ACAD.LSP verwerken...")
;;------------------------------------------------------------------------------
;;-- Visual LISP                                                              --
;;------------------------------------------------------------------------------
(vl-load-com)

;;------------------------------------------------------------------------------
;;-- Opties instellen onder tab 'Files'                                       --
;;------------------------------------------------------------------------------
 (setq acadsuppad "L:\\AutoCAD\\"
	   userprofilepad (getvar "RoamableRootPrefix")
	   paden (vla-get-files (vla-get-preferences (vlax-get-acad-object)))
       oldsuppad (vla-get-supportpath paden)
	   )

 (if (not (wcmatch (strcase oldsuppad) "*L:\\AutoCAD\\apps*"))
 (progn
		(vla-put-supportpath paden (strcat "L:\\AutoCAD\\apps;" oldsuppad ))
		(setvar "TrustedPaths" (strcat acadsuppad "apps\\...;" acadsuppad "cot\\...;" acadsuppad "support\\...;" userprofilepad "support\\..."))
		(alert "AutoCAD gebruikt niet de juiste configuratie.\n\nKlik op OK om AutoCAD af te sluiten en start het opnieuw.\nDe configuratie wordt dan aangepast.")
		(command "quit")
 )) ;_ end of if

;;------------------------------------------------------------------------------
;;-- Einde acad.lsp                                                           --
;;------------------------------------------------------------------------------
(princ "\nACAD.LSP lokaal is verwerkt.")
 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The network share holding the corporate acad.lsp is&amp;nbsp;&lt;STRONG&gt;"L:\\AutoCAD\\"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;In short what this routine does. It gets the current support path (vla-get-supportpath) and assign it to variable&amp;nbsp;&lt;EM&gt;oldsuppad&lt;/EM&gt;. Then it looks if this path contains the corporate path (wcmatch (strcase oldsuppad) "*L:\\AutoCAD\\apps*"). If true, the correct support path is already there and the routine exits. If false, change the support path to add the new location as first in the list (vla-put-supportpath paden (strcat "L:\\AutoCAD\\apps;" oldsuppad ) and display a message to restart AutoCAD.&lt;/P&gt;&lt;P&gt;You also have to change the&amp;nbsp;TrustedPaths, if you happen to use them, otherwise AutoCAD won't load the corporate acad.lsp off of the network share.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your case, the ACAD2024.lsp is the corporate acad.lsp and has to be stored on a network share - &lt;STRONG&gt;S:\Acad\Support&lt;/STRONG&gt; I guess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any modifications needed after deploying AutoCAD that cannot be done from within AutoCAD, like copying the 'local' version of acad.lsp to the clients, can be done using a Windows Domain Startup script. That's a whole other &lt;A href="https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn789196(v=ws.11)" target="_blank" rel="noopener"&gt;can of worms&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As always - there's more ways to skin a cat. If you happen to have SCCM, Intune and / or extensive knowledge about PowerShell, things can probably be done in a more streamlined fashion....&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 16:24:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12560250#M21638</guid>
      <dc:creator>Simon_Weel</dc:creator>
      <dc:date>2024-02-14T16:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Autocad with Plot Style Path</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12560357#M21639</link>
      <description>&lt;P&gt;Thank you for this, I believe I have found a solution with everyone's help here, I'm most grateful. Incase it helps anyone I have written it below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have PDQ for my deployments so I made a package with three steps:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Silently deploy an "Out-the-box" AutoCAD2024 deployment image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Sleep step. I paused the process in case it needed a short time to finish anything up in the background. probably unnecessary.&lt;/P&gt;&lt;P&gt;3. Copied my modified AutoCAD2024.lsp (shown above) form a Network location to "%programfiles%\Autodesk\AutoCAD 2024\Support" - I tried Robocopy initially but I had to take ownership of the folder and play with permissions (absolutely a can of worms &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;). With PDQ I didn't have to do anything.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have run it now on 2 systems and all seems good.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 17:14:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/deploy-autocad-with-plot-style-path/m-p/12560357#M21639</guid>
      <dc:creator>NASHCAD</dc:creator>
      <dc:date>2024-02-14T17:14:11Z</dc:date>
    </item>
  </channel>
</rss>

