2D Constraints for Civil People: Tuesday Tips With Seth

Learning
2D Constraints AutoCAD

Happy Tuesday everyone! So, this Tuesday, I thought I would talk about a tip that not many civil engineering drafters use let alone are aware of: 2D parametric and geometric constraints. 2D constraints are mostly used in the mechanical and architectural world, but there are definitely applications for use in the civil world. In this tip, I will show you how you can use it for typical section details.

A Brief Overview of Constraints

First, lets discuss where you can find the parametric tools. If you are a civil user using vanilla AutoCAD, you’re all set. Simply navigate to the Ribbon > Parametric tab.

AutoCAD Parametric Ribbon

However, if you are a Civil 3D user, there is no Parametric tab by default. Instead, navigate to the Workspace switching icon in the Status bar, and set your workspace to Drafting and Annotation, and you will find the Parametric tab there.

Civil 3D Parametric

Let’s briefly look at the panels for those of you that have never used them. First is the Geometric panel which contains tools that allow you to add, show, and hide geometric constraints such as perpendicular, horizontal, vertical, parallel, etc.

Geometric panel AutoCAD

The Dimensional panel contains tools that allow you to add dimensional constraints that act like dimensions, but will actually affect the geometry. Its kind of like the opposite of the Dimension tool in that if you change a dimensional constraint, it updates the geometry. Some of the tools available are linear, aligned, angular, etc.

AutoCAD Dimensional Panel

Lastly, the Manage tab is used to delete constraints and manage dimensional constraint values and user parameters.

A Civil Parametric Example

Now, my goal here is not to teach you the basics of parametrics. There are many articles, YouTube videos, etc. that show you the basics of how to use them. So, before you read on, here are some links to watch/read:

Now that you’ve reviewed those, let’s get into the tip. So, a standard detail for a civil set of plans is a typical section. Sometimes you need more than one typical section depicting different slopes, and grades and roadway components.

Slopes, Roadway design AutoCAD

Now most times these details are not drawn to scale, and a drafter will simply “massage” (i.e., stretch, move, scale, etc.) all the different roadway components to show the changes. What if you could easily just change the slope value or length and have your dimensions and linework update automatically?

Firstly, draw lines of all your roadway components (not one polyline). This will allow you to control each individual component’s length and slope.

Control length and slope civil design

Next, make coincident constraints of all the points, and if you have any horizontal or vertical constraints (e.g., bottom of ditch, pavement depth, etc.), be sure to constrain them horizontally/vertically as well.

Constrain horizontally and vertically

Next, create some “construction elements” to constrain the slope geometry so that you can easily type in the slope (e.g. 4 for 4:1, 6 for 6:1, 16.667 for 6%, etc.). Below, you will see that I have created horizontal and vertical lines at the endpoints of where I want to control the lines. Obviously, we do not want these lines to plot, so place them on a layer with a No Plot property. Also, constrain the horizontal and vertical lines with a horizontal and vertical constraints, and of course constrain all the lines coincidentally.

construction elements civil design AutoCAD

After looking at the image, you should start getting an idea of where I’m going with this tip (think trigonometric functions). I am basically making it so that we will have some “triangles,” which we will be able to use to control the geometry with trigonometric functions.

Now, what trigonometric function can be used to define a slope so that we can simply type in the slope as stated above? I will pause here to let you Google this (or open up your old math book :-)……. it’s the arctangent. An example of this would be arctan(4) (for 4:1), or arctan(16.6667) (for 6%), and so on. So, all we need to do is to strategically create some angular geometric constraints that will do this for us.

Using the angular dimensional constraint, create one between the vertical line, and the hypotenuse (slope line). Then, when the default angle is shown, simply type in atan(slope). Where, of course, slope is the desired slope.

Civil design slope AutoCAD

Do this for all the other vertical and slope lines.

Civil design slope AutoCAD

You now have constrained your geometry so that you can simply change the slope value to match whatever your typical section needs are, as well as the length of any of the lines, and all connecting geometry will update automatically. And that’s it!

More Tuesday Tips

Check out our whole Tuesday Tips series for ideas on how to make AutoCAD work for you. Do you have any favorite AutoCAD tips? Tell us in the comments!

 

Try AutoCAD free for 15 days
The AutoCAD Blog is all about helping you get the most out of AutoCAD. It's also the best way for you to connect with the makers of AutoCAD. Subscribe to keep up with AutoCAD

______
icon-svg-close-thick

Cookie preferences

Your privacy is important to us and so is an optimal experience. To help us customize information and build applications, we collect data about your use of this site.

May we collect and use your data?

Learn more about the Third Party Services we use and our Privacy Statement.

Strictly necessary – required for our site to work and to provide services to you

These cookies allow us to record your preferences or login information, respond to your requests or fulfill items in your shopping cart.

Improve your experience – allows us to show you what is relevant to you

These cookies enable us to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we use to deliver information and experiences tailored to you. If you do not allow these cookies, some or all of these services may not be available for you.

Customize your advertising – permits us to offer targeted advertising to you

These cookies collect data about you based on your activities and interests in order to show you relevant ads and to track effectiveness. By collecting this data, the ads you see will be more tailored to your interests. If you do not allow these cookies, you will experience less targeted advertising.

icon-svg-close-thick

THIRD PARTY SERVICES

Learn more about the Third-Party Services we use in each category, and how we use the data we collect from you online.

icon-svg-hide-thick

icon-svg-show-thick

Strictly necessary – required for our site to work and to provide services to you

Qualtrics
W
Akamai mPulse
W
Digital River
W
Dynatrace
W
Khoros
W
Launch Darkly
W
New Relic
W
Salesforce Live Agent
W
Wistia
W
Tealium
W
Upsellit
W
CJ Affiliates
W
Commission Factory
W
Google Analytics (Strictly Necessary)
W
Typepad Stats
W
Geo Targetly
W
SpeedCurve
W
Qualified
#

icon-svg-hide-thick

icon-svg-show-thick

Improve your experience – allows us to show you what is relevant to you

Google Optimize
W
ClickTale
W
OneSignal
W
Optimizely
W
Amplitude
W
Snowplow
W
UserVoice
W
Clearbit
#
YouTube
#

icon-svg-hide-thick

icon-svg-show-thick

Customize your advertising – permits us to offer targeted advertising to you

Adobe Analytics
W
Google Analytics (Web Analytics)
W
AdWords
W
Marketo
W
Doubleclick
W
HubSpot
W
Twitter
W
Facebook
W
LinkedIn
W
Yahoo! Japan
W
Naver
W
Quantcast
W
Call Tracking
W
Wunderkind
W
ADC Media
W
AgrantSEM
W
Bidtellect
W
Bing
W
G2Crowd
W
NMPI Display
W
VK
W
Adobe Target
W
Google Analytics (Advertising)
W
Trendkite
W
Hotjar
W
6 Sense
W
Terminus
W
StackAdapt
W
The Trade Desk
W
RollWorks
W

Are you sure you want a less customized experience?

We can access your data only if you select "yes" for the categories on the previous screen. This lets us tailor our marketing so that it's more relevant for you. You can change your settings at any time by visiting our privacy statement

Your experience. Your choice.

We care about your privacy. The data we collect helps us understand how you use our products, what information you might be interested in, and what we can improve to make your engagement with Autodesk more rewarding.

May we collect and use your data to tailor your experience?

Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.