/Main /MicroStation FAQ /Key-ins

Key-ins



Is there a way I can switch between tools without actually clicking them?

  1. Set a function key (say, shift-F9) to "k,exp set c1 = "
  2. and another (say, CNTRL-F9) to "k,exp set c2 = "
  3. And another(say, F9), that you want to use to toggle the commands:
    "$ exp set c = $(c1);$ exp set c1 = $(c2);$ exp set c2 = $(c);$ $(c) "

Now you can use it: Hit F9, and enter the first command key-in (shown here in CAPITALS) - e.g. "exp set c1 = DEL PART". Now hit F8, and enter the other "exp set c = EXTEND"

Now F9 will toggle between them.


EXPLANATION:


Starting a command line with '$' makes MicroStation parse configuration variables {using the $(variable) syntax}.

'expand set' command sets configuration variables.

The leading 'k,' stops the command line and waits for a key-in.

';' is the equivalent of 'Enter'.

Author: Alasdair



Which key-in can be used to set my working units?

There is a SET UNITS command (documented in the delivered help)



How can I exchange to reference file using it's logical name?

Use key-in:

REFERENCE EXCHANGE dx=;dx=

the "dx=;dx=" selects the active view to confirm the exchange.

Author: Ricky Williams Robert Kubicek



Is there a datapoint key-in (from the key-in field) to execute a mouse data point where the cursor is in it's current location (not xy=#,# or xy=)?

SELVIEW 1



: I am trying to place arc by edge. After giving 3 points I want to use the last data point for the beginning of the next arc. MS asks for another data point to begin the next arc. Is there a method to key-in a data point where your cursor is currently located, so I could eliminate one or more mouse data points?

After you've placed an arc (after the third point entered) you need to send the following key-in:

dx=0;%d;%d

Then enter second point and third. Then send the key-in once again.



I can open the Reference dialog with Alt+F+R, Level Manager with 'Level manager toggle' and 'Level Display' with Ctrl+E. What I would like is something like key-ins or a script that I can put to a button which would toggle these dialogs.

Keyin for turning on dialogs: DIALOG REFERENCE;LEVELMANAGER DIALOG OPEN;LEVELDISPLAY DIALOG OPEN

Keyin for toggling dialogs: DIALOG REFERENCE TOGGLE;LEVELMANAGER DIALOG TOGGLE;LEVELDISPLAY DIALOG TOGGLE

Or you can use key-in MP CHVIEW MUTABOR of our Change View application, which toggles ALL sinkable dialogs at once.



Is there a Key-in that will attach a dgnlib? When I use the "levelmanager library attach" or "import" it will open the folder that I have the dgnlib in, but won't attach the dgnlib that I've specified.

Use the following key-ins:

DELETE UNUSED LEVELS
LEVEL LIBRARY ATTACH LEVELS.DGNLIB
DGNLIB UPDATE LEVELS FROM LIBRARY
LEVEL LIBRARY DETACH LEVELS.DGNLIB
LEVEL LIBRARY IMPORT LEVELS.DGNLIB