<?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: Breaking a table? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/10378141#M24338</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp; could you please help me with how you added the tables to the layout? I have created the tables in the modelspace and now I would like to copy/move them to the layout I created?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jun 2021 05:15:57 GMT</pubDate>
    <dc:creator>priya.mishraTPDMG</dc:creator>
    <dc:date>2021-06-10T05:15:57Z</dc:date>
    <item>
      <title>Breaking a table?</title>
      <link>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/8389465#M24336</link>
      <description>&lt;P&gt;My program generates a table and everything is working correctly. Now what I need to do is if the table exceeds a certain length i need to break it into two parts so it can be continued on the next page. I haven't been able to find any good examples online, i only found 2 previous threads so far where it was being discussed and so far their solution isn't working for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the relevant part of my code as of now -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (lineCount &amp;gt; 40)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.BreakEnabled = true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.RecomputeTableBlock(true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.BreakFlowDirection = TableBreakFlowDirection.Right;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.BreakOptions = TableBreakOptions.RepeatTopLabels;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.SetBreakSpacing(16);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.SetBreakHeight(0, 12);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.SetBreakOffset(0, new Vector3d(1, 0, 0));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.RecomputeTableBlock(true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table.GenerateLayout();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return table;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure the code inside the if statement is getting executed but there is no change in the table at all. I've tried adjusting these settings with different values even though I'm not entirely sure what some of them do based on the documentation. I always get one long table with no breaks. (what's the difference between break spacing and break offset? it's not clear at all in the documentation.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help point me in the direction of what I'm missing here? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Problem solved! For some reason Autocad wasn't setting BreakEnabled to true even though that line was in the code. I moved BreakEnabled=true to be after table.GenerateLayout() and now it works. Not entirely sure why but it's working now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 17:35:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/8389465#M24336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-08T17:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a table?</title>
      <link>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/8734689#M24337</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am having the same problem, but am not familiar with custom code in AutoCAD. I have a table that completely fills and extends beyond my layout's drawing boundary. I want my table break to simply copy over to a new sheet/layout. Is this something someone can help me with? The table break function looks to only work within the drawing space the table resides in.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:28:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/8734689#M24337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-16T16:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a table?</title>
      <link>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/10378141#M24338</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp; could you please help me with how you added the tables to the layout? I have created the tables in the modelspace and now I would like to copy/move them to the layout I created?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 05:15:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/10378141#M24338</guid>
      <dc:creator>priya.mishraTPDMG</dc:creator>
      <dc:date>2021-06-10T05:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a table?</title>
      <link>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/10380363#M24339</link>
      <description>&lt;P&gt;hi @Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;why don't you break your data into the specific size you want previously before you generate the tables?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 18:12:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/10380363#M24339</guid>
      <dc:creator>essam-salah</dc:creator>
      <dc:date>2021-06-10T18:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a table?</title>
      <link>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/10380425#M24340</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10412954"&gt;@priya.mishraTPDMG&lt;/a&gt;&amp;nbsp; I'm sorry I was only working in modelspace so I wouldn't be able to help you with that. You might want to start a new topic so that people more knowledgeable than myself might be able to assist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3650456"&gt;@essam-salah&lt;/a&gt;&amp;nbsp;I think the issue was that I was working with multiple tables of variable size within a limited amount of space, but the issue has been solved some time ago. Thanks for the assist though!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 18:32:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/breaking-a-table/m-p/10380425#M24340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-10T18:32:59Z</dc:date>
    </item>
  </channel>
</rss>

