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.
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.

The command queries the FlexibleData structure of a primitive.


secondlife/scripted_agents/corrade/api/commands/getprimitiveflexibledata.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.