You are browsing the archive for dialog.

Dialog with Focus: Using MicroStation Shortcuts

December 6, 2009 in AutoCAD, CAD, Revit

keyboard Before we continue further with MicroStation tutorial, I want to discuss about dialog with focus. You may find that sometimes it works when you use AccuDraw shortcut, but sometimes it doesn’t. The reason is, you may have the focus on other dialog. You need the focus on the AccuDraw dialog to use AccuDraw shortcut. Confused?

Understanding and Controlling the Focus

What is this focus we are talking about? In GUI, we can give input to a component that currently has the focus. An active dialog box is shown with clearer color than the inactive dialog boxes. If you open several applications, if you press [alt] + F to open file menu, then the active application will show the menu. More details in Wikipedia. MicroStation has many dialog boxes inside the application itself.
If you are an AutoCAD user, you can type AutoCAD command anywhere and anytime. Command line always has the focus. But not in MicroStation. There are several dialog can get the focus, and each of them has specific shortcut that we can use. You can see the status at the right bottom of MicroStation, at the status bar.

Home

home
Moving focus to home: press [F12] OR [esc]
When you see this icon, it means the focus now is at home. When focus at home, you can use the task navigation shortcut. There are some letters and numbers on the task navigation. That’s the shortcut key. You can press [1] to activate element selection. You can press [Q] to activate place linear group, then press [1] to activate the place SmartLine. It’s very useful to speed up than using mouse to activate it.
task navigation shortcut

AccuDraw

accudraw
Moving focus to AccuDraw: press [F11]
When you see this icon, then you can use AccuDraw shortcut. We have discussed AccuDraw shortcut before.

Tool Settings

tool settings  
Moving focus to Tool Settings: press [F10]
Personally, I’m not a fan of tool settings shortcut when it has the focus. Like default Windows dialog boxes, you can see some text are underlined. Segment Type for example.
tool settings shortcuts
It means that you can press [alt] + S to change that parameter.
Tool settings can use task navigation shortcut too. And I prefer to use it. Press [esc] OR {f12] –yes, we move the focus to home- and you will see some letters near the parameters. You can press the letter to change it. I think this is more fun.
home shortcuts

Key-In

key-ins
Moving focus to key-in dialog: press [F9]
We haven’t use key-ins yet. We can activate MicroStation tools by clicking our mouse above the tool icon, and apparently we can use task navigation shortcuts, and surprisingly, we can key-in the tool!
Why we would do that? Isn’t using task navigation shortcut is faster?
key-in dialog
Sometimes, using key-in can be faster, and it can control everything. Things that you can’t control in task navigation. When you press p, then key-in will show you every tool started with p. After you type pl, then it will auto complete it with ‘place’, press [space], then it move to 2nd column. Press s then m to activate smartline. You will see options available for SmartLine in the 3rd column.
If you remember how we changed the mouse button assignment, that’s a key-in. Pan view and Pan scroll are key-ins. You can also assign key-ins to function keys [f1] to [f12]. You can see the assignment by accessing menu Workspace>Function Keys.

align=center borderColor=#000000>
Do you find our tutorial useful?
Please consider to donate via Paypal to support this site providing free contents!




Source: CAD Notes – Dialog with Focus: Using MicroStation Shortcuts
Go to Source: CAD Notes


Cool way to Open Your Drawing: Drag n Drop!

September 21, 2009 in AutoCAD, CAD, Revit

mr__mouse Sometimes I just hate to open files from dialog box. Some files are not easy to find from a small dialog box, so I need to find it from my Windows Explorer or doing search/find. It would be a waste of time if I have to point my open dialog box to that file location. So what do I do? Just drag and drop to open it!

There are three way to do this:

  1. Drag your file to your AutoCAD icon on your desktop. You don’t need to open your AutoCAD, this will open AutoCAD and open your file!
  2. Drag your file to your AutoCAD title bar. It’s the one mentioning your AutoCAD version name, and your active file. This will open your file in your AutoCAD session.
  3. Drag your file into your opened file. This will insert your drawing to active drawing as block.

I expect there is another drag and drop functionality: insert a drawing as reference. Sorry to say that AutoCAD doesn’t support referencing drawing using drag and drop. I wish I can see that sometimes.


Do you find this article helpful? You can donate via Paypal to support this site.




Source: CAD Notes – Cool way to Open Your Drawing: Drag n Drop!
Go to Source: CAD Notes

