OOF2: The Manual

Name

OOF.ElementGroup.Rename_Group — Rename an element group.

Synopsis

OOF.ElementGroup.Rename_Group(skeleton,group,new_name)

Details

  • Parent Menu: OOF.ElementGroup
  • Callback: function _rename_group in module ooflib.engine.IO.skeletongroupmenu
  • Options: cli_only=1
  • Parameters:

    skeleton
    Type: The path to an existing Skeleton object.
    group
    Name of the group to be renamed. Type: The name of a group of Skeleton elements.
    new_name
    New name for the element group Type: A character string.

Description

Rename a ElementGroup. The given new_name must be unique among all ElementGroups in the Skeleton. If it is not unique, it will be made so by appending <x> , where x is an appropriate integer.