Autodesk CIVIL3D Tutorial - Page 814
Exercise 1: Creating an Expression
UPC - 606121716273
View all Autodesk CIVIL3D manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 814 highlights
Exercise 1: Creating an Expression In this exercise, you will create an expression that calculates the magnetic compass direction of an alignment at each geometry point. Expressions make use of the same properties that you can add to label styles, such as Point Elevation, Northing, and Easting. By using expressions, you can set up separate mathematical formulas, using the existing properties. For example, you could subtract a value from a point elevation, and display that number along side the actual elevation in a point label. For more information, see the AutoCAD Civil 3D Help topic Setting Up Expressions. Create an expression NOTE This exercise uses Labels-5c.dwg with the modifications you made in the previous exercise, or you can open Labels-6a.dwg from the tutorial drawings folder (page 819). 1 Zoom and pan to the area between stations 0+000 and 0+100 of the Main Street alignment. 2 Click the PC: 0+035.99 label to select all geometry point labels. Right-click. Click Properties. 3 On the Properties palette, in the Geometry Point Label Style list, select Additional Details. This label style displays geometry points, design speed, and true compass direction at the geometry point. In the next few steps, you will create an expression to calculate the magnetic direction. You will add this expression to the geometry point label in Exercise 2: Inserting an Expression Into a Label Style (page 803). 4 In Toolspace, on the Settings tab, expand Alignment ➤ Label Styles ➤ Station ➤ Geometry Point. Right-click the Expressions node. Click New. 5 In the New Expression dialog box, specify the following parameters: ■ Name: Magnetic Direction ■ Description: Converts true to magnetic for declination -15.5 degrees. 6 Click Insert Property. Click Instantaneous Direction. This property will be used as the basis for computing the magnetic direction. 802 | Chapter 19 Labels and Tables Tutorials