Blocks Collection |
The collection of all blocks in the drawing.
VBA class name: |
AcadBlocks |
---|---|
Create using: |
N/A |
Access via: |
Document.Blocks |
To add a new member to the collection, use the Add method. To select a specific block, use the Item method.
There are two special blocks in the collection. One contains the collection of all model space entities, the ModelSpace Collection; the other contains all paper space entities, the PaperSpace Collection.
Although the Blocks collection inherits a Delete method, you cannot actually delete the collection. Attempting to delete the Blocks collection will result in an error, therefore the Delete method has been removed from the documentation for this collection.
There is no limit to the number of blocks you can create in your drawing. However, there can be only one instance of the Blocks Collection. The Blocks Collection is predefined for each drawing. You can make multiple references to it by using the Blocks property. Once done with an object, the reference is automatically released.
Methods |
Properties |
Comments? |
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.