Batch Set Primitive Positions for Multiple Objects

31 July 2019

  • C10 - added the selection optional parameter.

10 November 2018

  • Release 10.1 - added.

<data Commands> Type: Corrade progressive command Command[wiki]: batchsetprimitivepositions Description[wiki]: The batchsetprimitivepositions command can be used to set the positions for multiple primitives. Permissions[wiki]: interact Parameters[wiki]: group, password, item Last Changes[wiki]: Release 10.1 - added. </data>

The batchsetprimitivepositions command can be used to set the positions of multiple primitives.

Command Required Parameters Required Corrade Permissions Example
batchsetprimitivepositions group, password, item interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "batchsetprimitivepositions",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape(
                wasKeyValueEncode(
                    [
                        "Chair Leg",
                        "<-1, 2, .5>",
                        "45f8d053-6390-4fb0-963f-39850985574b",
                        "<.5, .5, .5>"
                    ]
                )
            ),
            "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


secondlife/scripted_agents/corrade/api/commands/batchsetprimitivepositions.txt ยท Last modified: by 127.0.0.1

Wizardry and Steamworks

© 2025 Wizardry and Steamworks

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.