<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lightforge.proactivellc.net/w/index.php?action=history&amp;feed=atom&amp;title=Addons</id>
	<title>Addons - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lightforge.proactivellc.net/w/index.php?action=history&amp;feed=atom&amp;title=Addons"/>
	<link rel="alternate" type="text/html" href="https://lightforge.proactivellc.net/w/index.php?title=Addons&amp;action=history"/>
	<updated>2026-06-03T09:29:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://lightforge.proactivellc.net/w/index.php?title=Addons&amp;diff=145&amp;oldid=prev</id>
		<title>LightForge: +cat</title>
		<link rel="alternate" type="text/html" href="https://lightforge.proactivellc.net/w/index.php?title=Addons&amp;diff=145&amp;oldid=prev"/>
		<updated>2022-04-19T00:50:06Z</updated>

		<summary type="html">&lt;p&gt;+cat&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:50, 18 April 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l77&quot;&gt;Line 77:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 77:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On this page you can find sample code for learning how to create addons.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On this page you can find sample code for learning how to create addons.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Sample Addons]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Sample Addons]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: LightForge]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>LightForge</name></author>
	</entry>
	<entry>
		<id>https://lightforge.proactivellc.net/w/index.php?title=Addons&amp;diff=6&amp;oldid=prev</id>
		<title>LightForge: Created page with &quot;=Introduction= The Lightforge API allows you to create new tools, new input and output methods, automate complex operations, and much more.  Lightforge addons are written in IronPython. IronPython is an open-source implementation of the Python programming language which is tightly integrated with the .NET Framework. It allows you to use both .Net and Python libraries and allows very tight integration between Lightforge and addons. For more information on IronPython you c...&quot;</title>
		<link rel="alternate" type="text/html" href="https://lightforge.proactivellc.net/w/index.php?title=Addons&amp;diff=6&amp;oldid=prev"/>
		<updated>2022-01-12T22:47:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Introduction= The Lightforge API allows you to create new tools, new input and output methods, automate complex operations, and much more.  Lightforge addons are written in IronPython. IronPython is an open-source implementation of the Python programming language which is tightly integrated with the .NET Framework. It allows you to use both .Net and Python libraries and allows very tight integration between Lightforge and addons. For more information on IronPython you c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Introduction=&lt;br /&gt;
The Lightforge API allows you to create new tools, new input and output methods, automate complex operations, and much more.&lt;br /&gt;
&lt;br /&gt;
Lightforge addons are written in IronPython. IronPython is an open-source implementation of the Python programming language which is tightly integrated with the .NET Framework. It allows you to use both .Net and Python libraries and allows very tight integration between Lightforge and addons. For more information on IronPython you can visit [http://www.ironpython.net www.ironpython.net]. For more information on Python in general you can visit [http://www.python.org/doc/ www.python.org/doc/].&lt;br /&gt;
&lt;br /&gt;
==Your First Addon==&lt;br /&gt;
To create an addon go to Addon Menu and click Addon Settings. You will find a button labeled Addon Folder. Clicking this will open up the Lightforge addon folder.&lt;br /&gt;
&lt;br /&gt;
In this folder create a new folder named &amp;quot;Hello World&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Open the Hello World folder and create a new file named base.py. Open this file with your preferred Python editor, or Notepad if you have none.&lt;br /&gt;
&lt;br /&gt;
Type the code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
def onExecute():&lt;br /&gt;
	print(&amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Save the script, and return to Lightforge.&lt;br /&gt;
&lt;br /&gt;
In the Addon Settings dialog click &amp;quot;Reload Addons&amp;quot;, and if all went well, your addon will appear.&lt;br /&gt;
&lt;br /&gt;
Click the check box next to the Hello World addon to enable it, then close the Addon Settings Dialog.&lt;br /&gt;
&lt;br /&gt;
In the Addon menu the Hello World addon should be visible. Clicking on it will run the addon.&lt;br /&gt;
&lt;br /&gt;
Now in the Window menu click &amp;quot;Console&amp;quot;, this will open up the python console and you should see the text &amp;quot;Hello World!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Congratulations! You&amp;#039;ve made an addon!&lt;br /&gt;
&lt;br /&gt;
==Where To Go From Here==&lt;br /&gt;
I would suggest investigating the [[API]] and seeing what all there is to do. Also be sure to check out the [[Sample Addons]].&lt;br /&gt;
&lt;br /&gt;
=Addon Structure=&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==base.py==&lt;br /&gt;
This is the entry point for your addon. It&amp;#039;s the script file that Lightforge interacts with directly.&lt;br /&gt;
&lt;br /&gt;
==addonInfo.xml==&lt;br /&gt;
This xml file gives Lightforge additional information about your addon. This info will appear in the Addon Settings panel.&lt;br /&gt;
&lt;br /&gt;
The addonInfo.xml file can contain the following information:&lt;br /&gt;
&lt;br /&gt;
===Author===&lt;br /&gt;
The author of the addon.&lt;br /&gt;
===Version===&lt;br /&gt;
The current version number.&lt;br /&gt;
===Website===&lt;br /&gt;
A website associated with this addon.&lt;br /&gt;
===Support===&lt;br /&gt;
An email address or website for providing addon support.&lt;br /&gt;
&lt;br /&gt;
===XML Structure===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;addonInfo&amp;gt;&lt;br /&gt;
	&amp;lt;author&amp;gt;Visual Sorcery&amp;lt;/author&amp;gt;&lt;br /&gt;
	&amp;lt;version&amp;gt;1.0.0&amp;lt;/version&amp;gt;&lt;br /&gt;
	&amp;lt;website&amp;gt;http://www.visualsorcery.com/&amp;lt;/website&amp;gt;&lt;br /&gt;
	&amp;lt;support&amp;gt;support@visualsorcery.com&amp;lt;/support&amp;gt;&lt;br /&gt;
&amp;lt;/addonInfo&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Classes=&lt;br /&gt;
==API==&lt;br /&gt;
This class contains all access for working with Lightforge.&lt;br /&gt;
&lt;br /&gt;
[[API]]&lt;br /&gt;
&lt;br /&gt;
==Addon==&lt;br /&gt;
This class gives you access to information about your addon.&lt;br /&gt;
&lt;br /&gt;
[[Addon]]&lt;br /&gt;
&lt;br /&gt;
=Sample Addons=&lt;br /&gt;
On this page you can find sample code for learning how to create addons.&lt;br /&gt;
[[Sample Addons]]&lt;/div&gt;</summary>
		<author><name>LightForge</name></author>
	</entry>
</feed>