Skip to main content

Component Plug-In SDK 2026 R1

Method GetPlugInFor<T>

Last update: 19.06.2026

Namespace: Phoenix.PlugIns
Assembly: Phoenix.PlugIns.dll

GetPlugInFor<T>(Guid)

Gets information about a particular plug-in. Passthrough to Phoenix.PlugIns.IPlugInManager.GetPlugInFor(System.String,System.Guid) with Phoenix.PlugIns.PlugInInterfaceNameAttribute.GetNameOrDefault(System.Type) on T.

IPlugInInstance GetPlugInFor<T>(Guid id)

Parameters

id Guid

The Id of the desired plug-in

Returns

IPlugInInstance

The requested plug-in

Type Parameters

T

The type of plug-in to search for.

Exceptions

Exception

If the desired plug-in is not found

GetPlugInFor(string, Guid)

Gets information about a particular plug-in.

IPlugInInstance GetPlugInFor(string type, Guid id)

Parameters

type string

The type of plug-in to search for

id Guid

The Id of the desired plug-in

Returns

IPlugInInstance

The requested plug-in

Exceptions

Exception

If the desired plug-in is not found

Connect with Ansys