Find list of blocks from library and insert

Find list of blocks from library and insert

Anonymous
Not applicable
510 Views
1 Reply
Message 1 of 2

Find list of blocks from library and insert

Anonymous
Not applicable

I'm not sure how to word this 100% accurately but I would like to insert one of the block "templates' into an empty drawing. For example, in AutoCAD, when using the insert block menu, a drop-down menu appears with a list of blocks that I can insert.

 

Where can I find this list if I wanted to insert one of those by name with COM?

0 Likes
Accepted solutions (1)
511 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant
Accepted solution

Hi,

 

This is the .NET forum here. If you want/need to use COM, you should ask your question in the Visual Basic Customization forum which is more related to the COM API.

Anyway, the list you see in the drop-down of the INSERT command dialog is the list of the blocks contained in the block table of the current drawing. With COM you can access to it by the Blocks property of the Document.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes