2D Parametric Design / Dimensional Constraints
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.
Learn More
Subtitles of the Movie
We're now going to look at placing some Dimensional Constraints, so let's just pan this shape up a little bit and we're going to work the base of the shape first of all and I want a Linear Constraint, and I want it to go from this point here to this point here, and as I drag it downward like that you can see that D1 is 11.5380. I don't want it to be that, so I'm going to edit that now. I'm going to just highlight that there and I'm going to make it 12.0000 like that, and Enter, and you'll see the shape update. So if I now show those Constraints you can see that D1 is 12 there. Now the reason it's only showing the 12 is because in my Manager here I've set Dynamic Constraints there to only show value. I could show Name an expression like that, but I only want values in this case, so hence, it's only showing the number there. I'll OK that now. I'm going to place another linear constraint now, so Linear Constraint, and I'm going to go from this point here to this point here and drag that down. That's 3.9050. I'm going to double-click in there and change that value to 4.0000, and Enter, like so. Now you'll notice that I've got two sets of zeros there, making four zeros. What I want to do there is I want to reduce that number of zeros. I only want two, really. So I need to change the units. That's easy. I just type in units like so and press Enter, and you'll see Length there is set to Decimal. I'll change that to two decimal places like so, and OK that. You'll see that update. So I haven't got two sets of two zeros anymore. Now, I'm going to place one more Linear Parameter now and it's a vertical one. So, Linear, and I'm going from this point here to this point here, take it this way. I've got 7.64 there. I click in the box. I'm going to change that to 8, like so, and press Enter. Notice it updates to the two decimal places I set previously. What I'm going to do now is place a Radial Constraint. So let's go to the Dimensional Panel and I want radial here, so I click on Radial, and I want to constraint these radii here Ð that one there, and at the moment the value there is naught point 5215, so let's place that and I'm going to edit that now. I don't want it to be naught point 51, I want it to be naught point 375, and Enter, like so. Notice it all constrains the way it should as you can see. So the next step now is to add a linear down here, so I need a linear one down here. Now you notice that's a shape, it's a polyline, so what I'm going to do there is I'm going to place a Linear Constraint between that end point and that end point, so let's zoom in a bit. So it's a Linear Constraint there and it's going from there to there, and I bring it down and click. Now I'm going to trace the whole thing now, it's not going to be D4 this time. I'm actually going to type in an actual constraint variable, so to speak, and I'm going to call it Shape Width like so, and then equals, and I'm going to give it a value of 1.125 and press Enter. Now I'll still constrain it there but it's now got a variable name and you'll see why in a moment. Let's put an Angular Constraint now. So, Angular here. I'm going to select this line here, that first line there, and then this line here, and I want to put the Angular Constraint out this way, up here like this, can you see that? Don't go down here, but up here like that, and I click there. And the Angle 1 there is going to change to 30 degrees, so I put 30 in there and press Enter. Notice this side changes and this side changes because it's a shape, it's a polyline. So I've put my Shape Width in and my Angular Constraint now, I'm now going to place another Linear Dimensional Constraint down here, so you can see this one here, see this line here, I'm going to go for Linear and I'm going to go from this point here to this point here and take it out this way. Now at the moment it's 1.87. I'm going to change that to my new variable name, so I'm going to put D4 equals and I'm going to just type in Shape Width, remember that variable I set up a moment ago? Press Enter and that updates Ð can you see that Ð to 1.13, the same value as this one here. So let's just zoom out slightly now so that we can see all of our Dimensional Constraints. I'm now going to place another Linear Dimensional Constraint but I'm going to utilize my Parameters Manager. So if I click now on the Parameters Manager here, what you'll see is all of the expressions that I've already created there. There are my Dimensional Constraints, the Expression, and the Value there. So what I'm going to do is create a new User Created Dimensional Constraint here. So I click there, it asks for the name so I'm going to call it Inside Height, like so. Now the Expression is going to be 2.25 here. So I click in the box, change that value from 1 to 2.25, like so, that's the distance that it will be. So I press Enter there and that's all gone in like so, and there's the value. So I can now close my Parameters Manager like that and that parameter now is ready to go. So if I now place a Linear Parameter here and I want it to go from this point here to this point here, that's my inside height there. Now at the moment it's currently 3.94. I'm just going to type in Inside Height, like that, and press Enter, and as you can see it updates it to 2.25 as per the parameter I set in the Parameters Manager. Now the good thing is these are now all set, so what I can do is click on Show Dynamic Constraints and they all disappear. Everything is done. All my Dynamic Constraints are in place. If I click on Show Dynamic Constraints again, there they are on the screen. So as you can see, Dynamic Constraints allow you to parametrically constrain the sizes of the geometry you're creating.
Tutorial Information
| Course: | Autodesk AutoCAD 2010: Advanced Concepts |
| Author: | Shaun Bryant |
| SKU: | 34030 |
| ISBN: | 1935320-66-1 |
| Release Date: | 2009-09-10 |
| Duration: | 7 hrs / 100 lessons |
| Work Files: |
Yes |
| Captions: | Available on CD and Online University |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 