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. 

Friday, July 02, 2010

Section View Station Labels

It is about damn time I posted.  I have been all over the US vacationing, learning VB.NET and teaching Civil 3D.

The following post was inspired by a customer of mine who does a lot of work for South Dakota DOT.  He wanted to label the station inside the graph, but the grid lines were harshing his buzz.  There is no way (to my knowledge) to force the display order of this item.

What we ended up doing was forcing our hand by putting the station label in the Centerline label inside of the band style.   However, there is no station value component inside the band!
Sooo, we jumped into the title text area and copied out the text.


Then we jumped into the band style and pasted in Section View Station into the text component editor.


Bada-bing!  It worked.  You can now use good ol' display order to bring the label to the front.

Happy 4th! Don't blow off any appendages.

Tuesday, June 01, 2010

Raster Design Object Enabler Available for 2011 Products!

http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=15201709&linkID=9240698

Just remember to download the correct version fro your operating system, as there are downloads for 32bit and 64 bit!

Monday, May 31, 2010

Interesting Intersections I've crossed

This week I ran into two interesting examples of alignments that just didn't play well with the automated intersection design tools.

Case 1- The Loop:
It isn't unusual for an alignment to cross itself, however the intersection tool won't recognise the crossing location.  Of course, the easy answer is to split it into 2 alignments. However, I wanted to build the intersection the pre-2010 way, manually creating curb return profiles and corridor regions the "old fashioned" way to see if I ran into any hiccups. 


I was worried that C3D might get confused with the whole "Target nearest to offset" thing in the corridor parameters, however this ended up building without  problem.  The most difficult part was getting the right OSNAP for throwing on the station label at the intersection (as seen in the screen cap).  I used trial and error until I got what I wanted.

One of the big things you need to remember in creating manual intersections is to make sure your crowns match. 

To manually lock a PVI just jump into the profile geometry editor. Use the select PVI to make sure you're locking the correct one and set the Lock option in geometry to True.


Case 2 - Two Ts:
This scenario came to me this week from a client.  Two J-shaped subdivision roads T into each other.  The first intersection builds without a hitch. The second intersection will not go so well.  In my client's case it was creating wacky profiles (deleting vertical curves and locking the profile at the first intersection).  When I tried it myself, I got the message, "The primary road for this T-junction will result in a circular dependency with the existing intersections."  In other words, Civil 3D gets just as confused as the friend who you tell, "Pick me up at the intersection of Jefferson and 3rd Ave..."  Which one?!

Your best bet for fixing this case is two split one of the alignments into two.  Of course you could do this one the pre-2010 way as well.

Hope this info comes in handy someday.