---
title: "getConstraintsThisIsSource"
canonical: "https://help.vicon.com/space/Shogun17/13536555/getConstraintsThisIsSource"
format: markdown
---
# Description

This command returns a string array of names of constraints that have the given module as a source.

## Functional area

Data retrieval

# Command syntax

## Syntax

|  |
| --- |
| `getConstraintsThisIsSource "module"[-nameOnly] [-fullPath] [-solvingOnly] [-labelingOnly]` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `Module` | string | yes | Module to retrieve list of constraints where module is a source. |

### Flags

> Macro (scroll-tablelayout)

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `nameOnly` | 0 | — | — | Only the name of each node is returned rather than the "minimum" path (the minimum needed to uniquely identify a node). |
| `fullPath` | 0 | — | — | The full path of each node is returned rather than the "minimum" path (the minimum needed to uniquely identify a node). |
| `solvingOnly` |  |  |  |  |
| `labelingOnly` |  |  |  |  |

## Return value

string array

Returns a string array of names of constraints that have the given module as a source.

## Examples

```plaintext
// Get the constraints that have LFHD as a source.
string $constraints[] = `getConstraintsThisIsSource "LFHD"`;
print $constraints;
```

# Additional information

## Related commands

- [attach](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537774)
- [getAttached](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536325)
- [getAttachedTo](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536323)
- [getConstraintsThisIsTarget](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536355)
- [getSolverBones](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536645)
- [setConstraint](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536910)