Addons

From Light Forge Wiki
Revision as of 16:31, 9 May 2013 by Chris Monson (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Structure

The file structure of a Lightforge addon is very simple. It consists of a folder with at least one required script file named base.py, and optionally a xml file named addonInfo.xml.

base.py

This is the entry point for your addon. It's the script file that Lightforge interacts with directly.

addonInfo.xml

This xml file gives Lightforge additional information about your addon. This info will appear in the Addon Settings panel.

The addonInfo.xml file can contain the following information:

Author

The author of the addon.

Version

The current version number.

Website

A website associated with this addon.

Support

An email address or website for providing addon support.

XML Structure

  <addonInfo>

<author>Visual Sorcery</author> <version>1.0.0</version> <website>http://www.visualsorcery.com/</website> <support>support@visualsorcery.com</support>

  </addonInfo>

Classes

API

This class contains all access for working with Lightforge. API

Addon

This class gives you access to information about your addon. Addon

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox