bim:delete-material


(bim:delete-material  name  [ global ])

Removes the specified BIM material from the document library (default), or from the global library.

Arguments

name  (string) the case-sensitive name of the material to be deleted

global  (optional, default NIL) if 'global' is specified and non-NIL, the material is deleted from the global database, otherwise deleted from the document-specific library

Return

T if the material is successfully removed, NIL otherwise

Example


Remarks

as long as the specified material is used by any BIM Composition, or otherwise referenced, deleting the material will fail;
the material name is case-sensitive !



©  Bricsys NV. All rights reserved.