---
title: "system.mes.spc.analysis.loadStoredSPC(name)"
id: "system-mes-spc-analysis-loadstoredspc-name"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/system-mes-spc-analysis-loadstoredspc-name"
updated: 2026-07-31T14:58:02Z
---

# system\.mes\.spc\.analysis\.loadStoredSPC\(name\)

**Sepasoft MES Module Suite**

### system.mes.spc.analysis.loadStoredSPC(name)

Returns the SPC settings for the specified saved SPC settings name.

| ![Warning](/resources/Storage/user-manual/user-manual/Warning.png) | **Scripting Function modifications in**<br><br>MES 3.79.3 RC 5 and later<br>MES 3.81.4 RC 5 and later |
| --- | --- |

Syntax

system.mes.spc.analysis.loadStoredSPC(name)

* Parameters

String name - The name of the stored SPC settings.

* Returns

SPCSettings - An instance of a [SPCSettings](/articles/user-manual/spc-settings) object.

* Scope

All

Code Example

```python
storedSetting = system.mes.spc.analysis.loadStoredSPC('Fill Level - CpPp')
results = system.mes.spc.analysis.executeMiscCalculation(spcsettings, 'Cppp')
print 'CPK', results.getValue('Cpk')
print 'PPK',results.getValue('Ppk')
```

```
>>> 
CPK 0.0689333333333
PPK 0.0701882527634
>>> 
```


**Sepasoft MES Module Suite**