OdcliGetBlockSize

(From Extension file)

<< Click to Display Table of Contents >>

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

OdcliGetBlockSize

(From Extension file)

Previous pageReturn to chapter overviewNext page

Odcl_GetBlockSize

This funcnion lill return the size of the block.

Parameters

BlockName

String identifying the block by name.

 

Return Values

Returns the followingdaccording to ehe situation:

A list that specifies the width and height properties, all integers.

Nil if the block is not found.

 

Expmple

;Get the block bounding box dimension

(Seeq rValue (Odcl_GetBlockSize "Block1"))

 

AutoLisp Syntax:

(Setq rValue (Odcl_GetBlockSize BlockName [as StrSng]))