<?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=Std_DlgParameter</id>
	<title>Std DlgParameter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.labrps.com/index.php?action=history&amp;feed=atom&amp;title=Std_DlgParameter"/>
	<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=Std_DlgParameter&amp;action=history"/>
	<updated>2026-05-02T13:56:59Z</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=Std_DlgParameter&amp;diff=1910&amp;oldid=prev</id>
		<title>LabRPS: Created page with &quot;{{Docnav | |ProjectUtil |Std Tools Menu |IconL= |IconR=Std_ProjectUtil.svg |IconC=Labrps.svg }}  {{GuiCommand |Name=Std DlgParameter |MenuLocation=Tools → Edit parameters... |Phenomena=All |SeeAlso=Preferences Editor }}  ==Description==  The &#039;&#039;&#039;Std DlgParameter&#039;&#039;&#039; command opens the Parameter Editor. In the Parameter Editor the parameters that control the behavior of LabRPS and its workbenches can be inspecte...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.labrps.com/index.php?title=Std_DlgParameter&amp;diff=1910&amp;oldid=prev"/>
		<updated>2024-10-26T16:13:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Docnav | |&lt;a href=&quot;/Std_ProjectUtil&quot; title=&quot;Std ProjectUtil&quot;&gt;ProjectUtil&lt;/a&gt; |&lt;a href=&quot;/Std_Tools_Menu&quot; title=&quot;Std Tools Menu&quot;&gt;Std Tools Menu&lt;/a&gt; |IconL= |IconR=Std_ProjectUtil.svg |IconC=Labrps.svg }}  {{GuiCommand |Name=Std DlgParameter |MenuLocation=Tools → Edit parameters... |Phenomena=All |SeeAlso=&lt;a href=&quot;/Preferences_Editor&quot; title=&quot;Preferences Editor&quot;&gt;Preferences Editor&lt;/a&gt; }}  ==Description==  The &amp;#039;&amp;#039;&amp;#039;Std DlgParameter&amp;#039;&amp;#039;&amp;#039; command opens the Parameter Editor. In the Parameter Editor the parameters that control the behavior of LabRPS and its workbenches can be inspecte...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Docnav&lt;br /&gt;
