<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.labrps.com/index.php?action=history&amp;feed=atom&amp;title=App_RPSFeature</id>
	<title>App RPSFeature - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.labrps.com/index.php?action=history&amp;feed=atom&amp;title=App_RPSFeature"/>
	<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=App_RPSFeature&amp;action=history"/>
	<updated>2026-04-06T18:11:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://wiki.labrps.com/index.php?title=App_RPSFeature&amp;diff=2057&amp;oldid=prev</id>
		<title>LabRPS: Created page with &quot;{{TOCright}}  == Introduction ==   32px  An App RPSFeature object, or formally an {{incode|App::RPSFeature}}, is the base class of most objects that will allow the creation of random phenomenon simulation related objects.  800px  {{Caption|Simplified diagram of the relationships between the core objects in LabRPS}}  == Usage ==   The App RPSFeature is an internal object, so it can...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=App_RPSFeature&amp;diff=2057&amp;oldid=prev"/>
		<updated>2024-10-28T16:33:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{TOCright}}  == Introduction ==   &lt;a href=&quot;/File:Feature.svg&quot; title=&quot;File:Feature.svg&quot;&gt;32px&lt;/a&gt;  An &lt;a href=&quot;/App_RPSFeature&quot; title=&quot;App RPSFeature&quot;&gt;App RPSFeature&lt;/a&gt; object, or formally an {{incode|App::RPSFeature}}, is the base class of most objects that will allow the creation of random phenomenon simulation related objects.  &lt;a href=&quot;/File:LabRPS_core_objects.svg&quot; title=&quot;File:LabRPS core objects.svg&quot;&gt;800px&lt;/a&gt;  {{Caption|Simplified diagram of the relationships between the core objects in LabRPS}}  == Usage ==   The &lt;a href=&quot;/App_RPSFeature&quot; title=&quot;App RPSFeature&quot;&gt;App RPSFeature&lt;/a&gt; is an internal object, so it can...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
== Introduction == &lt;br /&gt;
&lt;br /&gt;
[[File:Feature.svg|32px]]&lt;br /&gt;
&lt;br /&gt;
An [[App_RPSFeature|App RPSFeature]] object, or formally an {{incode|App::RPSFeature}}, is the base class of most objects that will allow the creation of random phenomenon simulation related objects.&lt;br /&gt;
&lt;br /&gt;
[[File:LabRPS_core_objects.svg|800px]]&lt;br /&gt;
&lt;br /&gt;
{{Caption|Simplified diagram of the relationships between the core objects in LabRPS}}&lt;br /&gt;
&lt;br /&gt;
== Usage == &lt;br /&gt;
&lt;br /&gt;
The [[App_RPSFeature|App RPSFeature]] is an internal object, so it cannot be created from the graphical interface. It is generally not meant to be used directly, rather it can be sub-classed to get a bare-bones object.&lt;br /&gt;
&lt;br /&gt;
Some of the most important derived objects are the following:&lt;br /&gt;
* The [[WindLab_Feature|WindLab Feature]] class, the parent of most objects for the simulation of random wind velocity.&lt;br /&gt;
* The [[SeismicLab_Feature|SeismicLab Feature]] class, the parent of most objects made from the simulation of seismic ground motion.&lt;br /&gt;
* The [[SeaLab_Feature|SeaLab Feature]] class, the parent of most objects for the simulation of random sea surface.&lt;br /&gt;
&lt;br /&gt;
When creating this object in [[Python|Python]], instead of sub-classing {{incode|App::RPSFeature}}, you should sub-class {{incode|App::SimulationPython}} because the latter includes a default view provider, and {{incode|Proxy}} attributes for the object itself, and its view provider. See [[App_RPSFeature#Scripting|Scripting]].&lt;br /&gt;
&lt;br /&gt;
== Properties App RPSFeature == &lt;br /&gt;
&lt;br /&gt;
See [[Property|Property]] for all property types that scripted objects can have.&lt;br /&gt;
&lt;br /&gt;
The [[App_RPSFeature|App RPSFeature]] ({{incode|App::RPSFeature}} class) is derived from the basic [[App_DocumentObject|App DocumentObject]] ({{incode|App::DocumentObject}} class) and inherits all its properties.&lt;br /&gt;
&lt;br /&gt;
== Properties App SimulationPython == &lt;br /&gt;
&lt;br /&gt;
See [[Property|Property]] for all property types that scripted objects can have.&lt;br /&gt;
&lt;br /&gt;
The [[App_RPSFeature|App SimulationPython]] ({{incode|App::SimulationPython}} class) is derived from the basic [[App_RPSFeature|App RPSFeature]] ({{incode|App::RPSFeature}} class) and inherits all its properties. It also has several additional properties.&lt;br /&gt;
&lt;br /&gt;
These are the properties available in the [[Property_editor|property editor]]. Hidden properties can be shown by using the {{MenuCommand|Show all}} command in the context menu of the [[Property_editor|property editor]].&lt;br /&gt;
&lt;br /&gt;
=== Data === &lt;br /&gt;
&lt;br /&gt;
{{TitleProperty|Base}}&lt;br /&gt;
&lt;br /&gt;
* {{PropertyData|Proxy|PythonObject|Hidden}}: a custom class associated with this object.&lt;br /&gt;
* {{PropertyData|Label|String}}: the user editable name of this object, it is an arbitrary UTF8 string.&lt;br /&gt;
* {{PropertyData|Label2|String|Hidden}}: a longer, user editable description of this object, it is an arbitrary UTF8 string that may include newlines. By default, it is an empty string {{value|&amp;quot;&amp;quot;}}.&lt;br /&gt;
* {{PropertyData|Expression Engine|ExpressionEngine|Hidden}}: a list of expressions. By default, it is empty {{value|[]}}.&lt;br /&gt;
* {{PropertyData|Visibility|Bool|Hidden}}: whether to display the object or not.&lt;br /&gt;
&lt;br /&gt;
=== View === &lt;br /&gt;
&lt;br /&gt;
{{TitleProperty|Base}}&lt;br /&gt;
* {{PropertyView|Proxy|PythonObject|Hidden}}: a custom [[Viewprovider|viewprovider]] class associated with this object.&lt;br /&gt;
&lt;br /&gt;
{{TitleProperty|Display Options}}&lt;br /&gt;
* {{PropertyView|Show In Tree|Bool}}: see the information in [[App_FeaturePython|App FeaturePython]].&lt;br /&gt;
* {{PropertyView|Visibility|Bool}}: see the information in [[App_FeaturePython|App FeaturePython]].&lt;br /&gt;
&lt;br /&gt;
{{TitleProperty|Selection}}&lt;br /&gt;
* {{PropertyView|On Top When Selected|Enumeration}}: see the information in [[App_FeaturePython|App FeaturePython]].&lt;br /&gt;
* {{PropertyView|Selection Style|Enumeration}}: see the information in [[App_FeaturePython|App FeaturePython]].&lt;br /&gt;
&lt;br /&gt;
== Scripting == &lt;br /&gt;
&lt;br /&gt;
{{Emphasis|See also:}} [[LabRPS_Scripting_Basics|LabRPS Scripting Basics]] and [[Scripted_objects|scripted objects]].&lt;br /&gt;
&lt;br /&gt;
A RPSFeature is created with the {{incode|addObject()}} method of the document.&lt;br /&gt;
&lt;br /&gt;
{{Code|code=&lt;br /&gt;
import LabRPS as App&lt;br /&gt;
&lt;br /&gt;
doc = App.newDocument()&lt;br /&gt;
obj = App.ActiveDocument.addObject(&amp;quot;App::Feature&amp;quot;, &amp;quot;Name&amp;quot;)&lt;br /&gt;
obj.Label = &amp;quot;Custom label&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Document_objects_navi}}&lt;br /&gt;
{{Userdocnavi}}&lt;/div&gt;</summary>
		<author><name>LabRPS</name></author>
	</entry>
</feed>