Block library functions provides functions for processing of blocks and attributes.

Function Name Description
BL_CheckIfSame Checks two block inserts to see if they are the same
BL_FindAttr Find the attrribute in a block given the tag value
BL_FindAttrNo Find the attribute in a block given the position
BL_GetAllBlks Find out the names of the 'normal' blocks in the drawing.
BL_GetAllBlksWithAttributes Find out the names of the 'normal' blocks with attributes in the current drawing document
BL_GetAllXrefs Find out the names of the currently Xref'ed drawing
BL_GetAttrLyr Get the layer from a block attribute
BL_GetAttrHgt Get the height of a block attribute
BL_GetAttrRotAng Get the rotation angle of the block attribute
BL_GetAtts Get the values of the attributes and their flags in a BLOCK INSERT entity
BL_GetBlkDef Returns the complete block definition list from the symbol table
BL_GetNumAtts Get the number of attributes in a BLOCK INSERT entity
BL_GetTagNames Get the names of the tags (and flag values) belonging to a block.
BL_GetTmpBlk Return the name of a unused temporary block
BL_IsNested? Check whether the block is nested or not (i.e if it contains atleast one INSERT object within its definition)
BL_ReadAttr Returns the value of the attribute of a given tag
BL_ReadAttrNo Returns the value of the attribute of a given tag
BL_RepBlk Replace one Block with another
BL_SetAttrHgt Set the height of a block attribute
BL_SetAttrLyr Set the attribute layer
BL_SetAttrRotAng Set the rotation angle of a block attribute
BL_UpdateBlkClr Update block definition and all instances with a specified color
BL_WriteAttr Write a value into a specified attribute in a block
BL_WriteAttrNo Write a value into a specified attribute at a given position in a block
BLi_GetAttFromLookup Internal Block library function Return the name of a corresponding block attribute tag from a tag lookup list.