XSIApplication.Plugins

導入

v4.0

詳細

現在 Softimage に読み込まれている全自己インストールプラグインのコレクションを PluginCollection として戻します。

C#構文

// get accessor

PluginCollection rtn = XSIApplication.Plugins;

1. Python の例

# 

# This example demonstrates how to find all the plug-ins currently 

# registered in Softimage that implement a shader parser

#

oPC = Application.Plugins

for p in oPC :

	for pi in p.Items :

		if pi.Type == "Shader Language Parser" :

			Application.LogMessage(p.Name + " is a parser plug-in")

# This is the realtime shader parser plug-in shipped with Softimage:

# INFO : HWParsers is a parser plug-in

2. VBScript の例

'

'	This example displays information for all loaded plug-ins

'

set plgs = Application.Plugins

for each p in plgs

	LogMessage "Name: " 	& p.Name

	LogMessage "Author: " 	& p.Author

	LogMessage "Major: " 	& p.Major

	LogMessage "Minor: " 	& p.Minor

	LogMessage "Language: "	& p.Language

	LogMessage "Filename: "	& p.Filename

	LogMessage "URL: " 	& p.URL

	LogMessage "Email: " 	& p.Email

	LogMessage "Loaded: " 	& p.Loaded

next

関連項目

XSIApplication.LoadPlugin XSIApplication.UnloadPlugin Plugin Callbacks for Self-installing Plug-ins