Get Primitive Flexible Data

31 July 2019

  • C10 - added the selection optional parameter.

20 August 2015

  • Release 8.44 - added.
getprimitiveflexibledata (Commands)
TypeCorrade progressive command
Commandgetprimitiveflexibledata
DescriptionThe getprimitiveflexibledata command can be used to retrieve the set flexible data from a primitive.
Permissionsinteract
Parametersgroup, password, item, data
Last ChangesRelease 8.44 - added.

The getprimitiveflexibledata command can be used to retrieve the set flexible data from a primitive.

Command Required Parameters Required Corrade Permissions Example
getprimitiveflexibledata group, password, item, data interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // get the gravity and wind of a primitive
            // in a 4 meters range by UUID
            "command", "getprimitiveflexibledata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "50b58762-b2d1-4624-ac27-e73e3d78e6bb",
            "range", 4,
            "data", wasURLEscape(
                wasListToCSV(
                    [
                        "Gravity",
                        "Wind"
                    ]
                )
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameters Possible Value Description
range A number representing meters. The spherical radius from Corrade to search the primitive in.

The command queries the FlexibleData structure of a primitive.

Notes