Get Object Data

31 July 2019

  • C10 - added the selection parameter.

11 June 2016

  • Release 9.90 - added.

<data Commands> Type: Corrade progressive command Command[wiki]: getobjectdata Description[wiki]: Corrade can query data on objects using the getobjectdata command. Permissions[wiki]: interact Parameters[wiki]: group, password, item, data Last Changes[wiki]: Release 9.90 - added. </data>

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.

Notes