Skip to main content

Component Plug-In SDK 2026 R1

Method StartSessionForLocalExtractedPaczAsync

Last update: 19.06.2026

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

StartSessionForLocalExtractedPaczAsync(string, IRunnerSessionOptions)

Creates a session for a component.pacj file and the related files associated with it

Task<IHarnessRunnerSession> StartSessionForLocalExtractedPaczAsync(string filename, IRunnerSessionOptions options)

Parameters

filename string

The path to a directory containing a component.pacj file on a local disk.

options IRunnerSessionOptions

Options for creating the session. See the documentation on Phoenix.ComponentAPI.IRunnerSessionOptions for more information about choosing a safe value for this parameter, and for how to use it as an implementer.

Returns

Task<IHarnessRunnerSession>

A task that returns the IHarnessRunnerSession for the instantiated object.

Connect with Ansys