Your Ad Here

Command Console

The command console consists of the command prompt and a scrollable command output window. By default the command console is below the project tree and working window. A user can move the console window to other position.

Most rapidform commands can be run by typing the name or its abbreviation into the command prompt. For the user convenience, if a user types buttons continuously without pause, the mouse cursor automatically moves to the command prompt.

A user can browse through a list of commands, and each command is accompanied by help information or balloon help.

While you are typing a command, Esc key clears the command prompt. If no command is active in the menu, you cannot run it in the command prompt either.

 

Basic Command:

1. help - shows the usage of any command

              (command) help  decimate ˇ¦ˇ¦show the usage of Decimate command

2. list - shows the list of commands

          (command) list  sel* ...Show all commands beginning by "sel"

          (command) list  /h sel* ...show all command beginning by "sel" with help

3. dump - The text contents of command console are copied into the Windows Clipboard or notepad

              (command) dump /notepad ...copy all contents to a notepad

4. clear or cls – clear all the text contents of output window

5. echo – display comment in the output window

              (command) echo "Tips: decimate function reduces data size."

 

Alias & Bind:

You can define your own command alias from the existing command. Command aliases are custom commands you can define to run rapidform commands. You can type command aliases just like normal commands. You can use them to create abbreviations for often used commands.

Also you can bind a series of commands to an alias. The aliases and bind commands are automatically saved to the console.ini file under the rapidform home directory. When the application is launched, all the aliases and bind commands are automatically loaded from the file. To remove all user-defined commands, just delete the console.ini file from the directory.

Note that an alias must consist of two or more characters in order to distinguish shortcut keys.

          (command) alias +remg RemeshGlobal ...add "remg" to alias table(console.ini)

          (command) remg ...run Remesh > Global command

          (command) alias -remg ...delete "remg" from alias table

          (command) bind +desm "selsh*" "decimate 50%""smooth 1 2"

... assign decimate and smooth commands to "desm"

              (command) desm ...select all shells and then decimate and smooth them

          (command) bind -desm ...delete "desm" from bind table (console.ini)

 

Environment Setting:

It is possible to customize the environment of command prompt and console window as shown below.

You can easily change it with option menus by clicking the RMB on the console output window.

The Copy dumps the text contents of output window to the Windows Clipboard.

The Key Stroke Sensitivity sets an interval of key stroke so that the mouse cursor automatically moves to the command prompt. Set the parameter "StrokeThreshold" to an interger between 1 to 1000 (unit: msec). It is usually recommended 150 ~ 200 msec.

          (command) set strokethreshold 200

The Enable Font Shadow sets the font shadow of text in the command prompt and output window to ON/OFF.

The Font sets the font style of text in the command prompt and output window.

  (command) set consolefont /setup

You can also customize the color of command console with the Colors options or the "set" command following by the "/setup" parameter. Or, just select one of pre-defined color environments, Theme.

The Command & Prompt sets the color of commands in the command prompt and output window.

The Comment sets the color of comment text in the output window.

The Result sets the color of result message in the output window.

The Error sets the color of error message in the output window.

The Prompt Background sets the background color of command prompt.

The Output Background sets the background color of output window.

  (command) set consolecoloroutput /setup

                   set consolecoloroutput 182 245 162 255(no gradient)

The Output Gradient sets the gradient color of output window. The first selected color is for the gradient of left side and the second one is for right side.

The Output Selection sets the color of selected line in the output window.

The Font Shadow sets the shadow color of text in the command prompt and output window.

The customized settings are saved to the console.cfg file under the rapidform home directory. When the application is launched, all the option values are automatically loaded from the file. To remove all user-defined options, just delete the console.cfg file from the directory.

 

Parameter Type:

All parameters in the dialog box of each function can be used in the command prompt. Each parameter is one of types with integer, real number, Boolean (true/false), string or special option. A command without any parameters might be executed by default values or the latest used ones.

          (command)  open test.mdl

          (command)  selsh scan1 scan2

  (command)  smooth 1 3 0.2 0.1 y n y n y

 

Keyboard Interface :

    Console command provides some keyboard interface, mouse based function.

Mouse Double Click on Console window : Bring command of output window into console window

    - If Command has a parameter, Parameter is selected after bringing.

     

    - If selected command has no parameter, Command is selected after bringing.

      

Ctrl key + Mouse Double Click : Execute command of output window

Mouse Left Button : Select command in output window

Mouse Right Button : Show pop-up menu for console window

Mouse Wheel Scroll : Scroll output window

Enter : Execute inputted console command.

Space : Execute last command

Tab key : After command typing with several parameter, Tab key will move keyboard input focus to next parameter.

Shift key : After command typing with several parameter, Tab key will move keyboard input focus to previous parameter.

     

    

                        With Shift Key                                             <--------------->                                                                 With Tab Key

   Page Up (or Arrow UP) : Select last executed command of output window and bring into console prompt - move previous command

   Page Down (or Arrow Down) : Select last executed command of output window and bring into console prompt - move  next command

   Back Space : Change keyboard input focus workspace into console. In case of input command in console, delete previous character.

   Ctrl + Tab : Select all parameter of command. If wrong command, Select all command line.

Correct Command

 Wrong Command

   ESC : Cancel console command input

Console Command List
   File
   Select
   Edit
   Measure
   Information
   Ref.Geometry
   View
   Macro
   Help
   Build
   Tool
   Clean
   Curve
   Template
   Surface
   Loop
   Inspection
   Miscellaneous
   Environment Variable

Note

Your Ad Here