﻿ How to edit a Parameter in a Dialog-Box

# How to edit a Parameter in a Dialog-Box

## Add and Edit elements.

As we build a model, we do these steps:

STEP 1:   Add an Element

STEP 2:   Open the Element's dialog-box -

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

### A typical dialog-box and Parameter.

This topic is STEP 3: Edit the element's parameters in its dialog-box.

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

It has one parameter [Dimension] and data-box [currently set to 300].

In this image of the Dimension dialog-box, I have added a 'window' to highlight the parameter box.

The three areas of the parameter box are:

 300 Parameter value - the data value that you edit and apply to the element.
 10 Spin-Increment value - edit this with the arrows at the bottom of the Spin-Box control

Spin-Box control: arrowheads - see below

If you cannot see the Spin-Box:

 • Double-click in the Parameter value box

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

There are three different procedures you can use to edit a parameter in a dialog-box.

#### 1: Enter the Parameter Value with your Keyboard

Enter a value directly:

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

You must press the Enter key.

Enter a value as a symbolic equation:

 1 Use your keyboard to enter an equation
 2 Press the Enter on your keyboard to update to the new value

You must press the Enter key

Symbolic parameters for an Equation:

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

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

Spin-Box arrowhead buttons [in the CYAN-BOX]

Top : Left arrowhead to decrease the data-value by the Spin-Increment

Top : Right arrowhead to increase the data-value by the Spin-Increment

Bottom : Left arrowhead to divide [÷] the Spin-Increment by 10

Bottom : Left arrowhead to multiply[×] the Spin-Increment by 10

Example : Use of the Spin-Box tool with the Dimension parameter, above

Edit the Data Value by the Spin-Increment

 • Click the Top & Left arrowhead: Decrease the data-value by the Spin-Increment. Data-value after one click: 67.12345 – Spin-Increment = 66.12345
 • Click the Top & Right arrowhead: Increase the data-value by the Spin-Increment Data-value after one click: 67.12345 + Spin-Increment = 68.12345

Edit the Spin-Increment

 • Click the Bottom & Left arrowhead: Divide the Spin-Increment by 10 Data-value after one click: 1 ÷ 10 = 0.1
 • Click the Bottom & Right arrowhead: Multiply the Spin-Increment by 10 Data-value after one click: 1 × 10 = 10

WARNING: The model re-builds each time you click the top arrowhead buttons in the Spin-Box tool. If the model is complex, there is a long time to update the model.

#### 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.

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

Use the 'Zero' / 'Round' menu:

 1 Right-click inside the data box

The 'Zero / Round' contextual-menu shows.

 2 Click:
 • Zero: value becomes = 0.
 • Round: value becomes nearest value that is exactly divisible by the Spin-Increment.

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