<?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 Open Specific Drawing Location Custom Command in Tool Palette in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553450#M47582</link>
    <description>&lt;P&gt;Hi everyone, I'm currently trying to create a command to open a specific drawing and have it sit in a tool palette for easy access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For extra context, the drawing consists of extra piping ISO blocks, what I'm trying to do is assist the other designers/drafters to access the drawing quickly during an ISO scrub and not have it sit in their desktops, or go through a frenzy looking for it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i have the command as&amp;nbsp;^C^C_open "S:\xxxx\Cadprogs\XXXXX-Iso\Miscpiping.dwg"; but all it does is open the file explorer. It doesn't even open the file location. I have also tried using the actual drive name not just (S:\), but no luck either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks y'all.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 12:44:28 GMT</pubDate>
    <dc:creator>daniel.escamillaBRIS</dc:creator>
    <dc:date>2022-11-15T12:44:28Z</dc:date>
    <item>
      <title>Open Specific Drawing Location Custom Command in Tool Palette</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553450#M47582</link>
      <description>&lt;P&gt;Hi everyone, I'm currently trying to create a command to open a specific drawing and have it sit in a tool palette for easy access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For extra context, the drawing consists of extra piping ISO blocks, what I'm trying to do is assist the other designers/drafters to access the drawing quickly during an ISO scrub and not have it sit in their desktops, or go through a frenzy looking for it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i have the command as&amp;nbsp;^C^C_open "S:\xxxx\Cadprogs\XXXXX-Iso\Miscpiping.dwg"; but all it does is open the file explorer. It doesn't even open the file location. I have also tried using the actual drive name not just (S:\), but no luck either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks y'all.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 12:44:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553450#M47582</guid>
      <dc:creator>daniel.escamillaBRIS</dc:creator>
      <dc:date>2022-11-15T12:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Open Specific Drawing Location Custom Command in Tool Palette</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553486#M47583</link>
      <description>&lt;P&gt;(defun C:&lt;FONT color="#000000"&gt;&lt;STRONG&gt;OMPD&lt;/STRONG&gt;&lt;/FONT&gt; () ; = &lt;FONT color="#000000"&gt;&lt;STRONG&gt;O&lt;/STRONG&gt;&lt;/FONT&gt;pen &lt;FONT color="#000000"&gt;&lt;STRONG&gt;M&lt;/STRONG&gt;&lt;/FONT&gt;iscellaneous &lt;FONT color="#000000"&gt;&lt;STRONG&gt;P&lt;/STRONG&gt;&lt;/FONT&gt;iping &lt;FONT color="#000000"&gt;&lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/FONT&gt;rawing&lt;BR /&gt;&amp;nbsp; (vla-activate&lt;BR /&gt;&amp;nbsp; &amp;nbsp; (vla-open&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (vla-get-documents&amp;nbsp;(vlax-get-acad-object))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "&lt;EM&gt;&lt;FONT color="#00CCFF"&gt;X:/Your/File/Path&lt;/FONT&gt;&lt;/EM&gt;/&lt;SPAN&gt;Miscpiping&lt;/SPAN&gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; )&lt;BR /&gt;&amp;nbsp; )&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can define a command like that, and have the command name in a Tool Palette button.&amp;nbsp; Or you can put it all in a button directly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(vla-activate (vla-open (vla-get-documents (vlax-get-acad-object)) "&lt;EM&gt;&lt;FONT color="#00CCFF"&gt;X:/Your/File/Path&lt;/FONT&gt;&lt;/EM&gt;/&lt;SPAN&gt;Miscpiping&lt;/SPAN&gt;"))&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 13:04:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553486#M47583</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-11-15T13:04:56Z</dc:date>
    </item>
    <item>
      <title>Betreff: Open Specific Drawing Location Custom Command in Tool Palette</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553526#M47584</link>
      <description>&lt;P&gt;for LT-Users: Use a script!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;;----&lt;/P&gt;
&lt;P&gt;open&lt;/P&gt;
&lt;P&gt;"S:/123/456/myXYfile.dwg"&lt;/P&gt;
&lt;P&gt;;----&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and start the script from toolpalette&lt;/P&gt;
&lt;P&gt;^C^C^C_.script;"d:/mycadstuff/toolpalettes/open_myXYfile.scr"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 13:23:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553526#M47584</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2022-11-15T13:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Open Specific Drawing Location Custom Command in Tool Palette</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553622#M47585</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13069030"&gt;@daniel.escamillaBRIS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;.... the drawing consists of extra piping ISO blocks, what I'm trying to do is assist the other designers/drafters to access the drawing quickly ...&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If the idea is to pull Blocks from the drawing, you don't need to actually &lt;EM&gt;open&lt;/EM&gt; it.&amp;nbsp; You can use the Design Center to get Blocks out of it.&amp;nbsp; Something like this in a Tool Palette button:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;(command "adcenter" "adcnavigate" "&lt;EM&gt;&lt;FONT color="#00CCFF"&gt;X:/Your/File/Path&lt;/FONT&gt;&lt;/EM&gt;/Miscpiping/Blocks")&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;will set the Design Center to be &lt;EM&gt;in that drawing&lt;/EM&gt; and &lt;EM&gt;in the Blocks category&lt;/EM&gt;, where you can see thumbnails of the Blocks, drag-and-drop them into the current drawing, or double-click on them to get more complete Insert options [scale, etc.].&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 14:06:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553622#M47585</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-11-15T14:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Open Specific Drawing Location Custom Command in Tool Palette</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553664#M47586</link>
      <description>&lt;P&gt;Thanks Kent this helped!! I'll also try the DesignCenter route as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;(vla-activate (vla-open (vla-get-documents (vlax-get-acad-object)) "&lt;FONT color="#00CCFF"&gt;X:/Your/File/Path&lt;/FONT&gt;/Miscpiping"))&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;worked perfectly, but ill try the design center custom command once i convert half of the blocks in that drawing into actual blocks so it can pull them; its an old drawing the company provided me so some stuff is just normal items.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks this is very helpful, and will speed up the ISO drawing scrubbing process!!!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 14:20:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553664#M47586</guid>
      <dc:creator>daniel.escamillaBRIS</dc:creator>
      <dc:date>2022-11-15T14:20:34Z</dc:date>
    </item>
    <item>
      <title>Betreff: Open Specific Drawing Location Custom Command in Tool Palette</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553670#M47587</link>
      <description>&lt;P&gt;Ill keep this in mind for anyone using LT!!!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 14:21:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/open-specific-drawing-location-custom-command-in-tool-palette/m-p/11553670#M47587</guid>
      <dc:creator>daniel.escamillaBRIS</dc:creator>
      <dc:date>2022-11-15T14:21:23Z</dc:date>
    </item>
  </channel>
</rss>

