<?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: Dynamic Block with associative hatch in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10030371#M17551</link>
    <description>&lt;P&gt;Could it be a system variable setting?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2021 23:48:30 GMT</pubDate>
    <dc:creator>SRSDS</dc:creator>
    <dc:date>2021-01-25T23:48:30Z</dc:date>
    <item>
      <title>Dynamic Block with associative hatch</title>
      <link>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10023207#M17549</link>
      <description>&lt;P&gt;I have a problem getting the associative hatch of a dynamic block to update programatically.&lt;/P&gt;&lt;P&gt;They update when manually adjusting a grip stretch or modifying block dimensions using the properties palette so it's not a problem with the block.&lt;/P&gt;&lt;P&gt;It's a block with parameter constraints. Not sure if that's part of the problem.&lt;/P&gt;&lt;P&gt;I've attached an example of the type of block I have a problem with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there code that might help kick hatches into position?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 18:03:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10023207#M17549</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2021-01-22T18:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block with associative hatch</title>
      <link>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10029663#M17550</link>
      <description>&lt;P&gt;Something very odd here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Norman Yuan posted code to test a dynamic block with an associated hatch.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/net/insert-dynamic-block-with-hatch/m-p/9923684" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/net/insert-dynamic-block-with-hatch/m-p/9923684&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you Norman. Wondered if it had something to do with locking a document.&lt;/P&gt;&lt;P&gt;I tested it on my home PC.&lt;/P&gt;&lt;P&gt;The block behaved using that code but there was still something wrong with my code.&lt;/P&gt;&lt;P&gt;Went to work.&amp;nbsp;My code was now working which left me really confused.&lt;/P&gt;&lt;P&gt;Wondered if AutoDesk had pushed an update to fix the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm now back home on my home PC and seeing the original problem.&lt;/P&gt;&lt;P&gt;I remotely hooked into my work PC to double check and my work PC is behaving differently to my home PC.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;AutoCAD version&lt;/LI&gt;&lt;LI&gt;Visual Studio version&lt;/LI&gt;&lt;LI&gt;Visual Studio project (Dropbox)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Something is amiss.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 18:51:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10029663#M17550</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2021-01-25T18:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block with associative hatch</title>
      <link>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10030371#M17551</link>
      <description>&lt;P&gt;Could it be a system variable setting?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 23:48:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10030371#M17551</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2021-01-25T23:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block with associative hatch</title>
      <link>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10039812#M17552</link>
      <description>&lt;P&gt;Two computers at my work behave as expected, four don't. I copied the system variables between computers. Same graphics cards on computers that do and don't work. Still at a complete loss at how that could be. Makes no sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I have found is that the hatches do update if a CommandMethod is used. I was using a timer in a pallete.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 20:30:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10039812#M17552</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2021-01-28T20:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block with associative hatch</title>
      <link>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10546546#M17553</link>
      <description>&lt;P&gt;Did you manage to fix your problem? How did you do it in timer?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Aug 2021 09:22:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10546546#M17553</guid>
      <dc:creator>alexisgacia</dc:creator>
      <dc:date>2021-08-15T09:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block with associative hatch</title>
      <link>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10548271#M17554</link>
      <description>&lt;P&gt;I think so. By using SendStringToExecute a CommandMethod.&lt;/P&gt;&lt;P&gt;The timer is irrelevent. I use a timer to limit the number of times this is code is triggered when typing into a text box.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 09:04:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/10548271#M17554</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2021-08-16T09:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Block with associative hatch</title>
      <link>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/11222543#M17555</link>
      <description>&lt;P&gt;Hi so I think I found the issue it relates to the AutoCAD not being able to update the hatch graphics in time, when changes are made to the dynamic block programmatically. Every time you make a change to the dynamic block may it be transforming it, or changing a&amp;nbsp;DynamicBlockReferenceProperty variable, run this snippet of code "acCurDb.TransactionManager.QueueForGraphicsFlush();" this will update the block graphics and it ensure that it displays correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 17:18:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/dynamic-block-with-associative-hatch/m-p/11222543#M17555</guid>
      <dc:creator>agabouryVN5EB</dc:creator>
      <dc:date>2022-06-08T17:18:46Z</dc:date>
    </item>
  </channel>
</rss>

