The FILEDIA variable has a tendency of being set to zero when Civil 3D crashes. This results in your file open options being displayed on your command line. A major annoyance. This topic has been posted on the discussion groups several times. One solution is to place the following line in an acaddoc.lsp file in you civil 3d support directory.
(setvar “filedia” 1)
If you don’t have an acaddoc.lsp file you can create your own in notepad and save it in your support directory. Or right-click and save as the file here.
The acaddoc.lsp file is run by autocad when you open a new file. The line you added will set FILEDIA to 1 preventing the dialogs from being disabled.
Comments Off
If you haven’t stumbled upon David Garrigues’s Double and Right-Click CUI available on the Autodesk Civil Engineering Community page you are missing out. David has customized the CUI allow the user to interact with Civil3D Objects via double-clicks and right-click menus. This falls into our Must Have Category. Once you try it you won’t be able to use C3D without it.
Here’s David’s summary of the customization:
“Did you ever wish that if you double clicked on a Civil 3D Object you would get the appropriate Properties Dialog box for that Object? Of course and what if you right clicked on a Civil 3D Object did you wish you had more appropriate options in your right click menu? Of course you did so here it is just as it was presented at AU this year in my class called Civil 3D Grading: It’s Not a Slippery Slope.”
Check out his post on the Civil Engineering Community page here. (You’ll have to login to view this page, you can use your login for the Autodesk Discussion Group)
You can also further customize the right-click/double-click functionality. We’ll build on this in our next post.
Add civil3dblog.com to your favorite RSS feeds now so you don’t miss out on any posts.
Is Civil3D missing features?
Being a long time LD user I’m finding the answer to this question to be a resounding YES!
We’re asking Civil3D users to email us any features that Civil3D is ‘missing’.
We’ll be posting routines to fill in some of the Civil3D feature gaps so get your requests in early and often.
Please email requests and ‘missing’ Civil3D features to us at missing at this domain.
Comments Off
If you have been using VBA to customize Autocad Civil 3D and have been wanting to check out vb.net now is a great time. Microsoft has made available express editions of their visual studio products for some time now. They can be downloaded here:
Visual Studio Express 2008
Visual Studio Express 2005
Either version should work equally well for Autocad .net customization and can be installed side by side.
The express editions have some limitations over the standard and pro versions of visual studio. The most important being that the express editions do not allow real time debugging in Autocad. This makes it very difficult to debug your code.
I came across a link to Kean’s blog through the API with a post on Debugging using Express Editions. After reading the post you’ll see it is possible to debug with the Express Editions.
To make it even easier those who attended Jerry Winter’s class at Autodesk University in 2006/2007 who received a DVD from him it includes an Autocad vb.net express template installer that works with Autocad and C3D.
The website civildev.com provides a template installer for VS Express 2005 it can be downloaded here. This installer was recommended by the AU 2007 class .net Programming for Civil Engineers and Surveyors.
Best of all this powerful programming tool is free.
Comments Off