Plugin

Object Hierarchy | Related C++ Class: Plugin

Inheritance

    SIObject
       Plugin

Introduced

4.0

Description

The Plugin object holds read-only information on a particular plug-in registered in Softimage. Plug-in objects are filled in at plug-in registration time through the PluginRegistrar object and can be accessed through the PluginCollection (using the XSIApplication.Plugins property).

Methods

IsClassOf | IsEqualTo

Properties

Application | Author | Categories | Email
Filename | FullName | Help | Items
Language | Loaded | Major | Minor
Name | NestedObjects | Origin | OriginPath
Parent | Type | URL | UserData

Examples

VBScript Example

    on error resume next
    set allPlugins = Application.Plugins
    for each p in allPlugins
       Application.LogMessage "Name: " & p.Name
       Application.LogMessage "Author: " & p.Author
       Application.LogMessage "Major: " & p.Major
       Application.LogMessage "Minor: " & p.Minor
       Application.LogMessage "Language: " & p.Language
       Application.LogMessage "Filename: " & p.Filename
       Application.LogMessage "URL: " & p.URL
       Application.LogMessage "Email: " & p.Email
       Application.LogMessage "Help: " & p.Help
       Application.LogMessage "Origin: " & p.Origin
       Application.LogMessage "OriginPath: " & p.OriginPath
       Application.LogMessage "Loaded: " & p.Loaded

    for each cat in p.Categories
           Application.LogMessage "Category: " & pi.Name
    next

       for each pi in p.Items
           Application.LogMessage "Plug-in item: " & pi.Name &":"& pi.Type
       next
    next

See Also

PluginRegistrar | PluginItem | XSIApplication.Plugins

Autodesk Softimage v7.5