Friday, December 29, 2006

Chapter Zero: Importing Points from a Text File

Level of Difficulty:

In this post we are going to import a text file into Civil 3D. The following is an excerpt from this file.


1,5477.4814,3886.3451,122.9931,BM001
2,5554.5536,4234.3339,107.7749,IPF
3,5528.4406,3804.3077,129.1600,FENCE
4,5523.5055,3795.4675,129.3400,FENCE
5,5522.0336,3787.1183,129.2100,FENCE


The file is a simple Point Number, Northing, Easting, Elevation, and Descriptions file, commonly referred to as an ASCII file.

1) First, go to File > New in Civil 3D.



2) Select the Template file called _Autodesk Civil 3D (Imperial)NCS Base.dwt
3) Click Open

We are starting a new drawing with a template that will contain all the needed styles for this exercise.

4) On the Prospector Tab, find Points
5) Right-click on points and select Create…



6) Click the Import Points icon.



7) Verify that the format is set to PNDEZD (comma delimited)
8) Browse for the source file.



9) Click OK
10) Zoom Extents to see the newly imported points.

Next we are going to change the look of these points, and add labels.
1) In Prospector, locate Point Groups
2) Click the plus sign next to Point Groups to expand the category.

3) Right Click on the _All Points group
4) Select Properties
5) Change the Point Style to Standard by using the drop-down



6) Change the Point Label style to Basic
7) Click OK

At this point you should see points on the screen with a simple X symbol and labels showing point number, Elevation and Description.


8) Save the file as new-topo.dwg in the same directory as the text file.

Now, to make the text around our points a little smaller we are going to change the scale of the drawing.
9) In the Settings Tab, right-click the name of the drawing and select Edit Drawing Settings…



10) On the Units and Zone Tab, change the scale to 1” = 20’



11) Click OK

The text should now be smaller.

12) Save the drawing!

Great Job.

Can You Guess Who?

This is a doodle I made of a Civil 3D guy who came to train us. As you can Tell I was ENTHRALLED by the concepts he was laying down.

Wednesday, December 27, 2006

Using Expressions to Add Degree of Curve to Curve Labels

Degree of Difficulty:
1. In the Settings tab, expand the Alignment category until you see the Curve label area.

2. Right Click on Expressions and select NEW


3. In the new expression dialog box, fill in the name and description for the new property you are creating.

4. In the Expression dialog box, type in the calculation you wish Civil 3D to perform.

HINT: To see a list of the variables you are able to use, click Insert Property. In this example we chose Radius.

5. Click OK when you have completed entering the expression.



6. Now, right-click on the Curve Label Style to which you’d like to add the information. Select Edit…

7. In the Label Style Composer, go to the Layout tab.
a. Click on the New text component button.
b. Give the component a name
c. Set Allow Curved Text to true.



8. Still in the Label Style Composer, click in the contents area and click the ellipsis button.

This will open up the Text Component Editor.



9. Choose Degree_of_Curve from your list of Properties.
Any expressions you create will be available here.

10. Set Precision to desired value.

11. Click the blue arrow icon to send the text to the component window.

12. Add any additional text or symbols to your label.

13. Click OK when complete.

14. Click OK in the Label Style Composer.

15. You are now ready to use the style!