<?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: How to set the constrain types of AutoConstrain command programmactically? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-set-the-constrain-types-of-autoconstrain-command/m-p/13054001#M3494</link>
    <description>&lt;P&gt;You can use objectid directly in a command function without putting it in a resultbuffer&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 07:20:10 GMT</pubDate>
    <dc:creator>1742647821</dc:creator>
    <dc:date>2024-09-30T07:20:10Z</dc:date>
    <item>
      <title>How to set the constrain types of AutoConstrain command programmactically?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-set-the-constrain-types-of-autoconstrain-command/m-p/12859176#M3493</link>
      <description>&lt;P&gt;I programmed to use the AutoConstrain command, but I am having issues with setting the types of constraints that can be applied or not using the ConstrainSetting command in the AutoConstrain tab.&amp;nbsp;&lt;SPAN&gt;Can anyone help me out to set the types programmactically?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ResultBuffer rb = new ResultBuffer();&lt;BR /&gt;foreach (Entity entity in entityCollection)&lt;BR /&gt;{&lt;BR /&gt;rb.Add(new TypedValue((short)LispDataType.ObjectId, entity.ObjectId));&lt;BR /&gt;}&lt;BR /&gt;if(rb.AsArray().Length &amp;gt; 0)&lt;BR /&gt;{&lt;BR /&gt;ed.Command("_.AutoConstrain", rb, "");&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 02:14:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-set-the-constrain-types-of-autoconstrain-command/m-p/12859176#M3493</guid>
      <dc:creator>BFS_</dc:creator>
      <dc:date>2024-06-25T02:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the constrain types of AutoConstrain command programmactically?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-set-the-constrain-types-of-autoconstrain-command/m-p/13054001#M3494</link>
      <description>&lt;P&gt;You can use objectid directly in a command function without putting it in a resultbuffer&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 07:20:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-set-the-constrain-types-of-autoconstrain-command/m-p/13054001#M3494</guid>
      <dc:creator>1742647821</dc:creator>
      <dc:date>2024-09-30T07:20:10Z</dc:date>
    </item>
  </channel>
</rss>

