<?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: handle re-entered when use propertygrid to show blocktablerecord but no error to show blocktable in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/handle-re-entered-when-use-propertygrid-to-show-blocktablerecord/m-p/11832900#M9586</link>
    <description>&lt;P&gt;anybody,any new idea?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 04:29:14 GMT</pubDate>
    <dc:creator>275171906</dc:creator>
    <dc:date>2023-03-20T04:29:14Z</dc:date>
    <item>
      <title>handle re-entered when use propertygrid to show blocktablerecord but no error to show blocktable</title>
      <link>https://forums.autodesk.com/t5/net-forum/handle-re-entered-when-use-propertygrid-to-show-blocktablerecord/m-p/11822052#M9584</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
        {
            var tn = treeView1.SelectedNode;
            var tg = tn.Tag;
            using (DocumentLock loc = Env.ActiveDocument.LockDocument())
            {
                using (Transaction tr = Env.ActiveDatabase.TransactionManager.StartTransaction())
                {
                    if (tg is BlockTableRecord)
                    {
                        BlockTableRecord btr = tr.GetObject((tg as BlockTableRecord).Id, OpenMode.ForWrite) as BlockTableRecord;                       
                    }
                    if (tg is BlockTable)
                    {
                        BlockTable bt = tr.GetObject((tg as BlockTable).Id, OpenMode.ForWrite) as BlockTable;                       
                    }
                    propertyGrid1.SelectedObject = tg;
                    tr.Commit();
                }
            }           
        }&lt;/LI-CODE&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;&lt;P&gt;handle re-entered when use propertygrid to show blocktablerecord：&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QQ图片20230315120815.png" style="width: 701px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1188807i6180AF6F4288D2FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ图片20230315120815.png" alt="QQ图片20230315120815.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no error to show datatable&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 709px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1188808i75A7003C5D3D15B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 04:10:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/handle-re-entered-when-use-propertygrid-to-show-blocktablerecord/m-p/11822052#M9584</guid>
      <dc:creator>275171906</dc:creator>
      <dc:date>2023-03-15T04:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: handle re-entered when use propertygrid to show blocktablerecord but no error to show blocktable</title>
      <link>https://forums.autodesk.com/t5/net-forum/handle-re-entered-when-use-propertygrid-to-show-blocktablerecord/m-p/11828165#M9585</link>
      <description>&lt;P&gt;Can Anybody help?&lt;/P&gt;&lt;P&gt;I use a third party control (devexpress winform trial:propertyGridControl) and everything go well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:16:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/handle-re-entered-when-use-propertygrid-to-show-blocktablerecord/m-p/11828165#M9585</guid>
      <dc:creator>275171906</dc:creator>
      <dc:date>2023-03-17T10:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: handle re-entered when use propertygrid to show blocktablerecord but no error to show blocktable</title>
      <link>https://forums.autodesk.com/t5/net-forum/handle-re-entered-when-use-propertygrid-to-show-blocktablerecord/m-p/11832900#M9586</link>
      <description>&lt;P&gt;anybody,any new idea?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 04:29:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/handle-re-entered-when-use-propertygrid-to-show-blocktablerecord/m-p/11832900#M9586</guid>
      <dc:creator>275171906</dc:creator>
      <dc:date>2023-03-20T04:29:14Z</dc:date>
    </item>
  </channel>
</rss>

