Inserting blocks into a Table Object
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Inserting blocks into a Table Object

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
mphillips
Guest





Posted: Wed Mar 16, 2005 10:45 pm    Post subject: Inserting blocks into a Table Object Reply with quote

Does anyone know how to insert a block into a Table object cell via VBA?

I've been looking through the object model and can't seem to find a method to insert blocks. Is there some other technique that would work?

Back to top
cbvrha
Guest





Posted: Sat Apr 09, 2005 1:50 am    Post subject: Re: Inserting blocks into a Table Object Reply with quote

A quick guess of the general procedure...

blkId = { get the block's id via ObjectID Property }
tblobj.SetBlockTableRecordId(row, col, blkId, bAutoFit)
tblobj.SetBlockRotation(row, col, blkRotation)
tblobj.SetBlockScale(row, col, blkScale)
tblobj.Update

--
Chris
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB