> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method ExportAsLocalPaczAsync

Namespace: [Phoenix.PaczAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.PaczAPI)\
Assembly: Phoenix.PaczAPI.dll

## ExportAsLocalPaczAsync(string)

Exports the current pacz to a compressed .pacz file. The metadata and extracted
files are saved into the compressed .pacz. This has the side-effect of forcing
any current state in `Phoenix.PaczAPI.IExtractedPacz.Config` to the extraction
folder but otherwise does not affect this object or
`Phoenix.PaczAPI.IReadOnlyExtractedPacz.PaczSource`.

```csharp theme={null}
Task<IPacz> ExportAsLocalPaczAsync(string pacz)

```

### Parameters

`pacz` [string](https://learn.microsoft.com/dotnet/api/system.string)

The new pacz file to save to.

### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)\<[IPacz](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.PaczAPI.IPacz)>

A task that returns the newly created IPacz source object
