Skip to main content

Component Plug-In SDK 2026 R1

Method PaczWriterFromDirectory

Last update: 19.06.2026

Namespace: Phoenix.BuilderUIClient
Assembly: Phoenix.BuilderUIClient.dll

PaczWriterFromDirectory(string, Guid, IPaczClient)

Create a new IPaczWriter by converting an existing directory.

public static Task<IPaczWriter> PaczWriterFromDirectory(string targetFolder, Guid plugInId, IPaczClient paczClient)

Parameters

targetFolder string

The target folder to convert. This will become the source directory for the new IPaczWriter. All the files in it will be listed as instance files.

plugInId Guid

The plug-in ID to set in the new component config.

paczClient IPaczClient

The pacz client to use when creating the pacz.

Returns

Task<IPaczWriter>

A new IPaczWriter with a configuration containing the target ID and existing files in the folder as instance files.

Connect with Ansys