Option

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > Options >

Option

Description

Sets an option value

Syntax

call DBWShell("Option OptionName OptionValue")

Parameters

OptionName

name of the option to set

OptionValue

value of the option to set

Remarks

The saving of modified options is not executed each time you call the Option command; you have to do it explicitly by using the DBWShell("SaveOptions") command.

Related topics

Option
GetOption
DBWSetOption
DBWGetOption
SaveOptions
ListOptionsReadWrite
Readable and writeable options
Categorized list

Example

DBWShell("Option NO_INPUT_SAVE_MODE 1")
'Sets the no-input save mode
DBWShell("Option PLOT_OUTPUT_DIRECTORY F:\MyPlotFiles\")
'Sets the plot files output root directory
'(please note the ENDING back slash)
DBWShell("SaveOption")