Ligamen

Commands

Editing and selection

This page describes 44 commands in 3 sections. How to call them is explained in Commands.

Edit#

The Edit menu: undo, rename, parenting, navigation between bones and skins, nudging, draw order.

lg.edit.undo#

Undo the last step.

Hotkey: Ctrl+Z.

Example

lg.edit.undo()

lg.edit.redo#

Redo the step that was undone.

Hotkey: Ctrl+Shift+Z.

Example

lg.edit.redo()

lg.edit.settings#

Open Settings.

Hotkey: Ctrl+,.

Opens a dialog and waits for you.

Example

lg.edit.settings()

lg.edit.command_palette#

Open the action search: find any command, panel or tool by name.

Hotkey: Ctrl+K.

Opens a dialog and waits for you.

Example

lg.edit.command_palette()

lg.edit.switch_keymap_preset#

Switch the active keymap preset from a list.

Opens a dialog and waits for you.

Example

lg.edit.switch_keymap_preset()

lg.edit.find_replace#

Open Find and Replace for object names.

Hotkey: Ctrl+Shift+F.

Opens a dialog and waits for you.

Example

lg.edit.find_replace()

lg.edit.rename#

Rename the selected object.

Hotkey: F2.

Opens a dialog and waits for you.

Example

lg.edit.rename()

lg.edit.set_parent#

Pick a new parent for the selected bones; they keep their place in the world

Opens a dialog and waits for you.

Example

lg.edit.set_parent()

lg.edit.preview_image#

Show the image and size of the selected node's attachment.

Hotkey: F1.

Example

lg.edit.preview_image()

lg.edit.draw_order_forward#

Move the selected slots one place forward in the draw order; zoom in when no slot is selected

Hotkey: +.

Example

lg.edit.draw_order_forward()

lg.edit.draw_order_back#

Move the selected slots one place back in the draw order; zoom out when no slot is selected

Hotkey: -.

Example

lg.edit.draw_order_back()

lg.edit.next_skin#

Select the next skin in the Skins list (wraps around)

Example

lg.edit.next_skin()

lg.edit.prev_skin#

Select the previous skin in the Skins list (wraps around)

Example

lg.edit.prev_skin()

lg.edit.select_parent#

Select the parent of the active bone

Example

lg.edit.select_parent()

lg.edit.select_child#

Select the first child of the active bone

Example

lg.edit.select_child()

lg.edit.select_next_sibling#

Select the next bone with the same parent (wraps around)

Example

lg.edit.select_next_sibling()

lg.edit.select_prev_sibling#

Select the previous bone with the same parent (wraps around)

Example

lg.edit.select_prev_sibling()

lg.edit.nudge_left#

Move the selected bones one unit left (Setup mode)

Example

lg.edit.nudge_left()

lg.edit.nudge_right#

Move the selected bones one unit right (Setup mode)

Example

lg.edit.nudge_right()

lg.edit.nudge_up#

Move the selected bones one unit up (Setup mode)

Example

lg.edit.nudge_up()

lg.edit.nudge_down#

Move the selected bones one unit down (Setup mode)

Example

lg.edit.nudge_down()

History#

Undo and redo several steps at once.

lg.history.undo#

Undo (or redo=true) N steps. Every AI tool call is one step labelled 'AI: ...'.

Synopsis

lg.history.undo(...)
ArgumentTypeDescription
stepsint
redoboolRedo instead.

Example

lg.history.undo(steps=2)

Select#

Selection history and the ten numbered selection groups.

lg.select.history_back#

Go back to the previous selection

Hotkey: PgUp.

Example

lg.select.history_back()

lg.select.history_forward#

Go forward to the next selection

Hotkey: PgDown.

Example

lg.select.history_forward()

lg.select.store_group_N#

Remember the current selection as group N.

Synopsis

lg.select.store_group_N()

Hotkey: Ctrl+0.

N is a digit from 0 to 9.

Example

lg.select.store_group_3()

lg.select.recall_group_N#

Select the objects stored in group N.

Synopsis

lg.select.recall_group_N()

Hotkey: 0.

N is a digit from 0 to 9.

Example

lg.select.store_group_3()
lg.select.recall_group_3()