<?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: layfrz BLOCK &amp;amp; ENTITY in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002471#M84644</link>
    <description>&lt;P&gt;thanks yes this is what i want.&lt;/P&gt;&lt;P&gt;can i merge some lisp together? as i can not load more lisp commands. or is there any way to increase the limit of lisp commands to be loaded at startup?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2019 07:34:48 GMT</pubDate>
    <dc:creator>SAFizzy</dc:creator>
    <dc:date>2019-09-03T07:34:48Z</dc:date>
    <item>
      <title>layfrz BLOCK &amp; ENTITY</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002291#M84642</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can some one do a quick favor for me?&lt;/P&gt;&lt;P&gt;i am using layfrz command frequently but some time i need to frz full block/exref &amp;amp; some time only entity. but every time i have to change the setting for freezing entity and block. can some one make lisp with both options with 2 different commands.&amp;nbsp; like if i press 3, It frz entity and if i press 33, it frz block&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 06:02:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002291#M84642</guid>
      <dc:creator>SAFizzy</dc:creator>
      <dc:date>2019-09-03T06:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: layfrz BLOCK &amp; ENTITY</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002422#M84643</link>
      <description>&lt;P&gt;Do you need this.......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun c:33 nil
  (command "_.LAYFRZ" "_S" "_B" "_B")
  (princ)
)

