<?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 Betreff: entmod the layer in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9128197#M82293</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/411413"&gt;@dbroad&lt;/a&gt;&amp;nbsp;Competition is a good thing IMO. Bricscad is actively developing its product and addressing issues brought up from its users in weeks not years. Should Microsoft have sued Autodesk for using their ribbon idea?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2019 14:08:45 GMT</pubDate>
    <dc:creator>ronjonp</dc:creator>
    <dc:date>2019-11-05T14:08:45Z</dc:date>
    <item>
      <title>(ssget "_x" (list (cons 8 "layername"))) inside blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9121994#M82281</link>
      <description>&lt;P&gt;Hi, I have an issue with&amp;nbsp;(ssget "_x" (list (cons 8 "layername"))). It doesnt create selection set from entities that are inside blocks.&lt;/P&gt;&lt;P&gt;How can create selection set from these? Thanks for help.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:33:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9121994#M82281</guid>
      <dc:creator>davidkoh007</dc:creator>
      <dc:date>2019-11-01T13:33:21Z</dc:date>
    </item>
    <item>
      <title>Betreff: (ssget "_x" "layername") inside blocks</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9121998#M82282</link>
      <description>&lt;P&gt;SelectionSets of these objects are useless (99%),&lt;/P&gt;
&lt;P&gt;tell us what you want to do with the objects!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:33:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9121998#M82282</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2019-11-01T13:33:45Z</dc:date>
    </item>
    <item>
      <title>entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122006#M82283</link>
      <description>&lt;P&gt;entmod the layer&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:35:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122006#M82283</guid>
      <dc:creator>davidkoh007</dc:creator>
      <dc:date>2019-11-01T13:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122035#M82284</link>
      <description>&lt;P&gt;The process for that would be to open the block definitions of the blocks and then modify the layer. If you are talking about attributes attached to inserts, then that would be stepping through all blocks that have attributes, looking at each layer of those and then updating that entitiy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;;something similar to update block definitions&lt;BR /&gt;(setq bldata (tblnext "BLOCK" T))
(while bldata
   ;....step through the block definitions and make your changes&lt;BR /&gt;)&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:43:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122035#M82284</guid>
      <dc:creator>SeeMSixty7</dc:creator>
      <dc:date>2019-11-01T13:43:22Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122039#M82285</link>
      <description>&lt;P&gt;You have to iterate thru all blocks,&lt;/P&gt;
