---
title: "LookSequencing"
description: "API documentation for LookSequencing"
url: https://developer.disguise.one/python-api/docs/looksequencing/
---

# LookSequencing

Utility class that provides mapping-like functionality between Look’s layers fields and its personality.

See also: [Track & Sequencing Guide](/plugins/guides/track-and-sequencing), [Utility Guide](/plugins/guides/utility)

Base class: _\_BlipValue_

## Properties

#### **displayName** : _str_

User friendly field name

#### **groupName** : _str_

Field group name

#### **sequence** : _[FieldSequence](/python-api/docs/fieldsequence#fieldsequence)_ _(Read-Only)_

Selected field sequence

## Constructors

#### **\_\_init\_\_**(self, fieldSequence: _[FieldSequence](/python-api/docs/fieldsequence#fieldsequence)_, displayName: _str_, groupName: _str_)

## Methods

#### **addFieldToPersonality**(self)

Creates new personality property based on the selected field sequence

#### **isFieldContainedInPersonality**(self) -> _bool_

Returns True if looks personality already contains selected field

#### **removeFieldFromPersonality**(self)

Removes field from the looks personality

## Static Methods

#### **getFieldKeyComponents**(fieldKey: _str_) -> _[FieldKeyComponents](/python-api/docs/fieldkeycomponents#fieldkeycomponents)_

Parse fieldKey and extract the layer and field name from it.

**Parameters**:

-   fieldKey: A key in the format “{layer Uid}\_{decorated field name}”

std::logic\_error if field key does not match the format

**Returns** The layer and decorated field name the key addresses

#### **maybeGetFieldKeyComponents**(fieldKey: _str_) -> _[FieldKeyComponents](/python-api/docs/fieldkeycomponents#fieldkeycomponents)_

Parse fieldKey and extract the layer and field name from it, without throwing on a key that does not match.

**Parameters**:

-   fieldKey: A key in the format “{layer Uid}\_{decorated field name}”

**Returns** The layer and decorated field name the key addresses, valid only if the key matches the format
