<?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 Is it possible to &amp;quot;lock&amp;quot; individual elements? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8457918#M156854</link>
    <description>&lt;P&gt;When I am working in another software package, I have the ability to "lock" individual elements, or groups of elements. This comes in handy when I am working in tight quarters, replacing items, and other work more involved that a simple level lock. Not everything I would like to (temporarily) ignore is always on the same level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that possible with AutoCAD? If so, where do I find that command? If not, can anyone suggest a workaround?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MaryB&lt;BR /&gt;AutoCAD Civil3D&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2018 19:24:48 GMT</pubDate>
    <dc:creator>MbMinx</dc:creator>
    <dc:date>2018-12-10T19:24:48Z</dc:date>
    <item>
      <title>Is it possible to "lock" individual elements?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8457918#M156854</link>
      <description>&lt;P&gt;When I am working in another software package, I have the ability to "lock" individual elements, or groups of elements. This comes in handy when I am working in tight quarters, replacing items, and other work more involved that a simple level lock. Not everything I would like to (temporarily) ignore is always on the same level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that possible with AutoCAD? If so, where do I find that command? If not, can anyone suggest a workaround?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MaryB&lt;BR /&gt;AutoCAD Civil3D&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 19:24:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8457918#M156854</guid>
      <dc:creator>MbMinx</dc:creator>
      <dc:date>2018-12-10T19:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to "lock" individual elements?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8457926#M156855</link>
      <description>&lt;P&gt;You&amp;nbsp;can place certain elements and objects on a specific layer or layers and lock that layer or layers.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 19:27:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8457926#M156855</guid>
      <dc:creator>leothebuilder</dc:creator>
      <dc:date>2018-12-10T19:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to "lock" individual elements?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8457942#M156856</link>
      <description>&lt;DIV style="line-height: 1.3em; margin: 15px 100px 100px 65px;"&gt;Without customization, on an element level, no. As&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/661415"&gt;@leothebuilder&lt;/a&gt;&amp;nbsp;said though, you can lock items on a layer level. It's possible with customization to lock entities in place. For example, in Civil 3D, Survey Points are "locked" in place.&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Dec 2018 19:31:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8457942#M156856</guid>
      <dc:creator>rkmcswain</dc:creator>
      <dc:date>2018-12-10T19:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to "lock" individual elements?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8458177#M156857</link>
      <description>&lt;P&gt;What sort of customization?&lt;/P&gt;
&lt;P&gt;That's a shame it can't be done by element. Often the elements I want to lock are on the same layer as the items I want to manipulate (That's why I want to lock them).&lt;/P&gt;
&lt;P&gt;Thank you for confirming to me that it can't be done.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 20:58:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8458177#M156857</guid>
      <dc:creator>MbMinx</dc:creator>
      <dc:date>2018-12-10T20:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to "lock" individual elements?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460442#M156858</link>
      <description>&lt;DIV style="line-height: 1.3em; margin: 15px 100px 100px 65px;"&gt;&amp;nbsp;On a very basic level, using visual lisp, you could create a reactor that monitors the object and if a change is detected, restores the object (properties, location, etc.). &lt;A href="http://cadpanacea.com/wp/?p=971" target="_blank"&gt;Here is an example&lt;/A&gt; of a reactor that monitors a system variable, and restores it if its value is changed. On a more advanced level, I suspect there are more elegant ways of doing this using other languages/APIs. Let's drag&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1206685"&gt;@BlackBox_&lt;/a&gt; into this conversation.&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Dec 2018 16:32:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460442#M156858</guid>
      <dc:creator>rkmcswain</dc:creator>
      <dc:date>2018-12-11T16:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to "lock" individual elements?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460494#M156859</link>
      <description>&lt;P&gt;Check out Lee Mac's object Lock lisp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.lee-mac.com/objectlock.html" target="_blank"&gt;http://www.lee-mac.com/objectlock.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 16:46:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460494#M156859</guid>
      <dc:creator>Jonathan3891</dc:creator>
      <dc:date>2018-12-11T16:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to "lock" individual elements?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460506#M156860</link>
      <description>&lt;P&gt;Not BB, but...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The managed dotNET API has a nifty capability to override how objects are handled, such allowing for a "veto" on certain operations.&amp;nbsp; Like reactors and other advanced customization it requires a very structured approach to avoid self-inflicted problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's a couple of OTHER methods which comes to mind without resorting to reactors/event handling, variations on things I've done (and with only LISP) in the past.&amp;nbsp;&amp;nbsp;Tools for pushing entities to a locked layer and remembering which layer it came from.&amp;nbsp; Or hiding the entities entirely while keeping the same layer with a few tricks to selectively display them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However as noted it's usually easiest to use AutoCAD as AutoCAD *first*, and box up and put away what the other programs can do.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 16:51:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460506#M156860</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2018-12-11T16:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to "lock" individual elements?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460515#M156861</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/274358"&gt;@rkmcswain&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV style="line-height: 1.3em; margin: 15px 100px 100px 65px;"&gt;&amp;nbsp;On a very basic level, using visual lisp, you could create a reactor that monitors the object and if a change is detected, restores the object (properties, location, etc.). &lt;A href="http://cadpanacea.com/wp/?p=971" target="_blank"&gt;Here is an example&lt;/A&gt; of a reactor that monitors a system variable, and restores it if its value is changed. On a more advanced level, I suspect there are more elegant ways of doing this using other languages/APIs. Let's drag&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1206685"&gt;@BlackBox_&lt;/a&gt; into this conversation.&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sure &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/274358"&gt;@rkmcswain&lt;/a&gt;, one could implement a .NET Object Overrule to effectively 'lock' entity-specific elements (aka Properties, such as:&amp;nbsp;Layer, Color, Linetype, etc), conditionally storing the 'monitored' elements (Properties) on DBObject.Open() and restoring them on DBObject.Close(), where a custom system variable determines which elements (Properties) the user wants to 'lock'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Edit] - Here's my most recent example of using an Object Overrule; see the link in this post:&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/civil-3d-forum/is-it-possible-to-turn-off-the-new-viewport-grips/m-p/8267546#M380889" target="_blank"&gt;https://forums.autodesk.com/t5/civil-3d-forum/is-it-possible-to-turn-off-the-new-viewport-grips/m-p/8267546#M380889&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Despite that, I wonder if&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/538193"&gt;@MbMinx&lt;/a&gt;&amp;nbsp;has considered using ISOLATEOBJECTS and&amp;nbsp;UNISOLATEOBJECTS Commands to do what they're after?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 16:58:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460515#M156861</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2018-12-11T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to "lock" individual elements?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460571#M156862</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/253793"&gt;@dgorsman&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Not BB, but...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;... Vastly superior. FTFY :beer:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a strange bird, with&amp;nbsp;only one real skill.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Spoilers: it's not coding)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 17:05:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/is-it-possible-to-quot-lock-quot-individual-elements/m-p/8460571#M156862</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2018-12-11T17:05:18Z</dc:date>
    </item>
  </channel>
</rss>

