Skip to main content

Component Plug-In SDK 2026 R1

Method UpdateSourceAsync

Last update: 19.06.2026

Namespace: Phoenix.ComponentAPI
Assembly: Phoenix.ComponentAPI.dll

UpdateSourceAsync(IPacz, string, bool)

Generally meant to be used only internally by Phoenix Integration. Allows the out of process host executable to reuse the directory already extracted by the OEM process. Changes the value of Phoenix.PaczAPI.IReadOnlyExtractedPacz.PaczSource, Phoenix.PaczAPI.IReadOnlyExtractedPacz.ExtractionFolder, and whether the extraction folder should be deleted on dispose. This also ReReads the Config from the new ExtractionFolder

Task UpdateSourceAsync(IPacz newSource, string extractionFolder, bool deleteOnDispose)

Parameters

newSource IPacz

The new source pacz for this writer

extractionFolder string

The new extraction folder for this writer

deleteOnDispose bool

Whether the extraction folder should be deleted on dispose

Returns

Task

A task that indicates when the work is completed

Connect with Ansys