Want to get AcadBlockReference in AcadTable

Want to get AcadBlockReference in AcadTable

Anonymous
Not applicable
682 Views
2 Replies
Message 1 of 3

Want to get AcadBlockReference in AcadTable

Anonymous
Not applicable

I want to get cell object in AcadTable

 

AcadTable only offer AcadTable.GetCellValue(row, column) like

 

But It's only can use in TextCell. I want get BlockCell's AcadBlockReferences

 

How can I get AcadBlockReferences in AcadTable's BlockCell?

0 Likes
683 Views
2 Replies
  • VBA
Replies (2)
Message 2 of 3

Ed__Jobe
Mentor
Mentor

VBA ActiveX doesn't have a direct way of getting the AcadBlockReference that was inserted in a cell. The best you can do is get the AcadBlock definition that I already showed you. Norman suggested INSERTing a copy and using that. What are you trying to do with it?

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 3 of 3

Anonymous
Not applicable

Now I know make BlockReference Directly is impossible....  So i'm using BlockTable and insert blockreference.

 

But My BlockReference has Attribute. The same block, but the appearance is different depending on the attributes.

 

AcadTable.SetAttributes(row, col, attdfid, val) isn't working. because i can't get that tableBlockCell's attributes objectId

0 Likes