Std DlgParameter
Std DlgParameter |
Menu location |
---|
Tools → Edit parameters... |
Phenomena |
All |
Default shortcut |
None |
Introduced in version |
- |
See also |
Preferences Editor |
Description
The Std DlgParameter 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 user.cfg, the location of this file depends on your OS.
Working with the Parameter Editor requires some experience. For the most common parameters the Preferences Editor should be used instead.
The Parameter Editor dialog box
Usage
- Select the Tools → Edit parameters... option from the menu.
- The Parameter Editor dialog box opens. For more information see Options.
- Optionally press the Save to disk button to immediately update the user.cfg file. This is not required as LabRPS will automatically update that file when the application closes.
- Press the Close button to close the dialog box and finish the command.
Options
Left panel
The left panel shows a tree with parameter groups and sub-groups.
The following options are available in the panel's context menu:
Expand/Collapse
- 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.
Add sub-group
- Select a group.
- Select the Add sub-group option from the context menu.
- Enter a name for the new sub-group in the dialog box that opens.
- Press the OK button.
Remove group
- Select a group.
- Select the Remove group option from the context menu.
- Press the 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).
Rename group
- Select a group.
- Select the Rename group option from the context menu.
- Enter a new name.
- A group can also be renamed by double-clicking it.
Export parameter
- Select a group.
- Select the Export parameter option from the context menu.
- Enter a filename in the dialog box.
- Press the Save button.
Import parameter
- Select a group that does not contain any sub-groups or remove them first. Any existing parameters in the group will be lost.
- Select the Import parameter option from the context menu.
- Select an *.FCParam file in the dialog box.
- Press the Open button.
Right panel
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.
The following options are available in the panel's context menu:
Change value
- Select a parameter.
- Select the Change value option from the context menu.
- Enter a new value in the dialog box that opens.
- Press the OK button.
- A parameter's value can also be changed by double-clicking its 'Type' or 'Value' field.
Remove key
- Select a parameter.
- Select the Remove key option from the context menu.
Rename key
- Select a parameter.
- Select the Rename key option from the context menu.
- Enter a new name.
- A parameter can also be renamed by double-clicking its 'Name' field.
New string item
- Select the New string item or New → New string item option from the context menu.
- Enter a name in the dialog box that opens.
- Press the OK button.
- Enter a value in the next dialog box.
- Press the OK button.
New float item
- Select the New float item or New → New float item option from the context menu.
- The next steps are similar to those for a New string item
New integer item
- Select the New integer item or New → New integer item option from the context menu.
- The next steps are similar to those for a New string item
New unsigned item
- Select the New unsigned item or New → New unsigned item option from the context menu.
- The next steps are similar to those for a New string item
New Boolean item
- Select the New Boolean item or New → New Boolean item option from the context menu.
- The next steps are similar to those for a New string item
Sorting
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 'Group' or 'Name' header respectively.
Quick search
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.
Find
- 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.
- Press the Find... button.
- Enter a string in the Find what input box. The search is case-insensitive.
- Check one or more of the Groups, Names and Values checkboxes. Note that only string values will be searched.
- Optionally (un)check the Match whole string only checkbox.
- Press the 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.
- 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.
- Use the Cancel button to close the dialog box.
Scripting
See also: Autogenerated API documentation and LabRPS Scripting Basics.
Preferences can be accessed from Python scripts using their corresponding path in the Parameter Editor. For example, the Edit → Preferences → Import-Export → DXF → Import options → Join geometry preference appears in Tools → Edit parameters → BaseApp → Preferences → Mod → Draft → dxfCreatePart and has type Boolean
. It can therefore be accessed in Python using the following code:
# get: App.ParamGet("User parameter:BaseApp/Preferences/Mod/MyWorkbench").GetBool('myParameter') # set: App.ParamGet("User parameter:BaseApp/Preferences/Mod/MyWorkbench").SetBool('myOtherParameter', True)
- File: New document, New Table, New Matrix, New Graph, New 2D Plot, New 3D Plot, Open..., Open Recent, Close, Close All, Save, Save As..., Save a Copy..., Save All, Revert, Import..., Export..., Merge project..., Document information..., Print..., Print preview..., Export PDF...Exit
- Edit: Undo, Redo, Cut, Copy, Paste, Duplicate selection, Refresh, Select All, Delete, Preferences...
- View: Fullscreen, Workbench, Sync view, Record selection, Single document, Multi document, Collapse/Expand, Initiate dragging, Go to selection, Selection back, Selection forward, Status bar
- Tools: Edit parameters..., Export dependency graph..., Project utility..., Alphaplot, Line, Scatter, Scatter, Scatter With X Err, Scatter With Y Err, Scatter With XY Err, Line + Symbol, Special Line + Symbol, Vertical Drop Lines, Spline, Vertical Steps, Horizontal Steps, Vertical Bars, Vertical Stacked Bars, Vertical Grouped Bars ,Horizontal Bars, Horizontal Stacked Bars, Horizontal Grouped Bars, Area, Channel Fil, Pie, Half Pie, Vectors XYXY, Vectors XYAM, Statistical Graph, Box Plot, Histogram, Stacked Histogram, 3D Plot, Bar, Scatter, Layout Grids, Vertical 2 Layouts, Horizontal 2 Layouts, 4(2x2) Layouts, 3D Wire Frame, 3D Surface, 3D Wire Frame Surface, Bar, Scatter, Contour + Color Fill, Countour Lines, Gray Scale Map, 3D Wire Frame Polar, 3D Surface Polar, 3D Wire Frame Surface Polar, 3D Scatter Polar, Polar spectrogram, Graph, Add/Remove Plot xy/xy..., Add Function..., Add Error Bars..., Add/Remove Other Plots..., Add/Remove Plot y..., Add/Remove Vector Plot..., Add Axis..., Add Left Axis, Add Bottom Axis, Add Right Axis, Add Top Axis, Legend Reorder, Add Text, Add Time Stamp, Add Image, Draw Line, Draw Arrow, Draw Ellipse, Add Nested Layout, Add Layout, Add Up, Add Down, Add Left, Add Right, Remove Layout, Swap Layouts..., Graph Tolls, Disable Tools, Data Rearder, Screen Reader, Select Data Range, Move Data Points, Remove Bad Data Points..., Drag Range, Zoom Range, Rescale To Show All, Table, Set Column(s) As, X, Y, Z, X Error, Y Error, None, Fill Selection With, Row Numbers, , Random Values, Custom Random, Show Comments, Show Controls, Formula Edit Mode, Edit Column Description, Change Type & Format, Clear Table, Sort Table, Assign Formula, Recalculate, Add Column, Go To Cell, Export ASCII..., Convert To Matrix, Matrix, Hide Controls, Set Coordinates, Set Display Format, Assign Formula, Recalculate, Clear Matrix, Transpose, Mirror Horizontally, Mirror Vertically, Import Image, Go To Cell, Invert, Determinant, Convert To Table, Add text document, Group, Units Calculator,Customize..., RPS Features..., Addon manager
- Macro: Macro recording, Macros, Recent macros, Execute macro, Attach to remote debugger, Debug macro, Stop debugging, Step over, Step into, Toggle breakpoint
- Help: Help, LabRPS Website, Donate, Users documentation, Python scripting documentation, Automatic Python modules documentation, LabRPS Forum, LabRPS FAQ, Report a bug, About LabRPS, What's This
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, AppImage
- Basics: About LabRPS, Interface, RPS Objects, Object name, Preferences, Workbenches, Document structure, Properties, Help LabRPS, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, WindLab, SeismicLab, SeaLab, UserLab, Spreadsheet, Plot, Web
- Hubs: User hub, Power users hub, Developer hub