Like @detachthis, but recursive. As a restriction it locks the selected folder and every folder below it. As a force command it removes the selected folder tree, as @detachall does.

Syntax

@detachallthis[:<attachpt>|<layer>|<path>]=<n|y>
@detachallthis[:<attachpt>|<layer>|<uuid>]=force

Specification

When checking whether a folder can be removed, the viewer checks the folder itself for @detachthis-style locks, then walks up through each parent folder looking for @detachallthis locks (by object, point, layer or path), up to #RLV. Option meanings are the same as for @detachthis. With no option, the folder holding the issuing object, and everything under it, is locked, and so is the issuing object.

Exceptions: within one object's own restrictions, the closest rule up the folder hierarchy wins. An @detachallthis_except or @detachthis_except closer to the folder unlocks it. A closer @detachallthis locks it again.

=force resolves the paths as for @detachthis=force and calls the recursive detach on each.

Caveats

Examples

// Freeze everything under #RLV except the Jewelry/Gold branch
llOwnerSay("@detachallthis:=n,detachallthis_except:Jewelry/Gold=add");

See also

Implementation notes

Client differences

Same differences as @detachthis (CoolVL has no root alias, no exemption for newly received folders, and checks nostrip on every folder).

Comparison with RLVa

This command works differently from RLVa's @detachallthis; see the comparison.