How to Use the Command-Line Alternative in AutoCAD Map 3D

August 19, 2009 in AutoCAD, CAD

Ribbons, menus, tool bars, dialog boxes and palettes are easy to use and intuitive compared to using the command-line in AutoCAD Map 3D. For example, the Create Buffer dialog box (refer to my other buffer related posts), allows you to choose the features to be buffered, indicate the buffer distance, and specify other buffer creation options – and all with just a point-and-click of the mouse and minimal input from the keyboard.

Such methods are fine in an interactive mode when we need to manually create buffers. However, if you are writing macros to help automate the process, you need a command-line alternative that avoids launching a dialog box. To do this for our Create Buffer example, simply precede the command name, MAPFDOBUFFERCREATE, with a hyphen when you enter the command on the command-line. Here’s how to create a 20ft buffer via the command-line:

  1. At the command line enter –MAPFDOBUFFERCREATE (note the minus sign) and press Enter. The following prompt appears:
    Buffer create options [Input/Distance/Merging/Output/Go]:
  2. Enter ‘D’ then 20 to enter the buffer distance.
    Buffer create options [Input/Distance/Merging/Output/Go]: D
    Enter a buffer distance in Feet <>: 20
  3. Enter ‘M’ and then ‘S’ to ensure that multiple buffers are merged into a single feature.
    Merge buffers [None/Single/Overlapping]: S
    A single output buffer will be created
  4. Enter ‘I’ then select the features to be buffered.
    Buffer create options [Input/Distance/Merging/Output/Go]: I
    Select objects: 1 found
    Select objects:
  5. Enter ‘G’ to create the buffer as specified.
    Buffer create options [Input/Distance/Merging/Output/Go] : G

This technique allows you to use Create Buffer tool in macros, scripts, custom toolbars and workflows. In fact, the hyphen can be used for other selected AutoCAD Map 3D and AutoCAD dialog boxes including the ones listed below.

Layer Properties Manager
Command: -Layers
Prompt: [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck
/Unlock/stAte/Description/rEconcile]:

Block Definition
Command: -Block
Prompt: Enter block name or [?]:

Drawing Cleanup
Command: -MapClean
Prompt: Enter profile name to load:

Attach Object Class Definition File
Command: -AttachDef
Prompt: Enter name of object definition file:

In addition, certain system variables can also be used to affect the display of dialog boxes. For example, the EXPERT variable controls the display of warning dialog boxes. When the value of EXPERT is set to ‘0’, warnings and prompts are issued normally; when EXPERT is set to a value between ‘1’ and ‘5,’ specific warnings and prompts are suppressed.

Another useful system variable is FILEDIA. This variable controls the display of dialog boxes used with commands that read and write files. When the value of FILEDIA is set to ‘0’, command-line prompts are used to prompt for file names; when FILEDIA is set to ‘1’, dialog boxes are used.

Source: geoExpressions – How to Use the Command-Line Alternative in AutoCAD Map 3D
Go to Source: geoExpressions

Working with PDF's in AutoCAD 2010

August 4, 2009 in AutoCAD, CAD

The new EXPORTPDF command exports drawings as PDF files and allows you to set individual page setup overrides on a sheet-by-sheet basis in a dialog box interface. The resulting PDF is opened in Acrobat Reader automatically, (Adobe Reader V7 or newer is required). In Reader you can search for text in a PDF generated with AutoCAD. The Save As PDF dialog box contains the same options as the ExportDWF dialog box.

The ExportPDF Dialog box will look like this:

The right side of the dialog box shows your settings:

Upon clicking on the options button you get this the options below:

Here you can modify some useful setting. As you can see, PDF capabilites are vastly inproved in this release of AutoCAD! Check it out!

Source: The AutoCAD Gazette – Working with PDF’s in AutoCAD 2010
Go to Source: The AutoCAD Gazette

Hip tip: Dialog boxes of commands don’t appear?

July 8, 2009 in AutoCAD, CAD

Dear Friends,
Sometimes dialog boxes of commands on AutoCAD don’t appear. The CMDDIA system variable controls this. By changing this system variable to ‘1′, you can easily make them appear.

Command: CMDDIA
Enter new value for CMDDIA <0>: 1 <ENTER>
Regards,
Source: Daily Autocad – Hip tip: Dialog boxes of commands don’t appear?
Go to Source: Daily Autocad