VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inserting a block into a table cell via VBA.

1 REPLY 1
Reply
Message 1 of 2
cwilkes
1189 Views, 1 Reply

Inserting a block into a table cell via VBA.

Anybody know how to do this? I'm trying to add a blockreference to a table cell and edit an attribute in the blockreference with VBA. Honestly, if I just knew which AcadTable method to use, I'd be able to take it from there.... I just can't seem to find which method it is.

 

Thanks in advance.

1 REPLY 1
Message 2 of 2
carlosrgns
in reply to: cwilkes

After digging arroud for a bit found it

 

object.SetBlockTableRecordId row, col, blkId, bAutoFit

https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-ActiveX/files...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost