Skip to main content

Component Plug-In SDK 2026 R1

Method ExportAsLocalPaczAsync

Last update: 19.06.2026

Namespace: 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.

Task<IPacz> ExportAsLocalPaczAsync(string pacz)

Parameters

pacz string

The new pacz file to save to.

Returns

Task<IPacz>

A task that returns the newly created IPacz source object

Connect with Ansys