31 July 2019

23 May 2015

19 May 2015

14 May 2016

The exportxml command can be used to export an object (including those attached to avatars), along with all the necessary textures.

CommandRequired ParametersRequired Corrade PermissionsExample
exportxmlgroup, password, iteminteract, system (if path is specified)
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Export an object named "Mouse"
            "command", "exportxml",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // NOTE: or an UUID can be passed
            // NOTE: this must be the name or
            // the UUID of an object (a root primitive).
            "item", "Mouse",
            "range", 5
            "callback", wasURLEscape(URL)
        ]
    )
);

The possible and currently supported downloadable assets are the following: Bmp Emf Exif Gif Icon Jpeg MemoryBmp Png Tiff Wmf

Optional ParameterPossible ValueDescription
formatBmpDownloads the textures referenced by the object in the specified format or in JPEG2000 Codestream format in case format was not specified.
Emf
Exif
Gif
Icon
Jpeg
Png
Tiff
Wmf
rangeA range in meters.The spherical distance from Corrade in which to locate the item.
Optional ParameterPossible ValueDescription
pathA path-name ending in a file name (e.g.: C:\\Data\\Assets\\MyAsset.txt, or /mnt/data/Store.png)If a path is specified, then the asset will be saved to the file name indicated by the path.
selectionattached, rezzed or all (default: all)Either attached, rezzed or all for selecting only primitives or objects attached to avatars, primitives or objects rezzed in-world or all primitives or objects respectively.

In case the path optional parameter is not specified, then the asset will be downloaded, encoded as a Base64 string, then URI escaped and then placed as the value to the data key from the callback. If the path parameter is specified, then the data will be saved to the indicated path.

Remarks