Get Primitive Properties Data

31 July 2019

  • C10 - added the selection optional parameter.

18 August 2015

  • Release 8.42 - added.
getprimitivepropertiesdata (Commands)
TypeCorrade progressive command
Commandgetprimitivepropertiesdata
DescriptionCorrade can query primitive properties details using the getprimitivepropertiesdata command.
Permissionsinteract
Parametersgroup, password, item
Last ChangesRelease 8.42 - added.

Corrade can query primitive properties details using the getprimitivepropertiesdata command.

Command Required Parameters Required Corrade Permissions Example
getprimitivepropertiesdata group, password, item interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "getprimitivepropertiesdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Sausage",
            // searches in a 5m range
            "range", "5",
            // returns the description
            // of the primitive and the
            // creation date
            "data", wasListToCSV(
                [
                    "Description",
                    "CreationDate"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

The data parameter follows the ObjectProperties 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