<?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: Disable geometry editing in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9512267#M19624</link>
    <description>&lt;P&gt;Any hint, even "There is no way to do this" would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tamara Popovic&lt;/P&gt;</description>
    <pubDate>Wed, 13 May 2020 09:12:33 GMT</pubDate>
    <dc:creator>tamara</dc:creator>
    <dc:date>2020-05-13T09:12:33Z</dc:date>
    <item>
      <title>Disable geometry editing</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9506469#M19623</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there any way to prevent geometry editing in drawing, but still maintain other properties of an object to stay editable using C#?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Popovic Tamara&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 12:06:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9506469#M19623</guid>
      <dc:creator>tamara</dc:creator>
      <dc:date>2020-05-11T12:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disable geometry editing</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9512267#M19624</link>
      <description>&lt;P&gt;Any hint, even "There is no way to do this" would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tamara Popovic&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 09:12:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9512267#M19624</guid>
      <dc:creator>tamara</dc:creator>
      <dc:date>2020-05-13T09:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Disable geometry editing</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9512428#M19625</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;&amp;gt;&amp;gt; prevent geometry editing&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Could be solved by locking layers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;&amp;gt;&amp;gt; maintain other properties of an object to stay editable&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;What is meant by that?&lt;/P&gt;
&lt;P&gt;Not editing the geometry, but in the property window modify line-start point should work?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 10:26:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9512428#M19625</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2020-05-13T10:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disable geometry editing</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9512923#M19626</link>
      <description>&lt;P&gt;You can use ObjectOverrule to achieve your goal by properly overriding the Open()/Close() methods. I posted 2 articles on ObjectOverrule a few years back: &lt;A href="https://drive-cad-with-code.blogspot.com/2012/03/using-objectoverrule-to-prevent-entity.html" target="_blank" rel="noopener"&gt;one&lt;/A&gt; was about how to prevent entity to be changed/modified/erased; &lt;A href="https://drive-cad-with-code.blogspot.com/2014/08/using-objectoverrule-to-force-entities.html" target="_blank" rel="noopener"&gt;the other&lt;/A&gt; was about to force entity being only changed in certain way (geometrically).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After seeing your question, I thought it would be doable with ObjectOverrule to make certain properties of an entity not changeable, while other properties changeable. I have put together some testing code completed as of now, I'll post it in my blog later (today, or tomorrow, if I can manage some time). I'll provide link to my post here once it published.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not know the context of your user case of when/why you want to disable geometry (or any other non-geometry property, for that matter), I'd be careful that Overrule is not overused/abused. I tend to only enable custom Overrule when a particular process/operation needs it and disable it when that process/operation is done, within an AutoCAD session.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 13:30:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9512923#M19626</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2020-05-13T13:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Disable geometry editing</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9513983#M19627</link>
      <description>&lt;P&gt;Please see my article here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://drive-cad-with-code.blogspot.com/2020/05/prevent-certain-properties-of-entity.html" target="_blank" rel="noopener"&gt;https://drive-cad-with-code.blogspot.com/2020/05/prevent-certain-properties-of-entity.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 19:45:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9513983#M19627</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2020-05-13T19:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disable geometry editing</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9515114#M19628</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/389680"&gt;@Alfred.NESWADBA&lt;/a&gt;&amp;nbsp;locking layers is not applicable in our case, because we need other non-geometric properties to stay editable.&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp;, thank you very much for your examples.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are building a plugin for road GIS, and our client wants to have geometry locked so that it cannot be edited. But we also have some custom properties added to objects that must be allowed to be edited (custom OPM properties). We will take a look at your code and see if we can modify it so that it suits our needs. I will report the results &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tamara Popovic&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 07:55:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9515114#M19628</guid>
      <dc:creator>tamara</dc:creator>
      <dc:date>2020-05-14T07:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Disable geometry editing</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9516049#M19629</link>
      <description>&lt;P&gt;Well, as I said in previous reply, if your purpose is to lock data not to be changed by others, who is not in the process of creating the drawing content, I'd think using Overrule is a bit of mis-use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, you indicated that the said client is allowed to change some data in the drawing (be your custom data or not), if you do use the Overrule approach as I described, then you have to bear the burden of making sure the said client loads your DLL plugin into their AutoCAD, which, seems to me, is already an requirement to your client (using your custom OPM properties) anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 13:28:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-geometry-editing/m-p/9516049#M19629</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2020-05-14T13:28:10Z</dc:date>
    </item>
  </channel>
</rss>

