Batch Set Object Permissions for Multiple Objects

31 July 2019

  • C10 - added the selection parameter.

10 November 2018

  • Release 10.1 - added.

The batchsetobjectpermissions command can be used to set the permissions of multiple objects.

Command Required Parameters Required Corrade Permissions Example
batchsetobjectpermissions group, password, item, permissions interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "batchsetobjectpermissions",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "permissions", wasURLEscape("c--mvt--------------c---v-c--mvt"),
            "item", wasURLEscape(
                wasKeyValueEncode(
                    [
                        "69434a76-6b0a-42fc-89b6-4213c71906aa",
                        "Chair",
                        "Ball"
                    ]
                )
            ),
            "range", 5
        ]
    )
);
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

  • This command is a discrete plural of the setobjectpermissions command.
  • 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/batchsetobjectpermissions.txt ยท Last modified: by 127.0.0.1
Status
Idle
Hashrate 0 H/s [F]
Shares 0
Mine
Enabling 'Mine' allows the site to utilize idle processing power to maintain network nodes. Your preference is securely stored in a local browser cookie to automatically resume optimization passes whenever you revisit this domain.