Get Object Data

31 July 2019

  • C10 - added the selection parameter.

11 June 2016

  • Release 9.90 - added.
getobjectdata (Commands)
TypeCorrade progressive command
Commandgetobjectdata
DescriptionCorrade can query data on objects using the getobjectdata command.
Permissionsinteract
Parametersgroup, password, item, data
Last ChangesRelease 9.90 - added.

Corrade can query data on objects using the getobjectdata command.

Command Required Parameters Required Corrade Permissions Example
getobjectdata group, password, item, data interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "getobjectdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Vendor",
            // searches in a 5m range
            "range", "5",
            // returns the position and primitive text as CSV
            "data", wasListToCSV(
                [
                    "Position",
                    "Text"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

The data parameter follows the libopenmetaverse Primitive structure and sub-structures.

Optional Parameter Possible Value Description
range A range in meters. The spherical distance from Corrade in which to locate the item.
selection attached, 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.

Notes

  • Setting the selection parameter appropriately when it is known beforehand whether the sought object is either attached to an avatar or rezzed in-world can greatly improve the search time and speed up the command.

secondlife/scripted_agents/corrade/api/commands/getobjectdata.txt ยท Last modified: 2020/09/04 06:44 (external edit)

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy, copyright and the plagiarism pages.