<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>CAD Forum discussion (EN) : Freeze Layers containing spaces?</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : AutoCAD : Freeze Layers containing spaces?]]></description>
  <pubDate>Sat, 13 Jun 2026 12:01:28 +0000</pubDate>
  <lastBuildDate>Mon, 14 Jul 2008 21:17:47 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.cadforum.cz/forum_en/RSS_post_feed.asp?TID=896</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD Forum discussion (EN)]]></title>
   <url>https://www.cadforum.cz/forum_en/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum_en/</link>
  </image>
  <item>
   <title><![CDATA[Freeze Layers containing spaces? :   Ok, my EXTNAMES is set to...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=896&amp;PID=2321&amp;title=freeze-layers-containing-spaces#2321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=14512">Xsoldier2000</a><br /><strong>Subject:</strong> 896<br /><strong>Posted:</strong> 14.Jul.2008 at 21:17<br /><br />Ok, my EXTNAMES is set to 1 (allowing for AutoCAD 2000(+) parameters)<br><br>An example of my script:<br><br><i>-layer<br>F<br>*|Competition Pool$0$SP-CP-WP-2-ROPE f *|s-grid-iden-384<br></i><br>When running the script it still stops after the Competition when trying to freeze *|Competition Pool$0$SP-CP-WP-2-ROPE.&nbsp; (eg. <i>&#091;?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck<br>/Unlock/stAte/Description/rEconcile&#093;: F<br><br>Enter name list of layer(s) to freeze or &lt;select objects&gt;: *|Competition<br>No matching layer names found.</i>)<br><br>BTW, I am using AutoCAD 2008.<br><br>Thank you again for any help.<br><br>Update: I just found this...Will try it our tomorrow.<br><font face="Tahoma, Arial, Sans serif"><p><font ="msgAtxt" size="2" face="Arial, Helvetica">To quickly replace spaces in layer names use the following <acr&#111;nym ="term" title="Glossary:Visual Basic for Applicati&#111;ns - custom applicati&#111;n development tool (Visual Basic) ded in many s programs like MS Office, AutoCAD, Inventor and others">VBA</acr&#111;nym> macro (use e.g. the <tt>_VBASTMT</tt> command to run it):</font></p><pre><font ="msgAtxt" size="2" face="Arial, Helvetica">For Each objLayer In ThisDrawing.Layers : objLayer.Name=Replace(objLayer.Name, " ", "_") : Next<br></font></pre></font><br><span style="font-size:10px"><br /><br />Edited by Xsoldier2000 - 14.Jul.2008 at 21:24</span>]]>
   </description>
   <pubDate>Mon, 14 Jul 2008 21:17:47 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=896&amp;PID=2321&amp;title=freeze-layers-containing-spaces#2321</guid>
  </item> 
  <item>
   <title><![CDATA[Freeze Layers containing spaces? : There is no need for a LISP -...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=896&amp;PID=2320&amp;title=freeze-layers-containing-spaces#2320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=3">Vladimir Michl</a><br /><strong>Subject:</strong> 896<br /><strong>Posted:</strong> 14.Jul.2008 at 21:08<br /><br />There is no need for a LISP - a plain macro:<DIV><strong>&nbsp;_-LAYER _Freeze * *</strong></DIV><DIV>will work.</DIV><DIV>You can use spaces in layer names (in scripts) as long as the EXTNAMES variable is set to 1.</DIV>]]>
   </description>
   <pubDate>Mon, 14 Jul 2008 21:08:49 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=896&amp;PID=2320&amp;title=freeze-layers-containing-spaces#2320</guid>
  </item> 
  <item>
   <title><![CDATA[Freeze Layers containing spaces? : I&amp;#039;m trying to write a script...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=896&amp;PID=2319&amp;title=freeze-layers-containing-spaces#2319</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=14512">Xsoldier2000</a><br /><strong>Subject:</strong> 896<br /><strong>Posted:</strong> 14.Jul.2008 at 20:22<br /><br />I'm trying to write a script to mass freeze certain layers in my drawings, but because we receive drawings from an architect, they contain spaces (eg. THIS LAYER|Pool Competition$10$1-pool)<br><br>Any idea how this might be done? As AutoCAD scripts read spaces as an ENTER key I can't just copy/paste the layer name. Also, when I insert a %20 (normally used for a space) AutoCAD reads it as part of the layer name.<br><br><br>Any Help?<br><br>Or maybe I should be looking into a LISP? I honestly don't know the first thing about writing a LISP though.<br><br>Thanks for any help possible.<br>]]>
   </description>
   <pubDate>Mon, 14 Jul 2008 20:22:28 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=896&amp;PID=2319&amp;title=freeze-layers-containing-spaces#2319</guid>
  </item> 
 </channel>
</rss>