Skip to main content

Component Plug-In SDK 2026 R1

Method CreateNewPaczFileAsync

Last update: 19.06.2026

Namespace: Phoenix.PaczAPI
Assembly: Phoenix.PaczAPI.dll

CreateNewPaczFileAsync(string, bool)

Creates a new IPaczWriter that is backed by a temporary folder which can be used to start creating a new Pacz. The source of the returned IPaczWriter will be null.

Task<IPaczWriter> CreateNewPaczFileAsync(string extractionFolder = null, bool deleteOnDispose = true)

Parameters

extractionFolder string

If non-null will be used as the extraction folder instead of a temporary folder.

deleteOnDispose bool

If true, the extraction folder will be deleted when the returned object is diposed.

Returns

Task<IPaczWriter>

A task that when complete contains a new instance of IPaczWriter

Connect with Ansys