﻿ How to edit parameters in a dialog-box

# How to edit parameters in a dialog-box

As we build a model, we do these steps:

STEP 2:   Open the Element's dialog-box - see How to open a dialog-box

STEP 3:  Edit the Element's Parameters in the dialog-box

This topic reviews how to edit parameters in its dialog-box.

### A typical Dialog-Box and Parameter.

The image below is a typical dialog-box. It is the Edit Dimension dialog-box.

It has only one parameter and data-box.

In this image of the Dimension dialog-box. I have added a 'window' to help us focus on the parameter.

There are three parts to the parameter:

 68.2499 'Data-value' in the 'data-box' - this is the actual 'parameter' value that you apply to the element.
 10 Spin-Increment value

### How to edit parameters in a dialog-box.

There are three different procedures to edit a parameters value.

#### Method 1: Use your Keyboard

Enter the data-value directly:

 1 Enter the data-value with your keyboard
 2 Press the Enter key on your keyboard to update to the new value

You must press the 'Enter' key (also called the Return key) to update the value.

Enter a 'symbolic equation' which will evaluate to the data-value:

 1 Enter an equation with your keyboard
 2 Press the 'Enter'  on your keyboard to evaluate the equation and update the value

You must use the 'Enter' key to update the parameter to the new value.

The 'Enter' key is also called the 'Return' key.

 • Simple Arithmetic: +, –, *, /;
 • Powers: ^, Sqrt();
 • Trigonometric: Angles are Radians, pi, Sin(), Cos(), Tan(), Sinh, Cosh, Tansh, ArcSin(), ArcCos(), ArcTan2( ; )

#### Method 2: Use the 'Spin-Box' tool

The Spin-Box has two rows of arrowhead buttons:

Click to edit the data-value by the spin-increment

Click to edit the Spin-Increment

In the image, the:

 • Data-value is 67.12345.
 • Spin-increment' is 1 .

Edit the Data Value with the top arrowhead buttons in the Spin-Box

 1 Click the Top arrow-buttons to change the Data Value by the Spin-Increment:
 • Top and left arrow button to reduce the data-value to 67.12345 – Spin-Increment = 66.12345
 • Top and right arrow button to increase the data-value to 67.12345 + Spin-Increment = 68.12345

Edit the Spin-Increment with the bottom arrowhead button in the Spin-Box

 2 Click the Bottom arrow-buttons to change the Spin-Increment:
 • Bottom and left arrow button to reduce the spin-increment to 1 ÷ 10 = 0.1
 • Bottom and right arrow button to increase the spin-increment to 1 × 10 = 10

WARNING: The model re-builds each time you click the top arrow buttons in the spin-data tool.
When the number-of-steps is high, and the model is complex, use your keyboard to enter a data-value directly, or, de-select the Auto-Update.

 Show / Hide the Spin-Box
 < > 'Double-Click' Double-click inside the data-box to hide the Spin-Box. Double-click the data-box again to show the spin-box.

#### Method 3: Use the Zero/Round contextual menu

'Zero' or 'Round' data

 1 Right-click inside the data box

The 'Zero / Round' contextual menu shows.

 2 Click:
 • Zero: to make the data value Zero.
 • Round: to change the data to the nearest value that is exactly divisible by the Spin-Increment

Help Files for MechDesigner and MotionDesigner 11.1 + © Machine, Mechanism, Motion and Cam Design Software by PSMotion Ltd