.NET

.NET

Reply
Distinguished Contributor
CommCorp
Posts: 104
Registered: ‎03-19-2007
Message 1 of 3 (570 Views)
Accepted Solution

VB.NET: autocad tables and table breaks

570 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
Balaji_Ram
Posts: 749
Registered: ‎03-21-2011
Message 2 of 3 (529 Views)

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
CommCorp
Posts: 104
Registered: ‎03-19-2007
Message 3 of 3 (503 Views)

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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.