Wednesday, September 15, 2010

FIXED: CAiCE SRV to Civil 3D 2010

This is a REPOST with fixed links.  My apologies to those who were unable to download due to the DVB file getting blocked by our server.  This repost has the files, but you will need to rename them after you save them to your harddrive.  The links won't expire!  w00t.



This post would not be possible without Rick Larson of WisDOT's DVB file. Thanks, Rick for letting me scam your program and spread it over the world!

These instructions apply to Civil 3D 2010, (will post 2011 version VBA file when it becomes available.)

Download the 2010 version of WisDOT's converter tool from:
srv-to_pntflt - Right-click and hit "Save target".  Be sure to rename the txt file extension to DVB

A test SRV file to play with can also be downloaded if you need one:
exist -  Extension rename to SRV is needed.


1. At the Civil 3D command line type: VBALOAD
2. Browse for the DVB file.

3. Click Enable Macros.







4. At the command line, type in VBARUN





5. Select the line that ends with “ReadSRVFile”
6. Click Run.
7. Browse for the SRV file you wish to convert.
8. Click Open


The result is 5 new files that are created in the folder containing the original SRV.
• *.srv.bld
• *.srv.flt
• *.srv.obs
• *.srv.pnt
• *.srv.wea

Civil 3D only uses the flt and the pnt files. The pnt is a space delimited PENZD file which can be imported as points. The flt file is a breakline file which can be added to a surface definition.


An example of how these can be used:

Since the point files tend to be large, we will not bother importing it as a survey file.

Create a surface.

Add the file using Point Files option under the surface definition.





Next, add breaklines.













Boom – you gotta surface.

Wednesday, August 18, 2010

Mastering Civil 3D 2011

I received my copy of Mastering AutoCAD Civil 3D 2011 last week and had plenty of time to read it while proctoring some Autodesk Certification Exams. 

It is excellent.  I've been up to my eyeballs in Civil 3D for the last four years and I can honestly say that I never stop learning tidbits here and there from my Mastering books.   James and Scott did an awesome job creating fresh information and fine-tuning this encyclopedia of Civil 3D knowledge.

(Yes, guys I will put a glowing 5 star review on Amazon too!)


So, that leaves me with the question...do I pitch/recycle my first one?  All of my clients have upgraded to at least 2009, leaving the 2008 book as a mere memento of a time that I didn't know my ass from a negative slope grading object.

So I turned my 2008 book into a minibar:

Believe me, the first cut was hard.   For one thing I've always been taught to revere the printed word.  Second, cutting into Dana, James, Mark & Jason's  pivotal work felt a little bit like cutting up a high school yearbook. 

Despite this book desecration/minibar transformation, the world should know I have the deepest respect and admiration for the authors. 

BOTTOMS UP!

Tuesday, August 17, 2010

Super Helpful Help

Hey all!

I know, I know I should blog more often.  But it is summer and there are State Fairs to attend,  beaches to lay on and sunshine to absorb. 

Here's something I JUST noticed today... the help in 2011 knows object names and uses them to help you navigate procedures.  It picks the name of the object at the time you hit F1. 



For all I know, it's done this since 2005, but I'm just noticing it now.  It's cool.  It makes me feel safe and happy in the Help docs. 

Have a great week!

Friday, July 09, 2010

Civil 3D Haiku

Eric is a true renaissance man.  Engineer and poet wrapped in one.

Tuesday, July 06, 2010

Back to Basics: Autocad Linetypes

SQOTD:
K.M is doing a plat that has an electrical line type that has an “E” in the line. He was hoping to get the “E” to repeat more often and make the text larger so that it can be seen when plotted. How can we do this?

Answer:
To create a new line type the first step is to go out and find the linetype file (acad.lin) stored on your computer under:

C:\Documents and Settings\\Application Data\Autodesk\C3D 2010\R18.0\enu\Support

Notes:
  • Vista or Win7 users will find this: C:\Users\\AppData\Roaming\Autodesk\C3D 2010\R18.0\enu\Support 
  • For Civil 3D 2011 the path will be ...blah\blah\blah\Autodesk\C3D 2011\enu\Support (substitute appropriate Windows AppData path instead of the blahs.)

Double-click the ACAD.lin file and open it up with notepad.

You’ll see the list of all the “guts” of the linetypes.

Scroll down to the bottom to see a category called user defined linetypes.

You’ll end up pasting something like this at the bottom of the file.

*Electric_LINE,Elec ----E----E----E----E----E----E--
A,.5,-.2,["E",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],-.25




Save and close the LIN file, then you’ll be able to add the line in AutoCAD.

Avoid adjusting the size of the line through the acad.lin file, unless you want it to change for all drawings going forward!

The size of the line should be controlled on the front end of Civil 3D.

Make sure the MSLTSCALE variable is set to 1. <--this means the linetypes will adjust with the annotative scale

Make sure the PSLTSCALE variable is also set to 1. <--this means the linetypes will adjust for viewport scale

If you need to change an individual line type’s scale use the Linetype scale setting in regular ACAD properties (civil 3d styles have this setting too). To change all the lines in the drawing together type in LTSCALE at the command line (however, if you have MSLTSCALE and PSLTSCALE set correctly, you shouldn’t have to radically change this.)


Now, I know I'm going to get an email or comment saying, "Why didn't you tell him to just use the Make Linetype command under express tools?"  I do think that is a swell tool to use after you understand what is happening in the ACAD.lin file.