Convert DWG to DGN

I work in both AutoCAD and Microstation and sometimes I need to convert my AutoCAD dwg to a Microstation dgn for various reasons.

AutoCAD has an export feature that allows you to select multiple file types. When selecting a Microstation file type, you are then prompted with the “Export DGN Settings” dialog box

Export DGN SettingsWhere you now have to select the proper seed file in order for dgn to convert. Sometimes finding where your company keeps these can be a daunting task. And even if you know where the seed files are stored, it still may not work properly.

My solution to this is quite simple and super easy!

Save the dwg file you want to covert to AutoCAD 2010 Format

save asOpen Microstation and select File > Import > CAD files and That’s it!

Dimensions: Placing text above and below dimension lines

If you’ve used AutoCAD for some time then you probably already know this tip, as it has been around for a while now. But if your fairly new, figuring out how to get text both above and below a dimension line can might be a hassle.

Here is a standard dimension line:

image_thumb1

Let’s say I wanted to make this a typical dimension, but since the dimension is above the dimension line, I wanted my “TYP” text to display below the dimension line. Double clicking the dimension text and pressing enter will result in the image below, where both dimension and TYP are above the line.

image_thumb2

The solution to this is to enter “\X” instead of pressing the Enter button. Note the use of a capital X, a lowercase x will not work. After using this little code, your dimension line will look as you always intended it to; with the dimension above the line, and  “TYP” below.

image_thumb3

Quick Access Toolbar

I really like the ribbons in AutoCAD, it beats all the toolbars I use to have cluttering my screen. One of the problems I constantly run into is I have to switch panels to access things like changing the layer.

So I have a quick tip for you! Add things you use frequently to the “Quick Access Toolbar”! To do this, simply right click on the Layer control or whatever you want and chose “Add to Quick Access Toolbar. Now that feature is accessible no matter which Ribbon Tab you have current.

Adding to QAT

Copy & Rotate

I had a co-worker ask me if I could write a lisp that would copy & rotate an object.

AutoCAD does have an out-of-the-box move/copy/rotate but my co-worker was looking for something that was more stream line, so I developed this simple copy & rotate lisp.

 


(defun c:CopyR (/ *error*)

(defun *error* ( msg )
(if (not (member msg '("Function cancelled" "quit / exit abort")))
(princ (strcat "\nError: " msg))
)
(princ)
)
(princ "\nCopy & Rotate:\n")
(setq ss (ssget))
(command "copy" ss "" "0" "0")
(command "move" ss "" pause pause)
(command "rotate" ss "" "@" pause)
)
(princ)