Creating a AeccPointTable using VBA or C#

Creating a AeccPointTable using VBA or C#

stephen_mitchell
Contributor Contributor
467 Views
4 Replies
Message 1 of 5

Creating a AeccPointTable using VBA or C#

stephen_mitchell
Contributor
Contributor

Can anybody tell me how to create an AeccPointTable using vba or C#? There does not appear to be an Add Method?

 

Alternatively, how do you iterate through a collection of Point Tables in the current drawing?

0 Likes
Accepted solutions (1)
468 Views
4 Replies
Replies (4)
Message 2 of 5

hosneyalaa
Advisor
Advisor

Hi
can you use
Autocad table after collection points
Example

https://www.keanw.com/2015/07/adding-a-new-column-to-an-existing-autocad-table-using-net.html

 

 

 

0 Likes
Message 3 of 5

Jeff_M
Consultant
Consultant
Accepted solution

Looks like you would need to use SendCommand to invoke the AeccAddPointTable, but that still brings up the dialog so probably not helpful.

To cycle through the existing tables, just use GetSelection filtering for the AECC_POINT_TABLE object.

Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 4 of 5

stephen_mitchell
Contributor
Contributor
Thanks hosneyalla, I could create my own table object but was hoping to use the AeccPointTable object.
Message 5 of 5

stephen_mitchell
Contributor
Contributor

Thanks Jeff, selecting using the filter AECC_POINT_TABLE works fine in VBA. I guess there are not many useful methods needed for Point Tables because they are dynamic and update as points update. No need to insert rows or columns etc. I can update and move in the drawing as needed using VBA which is all I really wanted to do.

0 Likes