std-block-require | ![]() |
If the block is not defined, it searches for the external block on the harddisc, searching the standard library path for a matching DWG file, updating its internal definition then.
It returns the found filename of the DWG if the block was updated or the blockname if it was already defined, or calls STD-ERROR if the the external block was found but couldn't be inserted successfully.
name: A string naming a block
A string of the found blockname or the filename or nil
See description. Only called because of its sideeffects.
(std-require 'STDMISC)
Defined in STDMISC