children-ofBlackboard Repositoryconfirm-if-blackboard-repository-not-empty-pclear-space-instancesGoTo Top

clear-space-instances   space-instances[Function]

Purpose
Remove (but not delete) all unit instances from space instances.

Package   :gbbopen

Module   :gbbopen-core

Arguments and values

space-instances     A space instance, a list of space instances, a space-instance path regular expression, or t (indicating all space instances)

Events
A instance-removed-from-space-instance-event is signaled for each unit instance that is removed from a space instance.

See also
    do-instances-on-space-instances
    map-instances-on-space-instances

Examples
Remove all the unit instances that reside on the (bb probable-hyps) space instance:

  (clear-space-instances
    (find-space-instance-by-path '(bb probable-hyps)))
or
  (clear-space-instances '(bb probable-hyps))
or
  (clear-space-instances
    (find-space-instances '(bb probable-hyps)))


The GBBopen Project


children-ofBlackboard Repositoryconfirm-if-blackboard-repository-not-empty-pclear-space-instancesGoTo Top