InsertBlock method - problems

InsertBlock method - problems

Anonymous
Not applicable
304 Views
0 Replies
Message 1 of 1

InsertBlock method - problems

Anonymous
Not applicable

Hello,

I have read some thread sin this forum about the InsertBlock method and 
its various problems but I have not been able to find a satisfactory 
solution yet.

It seems to work under some set of conditions and fails under other 
conditions with different error messages each time and under each condition.

Does any one have clear pointers about what is needed to get the 
InsertBlock method work correctly?

For instance, in the attached DVB file, there is a piece of code which 
creates the block definition and attempts to insert it in the drawing 
via InsertBlock. This seems to fail with the error message "Invalid 
argument bStrName...." In other occasions, it would just not show the 
inserted block in the drawing even though there was no error message 
displayed.

Can someone explain this behavior?

TIA
Rakesh
-- 

AutoCAD customization for Engineering/Mapping/GIS
Get GeoTools @ http://www.4d-technologies.com/geotools
Build MyGeoTools @ http://www.4d-technologies.com/geotools/my_geotools.htm
FREE downloads : http://www.4d-technologies.com/techcenter
Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb" Attachment not added (content type not allowed): "bm.dvb"
0 Likes
305 Views
0 Replies
Replies (0)