# Parent Child Concept

Source: https://help.malighting.com/grandMA3/2.3/HTML/csk_parent_child.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
The general selection syntax is not only applying to fixtures (Parent) and their levels of sub-fixtures (Child), but furthermore the general selection syntax applies to all types of objects that use a hierarchic structure. Objects that use hierarchic structures are, for example:

- Preset Pools with Presets.
- Pages with Executors.
- Macro with Macro lines.

|                                            |                                                                                                                                                         |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](/img/grandma3/2-3/tip_gray-269535.png) | **Hint:**                                                                                                                                               |
|                                            | To learn more about selecting fixtures and its sub-fixtures using syntax commands, see [Select Fixtures](/grandma3/2-3/operate_select_fixtures/) topic. |

To gain a faster and more logical way (for example to select, copy, move or delete objects) in the hierarchical structure, the dot (.) is an important tool in the selection syntax:

- The dot (.) ends the selection on the current level and then steps one level down in the hierarchical structure.\
  Instead of using the dot (.) as a separator, dedicated keywords for the objects in the next level of the hierarchy can be used. For example, Page 1 Executor 201.

To restart at the top level of the hierarchy within one command, the starting keyword (for example Fixture) has to be entered again. For example, Fixture 5.2 Fixture 3 .

To select fixtures in the same hierarchic structure within one command, (+) can be used. For example, Fixture 5.2 + 3.

 

## Dot Selection Behavior

It is not necessary to recall the subcategory of an object in a syntax command, after the subcategory is already called using the dot (.). This behavior is shown in the examples below.

Do not use the following command:

Clone Fixture 101 At Fixture 102 If Preset 21.101 Thru 21.105

Use a command with a omission of "21." instead:

Clone Fixture 101 At Fixture 102 If Preset 21.101 Thru 105

Do not use the following command:

Move Preset 1.1 Thru 1.3 At 1.5

Use a command with a omission of "1." instead:

Move Preset 1.1 Thru 3 At 1.5

---

## Examples for Selection Syntax

To recreate the examples, the following should be prepared:****

- The grandMA3 demo show file is loaded.

- A fixture sheet window is open.

- The following fixture type is patched:

  - Ayrton Alienpix - RS Ex 16 Bit
  - Quantity: 3
  - FID: 301 - 303 

 

1. To select the second sub-fixture of fixture 301.1, type:

|                                                                    |                                     |
| ------------------------------------------------------------------ | ----------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Fixture 301.1.2 |

![](/img/grandma3/2-3/window_fixture_sheet_second_subfixture_v2-1-601846.png)

Second sub-sub-fixture of fixture 301 is selected

 

2. To select only the sub-sub-fixtures 2 to 4 of fixtures 301 to 303, type:

|                                                                    |                                                     |
| ------------------------------------------------------------------ | --------------------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Fixture 301 Thru 303.1.2 Thru 4 |

In this example all fixtures on the top level have to be selected: Fixture 301 Thru 303.1..

And after the dot, the sub-fixtures are selected: 2 Thru 4.

![](/img/grandma3/2-3/window_fixture_sheet_2_to_4_subfixture-e8e7cc.png)

Sub-sub-fixtures 2 to 4 are selected.

 

3. To select sub-sub-fixtures 4 to 6 of fixture 301, all sub-fixtures of fixture 302, and sub-sub-fixtures 1 to 5 of fixture 303, type:

|                                                                    |                                                                                      |
| ------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Fixture 301.1.4 Thru 6 Fixture 302.1. Thru Fixture 303.1. Thru 5 |

In this example the . 4 in Fixture 301.1.4 steps down to the sub-fixture level. Fixture 302.1. needs to be entered to restart at the top level with fixture 302.

If Fixture 302 would not be entered, the second sub-fixture of sub-fixtures 4 to 6 would be selected.

![](/img/grandma3/2-3/window_fixture_sheet_selection_subfixture-da5f07.png)

Different sub-sub-fixtures are selected for each fixture type

 

4. To select the fixtures as a replacement for a lasso selection, starting at fixture 302 and ending it at fixture 303.1 including the parent fixtures as a replacement for a lasso selection, type:

|                                                                    |                                                            |
| ------------------------------------------------------------------ | ---------------------------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Fixture 302. Fixture 303 Fixture 303.1 |

![](/img/grandma3/2-3/window_fixture_sheet_lasso_replacement_v1-8-d166ed.png)

This fixture selection is a replacement for a lasso selection.

 

5. To select all sub-fixtures on the first sub-fixture level for all fixtures, type:

|                                                                    |                                       |
| ------------------------------------------------------------------ | ------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Fixture Thru.Thru |

---

## Deleting Syntax

- The following examples are used in general, and are not in correspondence with the demo show file.

To delete executor 201 on all pages, type:

|                                                                    |                                          |
| ------------------------------------------------------------------ | ---------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Delete Page Thru.201 |

or type:

|                                                                    |                                                   |
| ------------------------------------------------------------------ | ------------------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Delete Page Thru Executor 201 |

This second example describes the additional rule of the first rule from above: Instead of using Page x.y, the Executor keyword is used to address the executors.