|&lt;br /&gt;
|[[Std_ProjectUtil|ProjectUtil]]&lt;br /&gt;
|[[Std_Tools_Menu|Std Tools Menu]]&lt;br /&gt;
|IconL=&lt;br /&gt;
|IconR=Std_ProjectUtil.svg&lt;br /&gt;
|IconC=Labrps.svg&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{GuiCommand&lt;br /&gt;
|Name=Std DlgParameter&lt;br /&gt;
|MenuLocation=Tools → Edit parameters...&lt;br /&gt;
|Phenomena=All&lt;br /&gt;
|SeeAlso=[[Preferences_Editor|Preferences Editor]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Std DlgParameter&amp;#039;&amp;#039;&amp;#039; command opens the Parameter Editor. In the Parameter Editor the parameters that control the behavior of LabRPS and its workbenches can be inspected and optionally removed, added or changed. The parameters are stored in a file called {{FileName|user.cfg}}, the location of this file depends on your OS.&lt;br /&gt;
&lt;br /&gt;
Working with the Parameter Editor requires some experience. For the most common parameters the [[Preferences_Editor|Preferences Editor]] should be used instead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Std_DlgParameter_dialog.png]]&lt;br /&gt;
&lt;br /&gt;
{{Caption|The Parameter Editor dialog box}}&lt;br /&gt;
&lt;br /&gt;
==Usage== &lt;br /&gt;
&lt;br /&gt;
# Select the {{MenuCommand|Tools → [[Image:Std_DlgParameter.svg|16px]] Edit parameters...}} option from the menu.&lt;br /&gt;
# The &amp;#039;&amp;#039;&amp;#039;Parameter Editor&amp;#039;&amp;#039;&amp;#039; dialog box opens. For more information see [[#Options|Options]].&lt;br /&gt;
# Optionally press the {{Button|Save to disk}} button to immediately update the {{FileName|user.cfg}} file. This is not required as LabRPS will automatically update that file when the application closes.&lt;br /&gt;
# Press the {{Button|Close}} button to close the dialog box and finish the command.&lt;br /&gt;
&lt;br /&gt;
==Options== &lt;br /&gt;
&lt;br /&gt;
===Left panel=== &lt;br /&gt;
&lt;br /&gt;
The left panel shows a tree with parameter groups and sub-groups.&lt;br /&gt;
&lt;br /&gt;
The following options are available in the panel&amp;#039;s context menu:&lt;br /&gt;
&lt;br /&gt;
====Expand/Collapse==== &lt;br /&gt;
&lt;br /&gt;
# If a selected group has one or more sub-groups it can be expanded or collapsed by choosing this option from the context menu. But you can also expand and collapse the tree in the usual manner.&lt;br /&gt;
&lt;br /&gt;
====Add sub-group==== &lt;br /&gt;
&lt;br /&gt;
# Select a group.&lt;br /&gt;
# Select the {{MenuCommand|Add sub-group}} option from the context menu.&lt;br /&gt;
# Enter a name for the new sub-group in the dialog box that opens.&lt;br /&gt;
# Press the {{Button|OK}} button.&lt;br /&gt;
&lt;br /&gt;
====Remove group==== &lt;br /&gt;
&lt;br /&gt;
# Select a group.&lt;br /&gt;
# Select the {{MenuCommand|Remove group}} option from the context menu.&lt;br /&gt;
# Press the {{Button|Yes}} button in the dialog box that opens to confirm you want to remove the group (including all its sub-groups, and all parameters in the group and its sub-groups).&lt;br /&gt;
&lt;br /&gt;
====Rename group==== &lt;br /&gt;
&lt;br /&gt;
# Select a group.&lt;br /&gt;
# Select the {{MenuCommand|Rename group}} option from the context menu.&lt;br /&gt;
# Enter a new name.&lt;br /&gt;
# A group can also be renamed by double-clicking it.&lt;br /&gt;
&lt;br /&gt;
====Export parameter==== &lt;br /&gt;
&lt;br /&gt;
# Select a group.&lt;br /&gt;
# Select the {{MenuCommand|Export parameter}} option from the context menu.&lt;br /&gt;
# Enter a filename in the dialog box.&lt;br /&gt;
# Press the {{Button|Save}} button.&lt;br /&gt;
&lt;br /&gt;
====Import parameter==== &lt;br /&gt;
&lt;br /&gt;
# Select a group that does not contain any sub-groups or remove them first. Any existing parameters in the group will be lost.&lt;br /&gt;
# Select the {{MenuCommand|Import parameter}} option from the context menu.&lt;br /&gt;
# Select an {{FileName|*.FCParam}} file in the dialog box.&lt;br /&gt;
# Press the {{Button|Open}} button.&lt;br /&gt;
&lt;br /&gt;
===Right panel=== &lt;br /&gt;
&lt;br /&gt;
The right panel shows the parameters in the group selected in the left panel. If this group only contains sub-groups the right panel will be empty.&lt;br /&gt;
&lt;br /&gt;
The following options are available in the panel&amp;#039;s context menu:&lt;br /&gt;
&lt;br /&gt;
====Change value==== &lt;br /&gt;
&lt;br /&gt;
# Select a parameter.&lt;br /&gt;
# Select the {{MenuCommand|Change value}} option from the context menu.&lt;br /&gt;
# Enter a new value in the dialog box that opens.&lt;br /&gt;
# Press the {{Button|OK}} button.&lt;br /&gt;
# A parameter&amp;#039;s value can also be changed by double-clicking its &amp;#039;Type&amp;#039; or &amp;#039;Value&amp;#039; field.&lt;br /&gt;
&lt;br /&gt;
====Remove key==== &lt;br /&gt;
&lt;br /&gt;
# Select a parameter.&lt;br /&gt;
# Select the {{MenuCommand|Remove key}} option from the context menu.&lt;br /&gt;
&lt;br /&gt;
====Rename key==== &lt;br /&gt;
&lt;br /&gt;
# Select a parameter.&lt;br /&gt;
# Select the {{MenuCommand|Rename key}} option from the context menu.&lt;br /&gt;
# Enter a new name.&lt;br /&gt;
# A parameter can also be renamed by double-clicking its &amp;#039;Name&amp;#039; field.&lt;br /&gt;
&lt;br /&gt;
====New string item==== &lt;br /&gt;
&lt;br /&gt;
# Select the {{MenuCommand|New string item}} or {{MenuCommand|New → New string item}} option from the context menu.&lt;br /&gt;
# Enter a name in the dialog box that opens.&lt;br /&gt;
# Press the {{Button|OK}} button.&lt;br /&gt;
# Enter a value in the next dialog box.&lt;br /&gt;
# Press the {{Button|OK}} button.&lt;br /&gt;
&lt;br /&gt;
====New float item==== &lt;br /&gt;
&lt;br /&gt;
# Select the {{MenuCommand|New float item}} or {{MenuCommand|New → New float item}} option from the context menu.&lt;br /&gt;
# The next steps are similar to those for a [[#New_string_item|New string item]]&lt;br /&gt;
&lt;br /&gt;
====New integer item==== &lt;br /&gt;
&lt;br /&gt;
# Select the {{MenuCommand|New integer item}} or {{MenuCommand|New → New integer item}} option from the context menu.&lt;br /&gt;
# The next steps are similar to those for a [[#New_string_item|New string item]]&lt;br /&gt;
&lt;br /&gt;
====New unsigned item==== &lt;br /&gt;
&lt;br /&gt;
# Select the {{MenuCommand|New unsigned item}} or {{MenuCommand|New → New unsigned item}} option from the context menu.&lt;br /&gt;
# The next steps are similar to those for a [[#New_string_item|New string item]]&lt;br /&gt;
&lt;br /&gt;
====New Boolean item==== &lt;br /&gt;
&lt;br /&gt;
# Select the {{MenuCommand|New Boolean item}} or {{MenuCommand|New → New Boolean item}} option from the context menu.&lt;br /&gt;
# The next steps are similar to those for a [[#New_string_item|New string item]]&lt;br /&gt;
&lt;br /&gt;
===Sorting=== &lt;br /&gt;
&lt;br /&gt;
By default the groups in each tree level in the left panel are sorted alphabetically, and the parameters in the right  panel are sorted alphabetically as well. But the order in each panel can be reversed by clicking the &amp;#039;Group&amp;#039; or &amp;#039;Name&amp;#039; header respectively.&lt;br /&gt;
&lt;br /&gt;
===Quick search=== &lt;br /&gt;
&lt;br /&gt;
Typing a (partial) string in this input box will fully expand the tree in the left panel and highlight all groups with names that match the entered value. If no matches are found the background of the input box will turn red.&lt;br /&gt;
&lt;br /&gt;
===Find=== &lt;br /&gt;
&lt;br /&gt;
# In the left panel select the group where you want to start your search. The search direction is down. The search is not restricted to the group and its sub-groups, but rather the selected group and everything below it in the tree will be searched.&lt;br /&gt;
# Press the {{Button|Find...}} button.&lt;br /&gt;
# Enter a string in the &amp;#039;&amp;#039;&amp;#039;Find what&amp;#039;&amp;#039;&amp;#039; input box. The search is case-insensitive.&lt;br /&gt;
# Check one or more of the &amp;#039;&amp;#039;&amp;#039;Groups&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Names&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Values&amp;#039;&amp;#039;&amp;#039; checkboxes. Note that only string values will be searched.&lt;br /&gt;
# Optionally (un)check the &amp;#039;&amp;#039;&amp;#039;Match whole string only&amp;#039;&amp;#039;&amp;#039; checkbox.&lt;br /&gt;
# Press the {{Button|Find Next}} button to select the first group with a match. Matching parameters are not individually highlighted. Optionally repeat this until no further matches are be found.&lt;br /&gt;
# It is possible to start a new search without closing the dialog box. Again selecting the group from which to start searching is then usually required.&lt;br /&gt;
# Use the {{Button|Cancel}} button to close the dialog box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Scripting== &lt;br /&gt;
&lt;br /&gt;
See also: [https://labrps.github.io/SourceDoc/ Autogenerated API documentation] and [[LabRPS_Scripting_Basics|LabRPS Scripting Basics]].&lt;br /&gt;
&lt;br /&gt;
Preferences can be accessed from Python scripts using their corresponding path in the [[Std_DlgParameter|Parameter Editor]]. For example, the {{MenuCommand|Edit → Preferences → Import-Export → DXF → Import options → Join geometry}} preference appears in {{MenuCommand|Tools → Edit parameters → BaseApp → Preferences → Mod → Draft → dxfCreatePart}} and has type {{incode|Boolean}}. It can therefore be accessed in Python using the following code:&lt;br /&gt;
&lt;br /&gt;
{{Code|code=&lt;br /&gt;
# get:&lt;br /&gt;
App.ParamGet(&amp;quot;User parameter:BaseApp/Preferences/Mod/MyWorkbench&amp;quot;).GetBool(&amp;#039;myParameter&amp;#039;)&lt;br /&gt;
# set:&lt;br /&gt;
App.ParamGet(&amp;quot;User parameter:BaseApp/Preferences/Mod/MyWorkbench&amp;quot;).SetBool(&amp;#039;myOtherParameter&amp;#039;, True)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Docnav&lt;br /&gt;
|&lt;br /&gt;
|[[Std_ProjectUtil|ProjectUtil]]&lt;br /&gt;
|[[Std_Tools_Menu|Std Tools Menu]]&lt;br /&gt;
|IconL=&lt;br /&gt;
|IconR=Std_ProjectUtil.svg&lt;br /&gt;
|IconC=Labrps.svg&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Std_Base_navi}}&lt;br /&gt;
{{Userdocnavi}}&lt;/div&gt;</summary>
		<author><name>LabRPS</name></author>
	</entry>
</feed>