
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have create an excel based VBA program that creates a table in Autocad. However, I need the program to explode the table. I have tried many different ways. But am struggling to find a solution, as Excel keeps saying "Object doesn't support this property or method".
Does anyone know a solution to my problem? Maybe creating the table in a block reference?
// My table that gets produced
Set MyTable = acadDoc.ModelSpace.AddTable(ptChart2, NewSheetCounter - 1, 8, 0.2, 0.5) '.AddTable(InsertionPoint, NumRows, NumColumns, RowHeight, ColWidth)
// This was used to create a section box to explode everything inside of it.
Set ssetObj = acadDoc.SelectionSets.Add("SSET")
Mode = acSelectionSetAll
corner1(0) = 0: corner1(1) = 0: corner1(2) = 0
corner2(0) = 16.25: corner2(1) = 10.25: corner2(2) = 0
ssetObj.Select Mode, corner1, corner2
explodedObjects = ssetObj.Explode
Solved! Go to Solution.