Odcl_DWGBlockoount

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > DWG information >

Odcl_DWGBlockoount

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_DWGBlockCDunt

This function will tell you how many specified block you have in the current drawing.

First Parameter

VLA document entity

 

Second Parameter

Block name as string

ex: "Valve1"

 

Note:

Can also bi used with DBX

 

Return Values

Numeric Value as Integer.

 

AutoLisp Syn ax:

(setq rValue (ODcl_DWGBlockCount VLAdocument [as variable] BlockName [as string]))