Script Menu

The commands in this menu can be added to a Script window to automate the execution of these and other ME'scope commands.

Display | Sine Dwell Cycles per Shape

Sets the number of Dwell Cycles per shape during Sweep animation from a Shape Table.

During Sweep animation from a Shape Table, the specified number of Dwell Cycles per shape is carried out before displaying the next shape in animation.

Parameter

  1. Number of Cycles

Shapes | Select a Shape

Selects (or un-selects) a Shape in the Shapes spreadsheet by its shape number.

Parameters

  1.  A shape number (can also be a Macro Variable)

  2. Select (yes or no).

  3. Un-select All First (yes or no)

Shapes | Select

Selects (or un-selects)  a range of shapes in the Shape Table.

Parameters

  1. A range of shapes (1,2,3,,,; 1-3; all)

  2. Select (yes or no).

  3. Un-select All First (yes or no)

Shapes | Color

Changes the color of all (or selected) shapes in the Shapes spreadsheet

Parameter

  1. Shape Color (from color pallet)

Shapes | Label

Changes the label of all (or selected) shapes in the Shapes spreadsheet

Parameter

  1. Label (text)

Shapes | Frequency

Changes the frequency of all (or selected) shapes in the Shapes spreadsheet

Parameter

  1. Frequency value (in Hz)

Shapes | Damping

Changes the damping of all (or selected) shapes in the Shapes spreadsheet

Parameter

  1. Damping (in Hz)

Shapes | Copy Shapes parameters to Clipboard

Copies rows & columns of data from the Shapes spreadsheet to the Windows Clipboard.

Row & Column numbers start at "1", and exclude the Select Shapes column

Parameters

  1. Top Left Row

  2. Top Left Column

  3. Bottom Right Row

  4. Bottom Right Column

Shapes | Paste Clipboard data into Shapes

Pastes data from the Windows Clipboard into the Shapes spreadsheet

Row & Column numbers start at "1", and exclude the Select Shapes column

Parameters

  1. Top Left Row

  2. Top Left Column

  3. Bottom Right Row

  4. Bottom Right Column

Shapes | Copy Shape parameter to Variable

Copies a cell (row & column) of data from the Shapes spreadsheet in a Shape Table to a Global Variable.

Row & Column numbers start at "1", and exclude the Select Shapes column

Parameters

  1. Row

  2. Column

  3. Variable Name

Shapes | Paste Variable to Shape parameter

Pastes a Global variable value into a cell (row & column) of the Shapes spreadsheet in a Shape Table.

Row & Column numbers start at "1", and exclude the Select Shapes column

Parameters

  1. Row

  2. Column

  3. Variable Name

Shapes | Create Data Block

Stores each shape from a Shape Table into a Data Block as an ODS at the frequency or time of the shape.  Each shape component (M#) in the M#s spreadsheet of the Shape Table becomes a sample of data for an M# in the Data Block. Each shape can be displayed in animation on a connected Structure window model by placing the Line cursor at the frequency/time of the shape.

Parameters

  1. Destination Data Block

  2. Source Shape Table

M#s | Select

Selects or un-selects a range of M#s in the M#s spreadsheet.

Parameters

  1. M#s (1,2,3,,,; 1-3; all)

  2. Select (yes or no).

  3. Un-select All First (yes or no)

M#s | Select an M#

Selects or un-selects an M# in the M#s spreadsheet

Parameters

  1. M# (can also be a Macro Variable)

  2. Select (yes or no).

  3. Un-select All First (yes or no)

M#s | Color

Changes the color of all (or selected) M#s in the M#s spreadsheet

Parameter

  1. M# Color (from color pallet)

M#s | Label

Changes the label of all (or selected) M#s in the M#s spreadsheet

Parameter

  1. Label (text)

M#s | DOF

Changes the DOF of all (or selected) M#s in the M#s spreadsheet

Parameter

  1. DOF (point & direction)

M#s | Units

Changes the units of all (or selected) M#s in the M#s spreadsheet

Parameter

  1. Units (g, N, lbs,...)

M#s | Measurement Type

Changes the Measurement Type of all (or selected) M#s in the M#s spreadsheet

Parameter

  1. Measurement Type (drop down list)

M#s | Copy M#s parameters to Clipboard

Copies rows & columns of data from the M#s spreadsheet to the Windows Clipboard.

Row & Column numbers start at "1", and exclude the Select M#s column.

Parameters

  1. Top Left Row

  2. Top Left Column

  3. Bottom Right Row

  4. Bottom Right Column

M#s | Paste Clipboard data into M#s parameters

Pastes data from the Windows Clipboard into rows & columns of the M#s spreadsheet.

Row & Column numbers start at "1", and exclude the Select M#s column.

Parameters

  1. Top Left Row

  2. Top Left Column

  3. Bottom Right Row

  4. Bottom Right Column

M#s | Copy M# parameter to Variable

Copies a cell (row & column) of data from the M#s spreadsheet to a Global Variable.

Row & Column numbers start at "1", and exclude the Select M#s column.

Parameters

  1. Row

  2. Column

  3. Variable Name

M#s | Paste Variable to M# parameter

Pastes a Macro Variable value into a cell (row & column) in the M#s spreadsheet.

Row & Column numbers start at "1", and exclude the Select M#s column.

Parameters

  1. Row

  2. Column

  3. Variable Name

Math | Add an Offset

Adds an offset to the values of all (or selected) M#s for all (or selected) shapes in the Shape Table.

Parameter

  1. Offset value

Math | Invert M#s

Inverts the values of all (or selected) M#s for all (or selected) shapes in the Shape Table.

Math | Scale M#s by Mag & Phs

Scales the magnitude & phase of the values of all (or selected) M#s for all (or selected) shapes in the Shape Table.

Parameters

  1. Magnitude value

  2. Phase values

Math | Square M#s

Squares the values of all (or selected) M#s for all or selected shapes in the Shape Table.

Math | Square Root of M#s

Takes the square root of the values of all (or selected) M#s for all or selected shapes in the Shape Table.

Math | Add two M#s

Adds together values of first & second M#s and stores the sum in the result M# for all or selected shapes in the Shape Table.

Parameters

  1. First M#

  2. Second M#

  3. Result M#

Math | Subtract two M#s

Subtracts the second from first M# value and stores the difference in the result M# for all or selected shapes in the Shape Table.

Parameters

  1. First M#

  2. Second M#

  3. Result M#

Math | Multiply two M#s

Multiplies first & second M# values together and stores the result in the result M# for all or selected shapes in the Shape Table.

Parameters

  1. First M#

  2. Second M#

  3. Result M#

Math | Divide two M#s

Divides the first by the second M# value and stores the result in the result M# for all or selected shapes in the Shape Table.

Parameters

  1. First M#

  2. Second M#

  3. Result M#