<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Комментарии на: Отключение online-доступа для AutoCAD 2015</title>
	<atom:link href="https://autolisp.ru/2014/07/01/no-online-cad2015/feed/" rel="self" type="application/rss+xml" />
	<link>https://autolisp.ru/2014/07/01/no-online-cad2015/</link>
	<description>LISP для AutoCAD</description>
	<lastBuildDate>Tue, 24 Feb 2026 16:11:05 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
	<item>
		<title>От: Кулик Алексей aka kpblc</title>
		<link>https://autolisp.ru/2014/07/01/no-online-cad2015/comment-page-1/#comment-53104</link>
		<dc:creator><![CDATA[Кулик Алексей aka kpblc]]></dc:creator>
		<pubDate>Mon, 08 Sep 2014 12:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://autolisp.ru/?p=2312#comment-53104</guid>
		<description><![CDATA[Н-да, переменная ReadOnly... Можно попробовать просто заменить (setvar &quot;onlinedocmode&quot; 0) прямой записью в реестр. Но тогда понадобится после этого перезапускать AutoCAD. Сейчас нет никакой возможности подробно прорабатывать, поэтому такой вот &quot;эрзац&quot; нарисовался:
[cc lang=&quot;cadlisp&quot;](vl-load-com)

(defun no-online-sync (/ hive key cloud need_restart)
  (if (getvar &quot;onlinedocmode&quot;)
    (foreach subkey (vl-registry-descendents
                      (setq key (strcat &quot;HKEY_CURRENT_USER\\&quot; (vlax-product-key) &quot;\\WebUsers&quot;))
                      nil
                      ) ;_ end of vl-registry-descendents
      (if (and (setq cloud (vl-registry-read (strcat key &quot;\\&quot; subkey) &quot;CloudDefaultMode&quot;))
               (/= cloud 0)
               ) ;_ end of and
        (progn
          (vl-registry-write (strcat key &quot;\\&quot; subkey) &quot;CloudDefaultMode&quot; 0)
          (setq need_restart t)
          ) ;_ end of progn
        ) ;_ end of if
      ) ;_ end of foreach
    ) ;_ end of if
  (if (vl-registry-read
        (setq hive (strcat &quot;HKEY_CURRENT_USER\\&quot;
                           (vlax-product-key)
                           &quot;\\Variables&quot;
                           ) ;_ end of strcat
              ) ;_ end of setq
        (setq key &quot;ONLINESETTINGSSYNC&quot;)
        ) ;_ end of vl-registry-read
    (progn
      (vl-registry-delete hive key)
      (foreach subhive (vl-registry-descendents
                         (setq hive (strcat &quot;HKEY_CURRENT_USER\\&quot;
                                            (vlax-product-key)
                                            &quot;\\WebUsers&quot;
                                            ) ;_ end of strcat
                               ) ;_ end of setq
                         nil
                         ) ;_ end of vl-registry-descendents
        (if (and (setq cloud (vl-registry-read (strcat hive &quot;\\&quot; subhive) &quot;OnlineSettingsSync&quot;))
                 (/= cloud 0)
                 ) ;_ end of and
          (progn
            (setq need_restart t)
            (vl-registry-write (strcat hive &quot;\\&quot; subhive) &quot;OnlineSettingsSync&quot; 0)
            ) ;_ end of progn
          ) ;_ end of if
        ) ;_ end of foreach
      ) ;_ end of progn
    ) ;_ end of if

  (if need_restart
    (alert &quot;Перезапустите AutoCAD!&quot;)
    ) ;_ end of if
  ) ;_ end of defun

(no-online-sync)[/cc]]]></description>
		<content:encoded><![CDATA[<p>Н-да, переменная ReadOnly... Можно попробовать просто заменить (setvar "onlinedocmode" 0) прямой записью в реестр. Но тогда понадобится после этого перезапускать AutoCAD. Сейчас нет никакой возможности подробно прорабатывать, поэтому такой вот "эрзац" нарисовался:</p>
<div class="codecolorer-container cadlisp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br /></div></td><td><div class="cadlisp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">vl-load-com</span><span style="color: #66cc66;">&#41;</span><br />
<br />
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">defun</span> no<span style="color: #66cc66;">-</span>online<span style="color: #66cc66;">-</span>sync <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">/</span> hive key cloud need_restart<span style="color: #66cc66;">&#41;</span><br />
&nbsp; <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">getvar</span> <span style="color: #ff0000;">&quot;onlinedocmode&quot;</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">foreach</span> subkey <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">vl-registry-descendents</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> key <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">strcat</span> <span style="color: #ff0000;">&quot;HKEY_CURRENT_USER<span style="color: #000099; font-weight: bold;">\&quot;</span> (vlax-product-key) &quot;</span>\\WebUsers<span style="color: #ff0000;">&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nil<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ) ;_ end of vl-registry-descendents<br />
&nbsp; &nbsp; &nbsp; (if (and (setq cloud (vl-registry-read (strcat key &quot;</span>\<span style="color: #ff0000;">&quot; subkey) &quot;</span>CloudDefaultMode<span style="color: #ff0000;">&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(/= cloud 0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;) ;_ end of and<br />
&nbsp; &nbsp; &nbsp; &nbsp; (progn<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (vl-registry-write (strcat key &quot;</span>\<span style="color: #ff0000;">&quot; subkey) &quot;</span>CloudDefaultMode<span style="color: #ff0000;">&quot; 0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (setq need_restart t)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ) ;_ end of progn<br />
&nbsp; &nbsp; &nbsp; &nbsp; ) ;_ end of if<br />
&nbsp; &nbsp; &nbsp; ) ;_ end of foreach<br />
&nbsp; &nbsp; ) ;_ end of if<br />
&nbsp; (if (vl-registry-read<br />
&nbsp; &nbsp; &nbsp; &nbsp; (setq hive (strcat &quot;</span>HKEY_CURRENT_USER\<span style="color: #ff0000;">&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(vlax-product-key)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;</span>\\Variables<span style="color: #ff0000;">&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;) ;_ end of strcat<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ) ;_ end of setq<br />
&nbsp; &nbsp; &nbsp; &nbsp; (setq key &quot;</span>ONLINESETTINGSSYNC<span style="color: #ff0000;">&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ) ;_ end of vl-registry-read<br />
&nbsp; &nbsp; (progn<br />
&nbsp; &nbsp; &nbsp; (vl-registry-delete hive key)<br />
&nbsp; &nbsp; &nbsp; (foreach subhive (vl-registry-descendents<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(setq hive (strcat &quot;</span>HKEY_CURRENT_USER\<span style="color: #ff0000;">&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (vlax-product-key)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;</span>\\WebUsers<span style="color: #ff0000;">&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ) ;_ end of strcat<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;) ;_ end of setq<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nil<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;) ;_ end of vl-registry-descendents<br />
&nbsp; &nbsp; &nbsp; &nbsp; (if (and (setq cloud (vl-registry-read (strcat hive &quot;</span>\<span style="color: #ff0000;">&quot; subhive) &quot;</span>OnlineSettingsSync<span style="color: #ff0000;">&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(/= cloud 0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;) ;_ end of and<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (progn<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (setq need_restart t)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (vl-registry-write (strcat hive &quot;</span>\<span style="color: #ff0000;">&quot; subhive) &quot;</span>OnlineSettingsSync<span style="color: #ff0000;">&quot; 0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ) ;_ end of progn<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ) ;_ end of if<br />
&nbsp; &nbsp; &nbsp; &nbsp; ) ;_ end of foreach<br />
&nbsp; &nbsp; &nbsp; ) ;_ end of progn<br />
&nbsp; &nbsp; ) ;_ end of if<br />
<br />
&nbsp; (if need_restart<br />
&nbsp; &nbsp; (alert &quot;</span>Перезапустите AutoCAD<span style="color: #66cc66;">!</span><span style="color: #ff0000;">&quot;)<br />
&nbsp; &nbsp; ) ;_ end of if<br />
&nbsp; ) ;_ end of defun<br />
<br />
(no-online-sync)</span></div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>От: Дмитрий</title>
		<link>https://autolisp.ru/2014/07/01/no-online-cad2015/comment-page-1/#comment-53103</link>
		<dc:creator><![CDATA[Дмитрий]]></dc:creator>
		<pubDate>Mon, 08 Sep 2014 11:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://autolisp.ru/?p=2312#comment-53103</guid>
		<description><![CDATA[Добрый день.
Как можно проверить правильно ли сработал код?
в командной строке я вижу следующее:

[cc lang=&quot;lisp&quot;]
Acad2015OnlineCloudDisable.lsp успешно загружено.
Команда:
Команда:
Команда:
Команда: ; ошибка: Настройка переменной AutoCAD отвергнута: &quot;onlinedocmode&quot; 0
[/cc]]]></description>
		<content:encoded><![CDATA[<p>Добрый день.<br />
Как можно проверить правильно ли сработал код?<br />
в командной строке я вижу следующее:</p>
<div class="codecolorer-container lisp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="lisp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">Acad2015OnlineCloudDisable<span style="color: #66cc66;">.</span>lsp успешно загружено<span style="color: #66cc66;">.</span><br />
Команда<span style="color: #66cc66;">:</span><br />
Команда<span style="color: #66cc66;">:</span><br />
Команда<span style="color: #66cc66;">:</span><br />
Команда<span style="color: #66cc66;">:</span> <span style="color: #808080; font-style: italic;">; ошибка: Настройка переменной AutoCAD отвергнута: &quot;onlinedocmode&quot; 0</span></div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
</channel>
</rss>