(defun c:3 nil
  (command "_.LAYFRZ" "_S" "_B" "_E")
  (princ)
)&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Sep 2019 07:15:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002422#M84643</guid>
      <dc:creator>dbhunia</dc:creator>
      <dc:date>2019-09-03T07:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: layfrz BLOCK &amp; ENTITY</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002471#M84644</link>
      <description>&lt;P&gt;thanks yes this is what i want.&lt;/P&gt;&lt;P&gt;can i merge some lisp together? as i can not load more lisp commands. or is there any way to increase the limit of lisp commands to be loaded at startup?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 07:34:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002471#M84644</guid>
      <dc:creator>SAFizzy</dc:creator>
      <dc:date>2019-09-03T07:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: layfrz BLOCK &amp; ENTITY</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002542#M84645</link>
      <description>&lt;P&gt;one of the easiest way go through the "Startup Suite"........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where you can add multiple LISP, which you want to load with every drawings.......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Watch the video.......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 07:58:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002542#M84645</guid>
      <dc:creator>dbhunia</dc:creator>
      <dc:date>2019-09-03T07:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: layfrz BLOCK &amp; ENTITY</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002578#M84646</link>
      <description>&lt;P&gt;i already added in my startup suit and now its too many to load all. that's why i wanted to merge few of them, so i can get all custom commands. i don't want to load few and ignore others.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 08:14:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002578#M84646</guid>
      <dc:creator>SAFizzy</dc:creator>
      <dc:date>2019-09-03T08:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: layfrz BLOCK &amp; ENTITY</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002619#M84647</link>
      <description>&lt;P&gt;Ok.......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then&amp;nbsp;&lt;SPAN&gt;Find &lt;FONT color="#0000FF"&gt;acad&amp;lt;version&amp;gt;doc.lsp&lt;/FONT&gt; file in your system......... (like&lt;FONT color="#0000FF"&gt; acad2019doc.lsp/acad2018doc.lsp/.........&lt;/FONT&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and put the 1 line (for each LISP) at the end......&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;(load "LISP File path")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Like.......&lt;/P&gt;&lt;P&gt;(load "C:\\Users\\............\\XXX\\3.lsp")&lt;BR /&gt;(load "C:\\Users\\............\\XXX\\33.lsp")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 08:36:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9002619#M84647</guid>
      <dc:creator>dbhunia</dc:creator>
      <dc:date>2019-09-03T08:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: layfrz BLOCK &amp; ENTITY</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9004401#M84648</link>
      <description>Startup suite is a poor-man's way to load customization files.&lt;BR /&gt;Exporting the list to a newer version and total file count are 2 reasons.&lt;BR /&gt;&lt;BR /&gt;Instead, create a "Master_Utility.lsp" file that has contents inside&lt;BR /&gt;as described inside message #6. In a nutshell, place the newly&lt;BR /&gt;created LSP file in a dedicated folder and add the corresponding&lt;BR /&gt;line inside the master utility file and you are good to go for the next&lt;BR /&gt;session. Portability is on your side using this method.&lt;BR /&gt;&lt;BR /&gt;Use ACADDOC.lsp to load the master utility (not the file with the version number).&lt;BR /&gt;&lt;BR /&gt;Place both the master utility and the ACADDOC file in a Support File Search Path.&lt;BR /&gt;A path in the trusted locations should also be checked.&lt;BR /&gt;&lt;BR /&gt;Alternate is to declare lisp files inside the CUI.&lt;BR /&gt;&lt;BR /&gt;There are additional hints and alternates if one uses the search feature&lt;BR /&gt;as this topic is one of the more frequently asked items on this board.&lt;BR /&gt;&lt;BR /&gt;???&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Sep 2019 22:24:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9004401#M84648</guid>
      <dc:creator>scot-65</dc:creator>
      <dc:date>2019-09-03T22:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: layfrz BLOCK &amp; ENTITY</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9495747#M84649</link>
      <description>&lt;P&gt;My option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values of the LAYFRZ commands are stored in the register. What I do is read the actual option, then change the value of the register to what i want. After that, I restore the value it had before.&lt;/P&gt;&lt;P&gt;The value are stored (autocad 2017) in&amp;nbsp; "HKEY_CURRENT_USER\\\Software\\Autodesk\\&amp;lt;CurProd&amp;gt;\\&amp;lt;CurVer&amp;gt;\\&amp;lt;CurVer&amp;gt;\\Profiles\\&amp;lt;user profile&amp;gt;\\Dialogs\\LayerTools". In this program I only use the "FRZ_BlockNesting" variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;; VARIABLES:&lt;BR /&gt;;; "FRZ_BlockNesting" = "0" [NONE]&lt;BR /&gt;;; "FRZ_BlockNesting" = "1" [BLOCK]&lt;BR /&gt;;; "FRZ_BlockNesting" = "2" [ENTITY]&lt;/P&gt;&lt;P&gt;;;; ***************************&lt;BR /&gt;;;; INUB - inutiliza por bloque-bloque (LAYFRZ option block-block)&lt;/P&gt;&lt;P&gt;(defun c:inub ( / key block_flag)&lt;BR /&gt;(setq key (read-reg))&lt;BR /&gt;(setq block_flag (vl-registry-read key "FRZ_BlockNesting"))&lt;BR /&gt;(vl-registry-write key "FRZ_BlockNesting" "1")&lt;BR /&gt;(WHILE (command "_.LAYFRZ"))&lt;BR /&gt;(vl-registry-write key "FRZ_BlockNesting" block_flag)&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;;;; ***************************&lt;BR /&gt;;; INUE - inutiliza por bloque-entidad (LAYFRZ option block-entity)&lt;BR /&gt;(defun c:inue ( / key block_flag)&lt;BR /&gt;(setq key (read-reg))&lt;BR /&gt;(setq block_flag (vl-registry-read key "FRZ_BlockNesting"))&lt;BR /&gt;(vl-registry-write key "FRZ_BlockNesting" "2")&lt;BR /&gt;(WHILE (command "_.LAYFRZ" "\\"))&lt;BR /&gt;(vl-registry-write key "FRZ_BlockNesting" block_flag)&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;;;; ***************************&lt;BR /&gt;; INUN - inutiliza bloque-ninguno (LAYFRZ option block-none)&lt;BR /&gt;(defun c:inun ( / key block_flag block_flagr)&lt;BR /&gt;(setq key (read-reg))&lt;BR /&gt;(setq block_flag (vl-registry-read key "FRZ_BlockNesting"))&lt;BR /&gt;(vl-registry-write key "FRZ_BlockNesting" "0")&lt;BR /&gt;(WHILE (command "_.LAYFRZ" "\\"))&lt;BR /&gt;(vl-registry-write key "FRZ_BlockNesting" block_flag)&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun read-reg ( / reg-dir key2 block_flag viewport_flag user_profile)&lt;BR /&gt;(setq reg-dir "HKEY_CURRENT_USER\\\Software\\Autodesk")&lt;BR /&gt;(setq reg-dir (strcat reg-dir "\\" (vl-registry-read reg-dir "CurProd")))&lt;BR /&gt;(setq reg-dir (strcat reg-dir "\\" (vl-registry-read reg-dir "CurVer")))&lt;BR /&gt;(setq reg-dir (strcat reg-dir "\\" (vl-registry-read reg-dir "CurVer")))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(setq user_profile (vl-registry-read (strcat reg-dir "\\Profiles")))&lt;BR /&gt;(setq key2 (strcat reg-dir "\\Profiles" "\\" user_profile))&lt;BR /&gt;(setq key2 (strcat key2 "\\Dialogs\\LayerTools"))&lt;BR /&gt;(setq viewport_flag (vl-registry-read key2 "FRZ_Vpfreeze"))&lt;BR /&gt;(setq block_flag (vl-registry-read key2 "FRZ_BlockNesting"))&lt;BR /&gt;(princ key2)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 10:56:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/layfrz-block-amp-entity/m-p/9495747#M84649</guid>
      <dc:creator>pbelon</dc:creator>
      <dc:date>2020-05-06T10:56:07Z</dc:date>
    </item>
  </channel>
</rss>

