Groups

Functions and constants relating to Groups

Functions

Details of functions

GetGroupInfo(group_id[integer]) [static]

Description

Returns information about a group in the current model

Arguments

  • group_id (integer)

    Group number

    Returns

    Object with the following properties:

    Name Type Description
    label integer The label of the group
    name string The name of the group

    Return type

    object

    Example

    // Print the name of the first group in the current model
    var info = GetGroupInfo(1);
    Print("Group name = " + info.name + "\n");