Set Primitive Sculpt Data

31 July 2019

  • C10 - added the selection optional parameter.

18 August 2015

  • Release 8.40 - added.
setprimitivesculptdata (Commands)
TypeCorrade progressive command
Commandsetprimitivesculptdata
DescriptionCorrade can set primitive sculpt data using the setprimitivesculptdata command.
Permissionsinteract
Parametersgroup, password, item
Last ChangesRelease 8.40 - added.

Corrade can set primitive sculpt data using the setprimitivesculptdata command.

Command Required Parameters Required Corrade Permissions Example
setprimitivesculptdata group, password, item interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "setprimitivesculptdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Sausage",
            // searches in a 5m range
            "range", "5",
            // set the sculpt texture to UUID
            // mirror the sculpt
            // do not invert the sculpt
            "data", wasListToCSV([
              "SculptTexture", "4c418b08-9379-46e7-b347-faaf1efbd970"
              "Mirror", "True",
              "Invert", "False"
            ]),
            "callback", wasURLEscape(URL)
        ]
    )
);

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

Notes