std-block-update


Synopsis

(std-block-update <name>)

Description

Re-load a block from the harddisc, searching the standard library path for a matching DWG file, updating its internal definition.

If it was not defined before, load a new one.

It returns the found filename of the DWG if the block was updated or nil if not, or calls STD-CERROR if the the external block was found but couldn't be updated successfully.

It honors the global variable *VERBOSE*. If set, it prints various diagnostic messages.

Arguments

name: A string

Return Value

A string of the found filename or nil

Side Effects

See description. Only called because of its sideeffects.

Module

(std-require 'STDMISC)

Defined in STDMISC