<?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: What exactly does the block table record in model space contain? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/what-exactly-does-the-block-table-record-in-model-space-contain/m-p/10757259#M14632</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Like all other &lt;A href="https://help.autodesk.com/view/OARX/2019/ENU/?guid=OREFNET-Autodesk_AutoCAD_DatabaseServices_BlockTableRecord" target="_blank" rel="noopener"&gt;BlockTabeRecord&lt;/A&gt; instances, the ModelSpace is a container for Entity instances and it only contains entities. Beside that, like the ¨paper space &lt;A href="https://help.autodesk.com/view/OARX/2019/ENU/?guid=OREFNET-Autodesk_AutoCAD_DatabaseServices_BlockTableRecord" target="_blank" rel="noopener"&gt;BlockTabeRecord&lt;/A&gt; instances it has a link to a Layout object which is mainly a plot configuration.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 06:52:56 GMT</pubDate>
    <dc:creator>_gile</dc:creator>
    <dc:date>2021-11-15T06:52:56Z</dc:date>
    <item>
      <title>What exactly does the block table record in model space contain?</title>
      <link>https://forums.autodesk.com/t5/net-forum/what-exactly-does-the-block-table-record-in-model-space-contain/m-p/10757024#M14631</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What exactly does the block table record in model space contain?&lt;BR /&gt;What else is there besides entity? How to judge its type?&lt;BR /&gt;Is there any article on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using (var tr = dbNow.TransactionManager.StartTransaction())
{
BlockTable bt = tr.GetObject(dbNow.BlockTableId, OpenMode.ForRead) as BlockTable;
BlockTableRecord btrSpace = tr.GetObject(bt[BlockTableRecord.ModelSpace], OpenMode.ForRead) as BlockTableRecord;

foreach (ObjectId id in btrSpace)
{
		Entity ent = null;

		try
		{
			ent = tr.GetObject(id, OpenMode.ForRead) as Entity;
		}
		catch
		{
			continue;
		}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 03:02:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/what-exactly-does-the-block-table-record-in-model-space-contain/m-p/10757024#M14631</guid>
      <dc:creator>swaywood</dc:creator>
      <dc:date>2021-11-15T03:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: What exactly does the block table record in model space contain?</title>
      <link>https://forums.autodesk.com/t5/net-forum/what-exactly-does-the-block-table-record-in-model-space-contain/m-p/10757259#M14632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Like all other &lt;A href="https://help.autodesk.com/view/OARX/2019/ENU/?guid=OREFNET-Autodesk_AutoCAD_DatabaseServices_BlockTableRecord" target="_blank" rel="noopener"&gt;BlockTabeRecord&lt;/A&gt; instances, the ModelSpace is a container for Entity instances and it only contains entities. Beside that, like the ¨paper space &lt;A href="https://help.autodesk.com/view/OARX/2019/ENU/?guid=OREFNET-Autodesk_AutoCAD_DatabaseServices_BlockTableRecord" target="_blank" rel="noopener"&gt;BlockTabeRecord&lt;/A&gt; instances it has a link to a Layout object which is mainly a plot configuration.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 06:52:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/what-exactly-does-the-block-table-record-in-model-space-contain/m-p/10757259#M14632</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2021-11-15T06:52:56Z</dc:date>
    </item>
  </channel>
</rss>

