Ad

Tuesday, November 29, 2011

3Dconnexion SpaceMouse Pro

Today 3Dconnexion announce a new product called SpaceMouse Pro. The product SpaceMouse Pro_Topfits in the same class of 3D mouse as the SpaceExplorer with some added improvements in ergonomics. The hand rest is full size and soft coated for comfort. The buttons for zoom have been rearranged and the keyboard keys for Esc, Shift, Enter and Ctrl have been made larger and at an easier reach to the hand on the 3D mouse. This should make it so you don’t have to use the keyboard as often with your left hand.

There are four buttons on the top are context sensitive to the open program (although I’m hoping they can be context sensitive to objects in Civil 3D). It also puts what the numbers do up on the monitor, so you know what each button does without looking down at the mouse. This lets you keep your eyes on the monitor while you design. The mouse still has the 3D Navigation with six degree of freedoms to allow easy navigation through a model. Another added benefit is new drivers with a virtual number pad. This allows you to keep your hands on your mice and enter numbers using the regular mouse.

For more information take a look at their website http://www.3dconnexion.com/products/spacemousepro.html, if you are at Autodesk University this year stop by their booth to test drive it in person.

Wednesday, November 23, 2011

Insert Drawing as Block

The way I’ve found to insert a drawing into another drawing as a block takes a surprisingly lot of code. This function I’ve created takes a file name, inserts a block and returns the ObjectId of the newly inserted block.

    Private Function InsertDwgAsBlock(ByVal fileName As String) As ObjectId
Dim doc As Document = Application.DocumentManager.MdiActiveDocument
Dim db As Database = doc.Database

Using tr As Transaction = db.TransactionManager.StartTransaction
Dim blkTable As BlockTable = tr.GetObject(db.BlockTableId, OpenMode.ForRead)

Dim blkTblRec As BlockTableRecord = blkTable(BlockTableRecord.ModelSpace).GetObject(OpenMode.ForWrite)
Dim blkObjId As ObjectId
Using dbInsert As New Database(False, True)
dbInsert.ReadDwgFile(fileName, IO.FileShare.Read, True, "")
blkObjId = db.Insert(Path.GetFileNameWithoutExtension(fileName), dbInsert, True)
End Using

Dim blkRef As New BlockReference(New Point3d(0, 0, 0), blkObjId)

blkTblRec.AppendEntity(blkRef)
tr.AddNewlyCreatedDBObject(blkRef, True)
tr.Commit()
Return blkRef.ObjectId
End Using
End Function

The code doesn’t show how to get the filename, but there are plenty of examples on the internet to accomplish the task.

Wednesday, November 16, 2011

Civil 3D Wish List

Want to have a voice on what wishes Autodesk should work on in future versions of Civil 3D? Then check out the AUGI Wish list for Civil 3D. Let your voice be heard.

http://www.augi.com/wishlist

Monday, November 14, 2011

2d to 3d Polyline

If you’ve ever received contours from a third party source you may find them without elevation. Civil 3D does have a tool to add elevations to them, unfortunately it only lets you select one polyline at a time and then type in the elevation. If you download, or install the UKIE Country Kit, the command is located in the Toolbox of the kit after you install it. The command lets you use a fence to assign the elevations for a range of contours.

You can download the country kit from this link: http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=16538092&linkID=9240698

There are also third party programs available if you don’t want to download the UKIE country kit.

Wednesday, November 09, 2011

Corridor Compute Materials

Sometimes I’ve found I’m working on a project using sections and find that the section I need hasn’t been created. I get confused because the drawing has the needed surface in it, but the section isn’t showing up in the list when I go to try to compute the materials. It usually happens when I deleted an old surface and then come want to use a new one. To sample the missing surface go into the Toolspace and right click on the Sample Line and choose the properties. Then go into the Sections Tab and press the Sample more sources… button. From the Selection Sources dialog box choose the available source and press the Add button. You can also remove all of the section from this dialog also.

image

LinkWithin

Blog Widget by LinkWithin

Ad