You are currently reviewing an older revision of this page.
Is there a way to define a variable through keyin?
Using configuration variables in key-insAs an alternative to using the Configuration dialog box (Workspace >Configuration ), you can define a configuration variable from the Key-inwindow using the key-in EXPAND SET. For example, to create aconfiguration variable MYFILE having as its value the name of the openDGN file, key in EXPAND SET MYFILE = $(_dgnfile) ? note that there mustbe a space both before and after =.You can also use configuration variables as parameters in key-ins. Forexample, to create a cell whose name is the name of the open DGN file(without the extension), key in $ CREATE CELL $(basename(_dgnfile)). Int his example the first $ is an alias for the key-in EXPAND KEYIN. Inother words, the key-in EXPAND KEYIN CREATE CELL $(basename(_d gnfile))is equivalent. The second $ indicates what follows in parentheses is aconfiguration variable.To check the value of a configuration variable, key in EXPAND ECHO $(<(><<)>configuration_variable>) ? for example, EXPAND ECHO $(MS_DESIGNSEED).
The value is displayed in Message Center.