Get Primitive Shape Data

31 July 2019

  • C10 - added the selection optional parameter.

18 August 2015

  • Release 8.40 - added.
getprimitiveshapedata (Commands)
TypeCorrade progressive command
DescriptionCorrade can query primitive shapes using the getprimitiveshapedata command.
Parametersgroup, password, item, data
Last ChangesRelease 8.40 - added.

Corrade can query primitive shapes using the getprimitiveshapedata command.

Command Required Parameters Required Corrade Permissions Example
getprimitiveshapedata group, password, item, data interact
            "command", "getprimitiveshapedata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Vendor",
            // searches in a 5m range
            "range", "5",
            // returns the material and primitive type
            "data", wasListToCSV(
            "callback", wasURLEscape(URL)

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

secondlife/scripted_agents/corrade/api/commands/getprimitiveshapedata.txt ยท Last modified: 2022/04/19 09:28 (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.