
# TFlattenMode enumeration

*No description yet.*

```csharp
public enum TFlattenMode
```

**Namespace:** EDP · **Assembly:** Altium.SDK.Interfaces

## Values

| Name | Value | Description |
| --- | --- | --- |
| `eFlatten_Smart` | 0 |  |
| `eFlatten_Flat` | 1 |  |
| `eFlatten_Hierarchical_GlobalPorts` | 2 |  |
| `eFlatten_Global` | 3 |  |
| `eFlatten_Hierarchical_Strict` | 4 |  |

## Returned by

[IProject.DM_HierarchyMode](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IProject.md#dm_hierarchymode), [IProject.DM_HierarchyModeForCompile](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IProject.md#dm_hierarchymodeforcompile)

## Accepted by

[IProject.DM_SetHierarchyMode](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IProject.md#dm_sethierarchymode)
