.NET

.NET

Reply
Distinguished Contributor
111 Posts
0 Kudos
Registered: ‎03-19-2007
Post 1 of 3
Accepted Solution

VB.NET: autocad tables and table breaks

593 Views, 2 Replies
09-19-2013 11:50 AM

Through vb.net, I've added a brand new table to the drawing database.  I enable table breaking and set the break height to force the table to flow to the right.  I am now trying to determine how many additional 'tables' are being created while still in vb.net.  For example, I have a table with an initial height of 30".  If I set the setbreakheight = 10" and turn BreakEnabled = True.  How can I determine with vb.net that there are now 3 - 10" tables.

 

I've tried using the mytable.bounds and mytable.geometricextents to calculate the 'table' quantity, but that information does not always update once a transaction is complete and so far has been unreliable.

 

MEP 2012 with VB.NET

 

 

Thanks.

 

 

 

Hi John,

 

Have you tried using the "table.RecomputeTableBlock(True)" to update the geometric extents ?

 

 

ADN Support Specialist
762 Posts
100 Kudos
Registered: ‎03-21-2011
Post 2 of 3

Re: VB.NET: autocad tables and table breaks

09-23-2013 05:36 AM in reply to: CommCorp

Hi John,

 

Have you tried using the "table.RecomputeTableBlock(True)" to update the geometric extents ?

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Distinguished Contributor
111 Posts
0 Kudos
Registered: ‎03-19-2007
Post 3 of 3

Re: VB.NET: autocad tables and table breaks

09-24-2013 05:06 AM in reply to: Balaji_Ram

The .recomputetableblock(true) did the trick.  I can now determine how many 'tables' get added!!

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!