&lt;P&gt;check all the objects, if LayerX, then..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add you 'check if layer is "mylayerX" then..&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-a-layer-within-all-blocks/td-p/6016810" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/change-a-layer-within-all-blocks/td-p/6016810&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Or search 5min more, you will find 100 samples to do this.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:45:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122039#M82285</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2019-11-01T13:45:03Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122071#M82286</link>
      <description>&lt;P&gt;Seems like going through the blocks is the way to go. I just thought there's a more straightforward way I was missing. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 13:56:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122071#M82286</guid>
      <dc:creator>davidkoh007</dc:creator>
      <dc:date>2019-11-01T13:56:37Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122111#M82287</link>
      <description>&lt;P&gt;Another solution could be LAYTRANS command. If you are just trying to remap a layer to another layer.&lt;/P&gt;&lt;P&gt;For instance if you have Layer A inside all your block and you want them to be MYNEWLAYER. You coudl easily do that in a couple of clicks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 14:14:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122111#M82287</guid>
      <dc:creator>SeeMSixty7</dc:creator>
      <dc:date>2019-11-01T14:14:27Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122115#M82288</link>
      <description>&lt;P&gt;The issue is i'm using BricsCAD v12 which doesnt support laymrg or laytrans. So I gotta code it myself.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 14:16:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122115#M82288</guid>
      <dc:creator>davidkoh007</dc:creator>
      <dc:date>2019-11-01T14:16:41Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122293#M82289</link>
      <description>&lt;P&gt;Well here is my BLK20 command that updates blocks by selection or all blocks in drawing to move all ents within a block to 0, color = BYLAYER, linetype=bylayer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can probably use this a s good starting point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun c:blk20( / bldata hdent hddata oldcol oldlay
                  newlay oldlin newcol1 newcol newlin
                  newlin1 ans sel1
              )
  (initget "A S")
  (setq ans (getkword "\nRedefine All Blocks or Select Block &amp;lt;S&amp;gt;: "))
  (if (or (not ans) (= ans "") (= ans "S"))
    (progn
       (setq blname (cdr (assoc 2 
                         (entget (car 
                         (entsel "\nSelect block to Redefine: "))))
                    )
             bldata (tblsearch "BLOCK" blname)
             sel1   T
       )
    )
    (setq bldata (tblnext "BLOCK" T))
  )
  (while bldata
   (setq hdent  (cdr (assoc -2 bldata))
         bldata (reverse (cdr (reverse bldata)))
   )
   (entmake bldata)
   (while hdent
      (setq hddata (entget hdent)
            oldcol (assoc 62 hddata)
            oldlay (assoc 8 hddata)
            newlay (cons 8 "0")
            oldlin (assoc 6 hddata)
            hddata (subst newlay oldlay hddata)
      )
      (if oldcol
        (progn
          (setq newcol (cdr (member oldcol hddata))
                newcol1(reverse (cdr (member oldcol (reverse hddata))))
                hddata (append newcol1 newcol)
          )
        )
      )
      (if oldlin
        (progn
          (setq newlin (cdr (member oldlin hddata))
                newlin1(reverse (cdr (member oldlin (reverse hddata))))
                hddata (append newlin1 newlin)
          )
        )
      )
      (setq hddata (cdr hddata))
      (entmake hddata)
      (setq hdent (entnext hdent))
   )
   (entmake (list (cons 0 "ENDBLK")))
   (if sel1
      (setq bldata nil)
      (setq bldata (tblnext "BLOCK"))
   )
  )
  (prompt "\nRedfinition complete!")
)&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Nov 2019 15:47:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9122293#M82289</guid>
      <dc:creator>SeeMSixty7</dc:creator>
      <dc:date>2019-11-01T15:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9126643#M82290</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7183096"&gt;@davidkoh007&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;entmod the layer&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You don't need to iterate anything if you are changing the layer properties. Unless you meant entmod the &lt;U&gt;object&lt;/U&gt; on a certain layer ?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 21:32:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9126643#M82290</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2019-11-04T21:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9126817#M82291</link>
      <description>&lt;P&gt;entmod layer (dxf group code &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; of a certain object. nvm i will eventually code it, just didnt have the time to get to it yet&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 23:20:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9126817#M82291</guid>
      <dc:creator>davidkoh007</dc:creator>
      <dc:date>2019-11-04T23:20:48Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9128056#M82292</link>
      <description>&lt;P&gt;If you're using Bricscad, why seek solutions on Autodesk forums?&amp;nbsp; Unless we are using Bricscad, there's no way we even know its command and customization capabilities, although, from looking at its website, it looks like an AutoCAD knock-off. I'm really surprised that the product isn't being sued for copyright infringement.&amp;nbsp; The ribbon looks almost identical to AutoCAD.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 13:19:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9128056#M82292</guid>
      <dc:creator>dbroad</dc:creator>
      <dc:date>2019-11-05T13:19:55Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9128197#M82293</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/411413"&gt;@dbroad&lt;/a&gt;&amp;nbsp;Competition is a good thing IMO. Bricscad is actively developing its product and addressing issues brought up from its users in weeks not years. Should Microsoft have sued Autodesk for using their ribbon idea?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 14:08:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9128197#M82293</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2019-11-05T14:08:45Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9128223#M82294</link>
      <description>Umm, who cares what Bricscad is doing, why post on an Autodesk forum?&lt;BR /&gt;&lt;BR /&gt;They have a healthy forum community with lots of timely answer to their softwares' questions here &lt;A href="https://forum.bricsys.com/" target="_blank"&gt;https://forum.bricsys.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Nov 2019 14:19:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9128223#M82294</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2019-11-05T14:19:26Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9128365#M82295</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Umm, who cares what Bricscad is doing, why post on an Autodesk forum?&lt;BR /&gt;&lt;BR /&gt;They have a healthy forum community with lots of timely answer to their softwares' questions here &lt;A href="https://forum.bricsys.com/" target="_blank" rel="noopener"&gt;https://forum.bricsys.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;WOW&amp;nbsp;... maybe you're right &lt;span class="lia-unicode-emoji" title=":expressionless_face:"&gt;😑&lt;/span&gt;. With that attitude this probably is the wrong place to post. They should have posted at &lt;STRONG&gt;&lt;A href="http://www.theswamp.org/index.php" target="_blank" rel="noopener"&gt;TheSwamp&lt;/A&gt; &lt;/STRONG&gt;or &lt;A href="https://www.cadtutor.net/forum/forum/15-autolisp-visual-lisp-amp-dcl/" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;CADTutor&lt;/STRONG&gt;&lt;/A&gt;. I know plenty of people there will happily solve problems for both AutoCAD and Bricscad.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 15:04:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9128365#M82295</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2019-11-05T15:04:37Z</dc:date>
    </item>
    <item>
      <title>Betreff: entmod the layer</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9137692#M82296</link>
      <description>&lt;P&gt;I came here to debate on a LISP matter because I know this is a friendly and a helpful community, I didn't come here to argue about different software.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 09:28:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/ssget-quot-x-quot-list-cons-8-quot-layername-quot-inside-blocks/m-p/9137692#M82296</guid>
      <dc:creator>davidkoh007</dc:creator>
      <dc:date>2019-11-10T09:28:31Z</dc:date>
    </item>
  </channel>
</rss>

