Showing results for 
Search instead for 
Do you mean 

NX 11 Assembly Driven Constraints

by Community Manager Community Manager ‎08-24-2016 04:09 PM - edited ‎02-20-2017 10:54 AM (2,954 Views)

Assembly driven constraints provide you with a way to control the range of motion—both linear and angular—for the components of an assembly. This type of constraint allows you to include more design intent in your models, and you can make an assembly behave just as an actual model would in real life.



 Assembly driven constraints can be set in a number of ways:

  • A simple expression that can be edited by a user
  • A component that is part of a mechanism causing it to move
  • A geometric measurement


The latter method is the one that we will be looking at in our examples here today. When you set an assembly driven constraint with a geometric measurement, as the part changes in size so, too, does the limit of motion. In this way, it simulates how the part would behave in real life.


Before we delve into assembly driven constraints further, let’s take a step back to examine the history. Prior to NX 11, all constraints were drivers that would limit motion, or in the case of distance and angle, you could enter a value that would drive the part by a parameter. Now in NX 11, we have modified those two types of constraints so the value can be driven by the assembly.


Now let’s look at two examples of assembly driven constraints in NX 11, and how you would apply them.




In the first example, we have a butterfly valve that can be set to either open or closed using an arrangement. The problem arises when we want to set the position somewhere in between those two. We could set an arrangement for each and every position, but that is not really practical. We could turn off arrangements entirely to give us a free range of motion, but then the valve won’t behave as it would in real life. The solution is to use the new assembly driven constraint to control the range of motion.


assembly constraint 1.jpg


First, open the Constraint Navigator and select the driven angle constraint to edit. The traditional Assembly Constraints dialog opens, we see a new field for Angle constraint. When the Angle option is toggled on, the user defines the value. When toggled off, the system drives the value and reports it to the user.  


Under the Angle Limits field, you can set an upper and lower limit for the angle. This determines the range of motion. Here we have a 90 degree range of motion between 180 and 90 degrees.

 assembly constraint 2.jpg




In the second example, we have a much simpler assembly comprised of a pin on a track. The pin moves along the track, and though it stops when it reaches the ends, it is not actually colliding with them. Rather, it is being driven by a distance constraint.


Again, open the Constraint Navigator and select the distance driven constraint to edit it. In the Assembly Constraints dialog underneath the Distance Limits field, we have options for an upper and lower. These are set to measurements.

 assembly constraint 3.jpg


Open the Part Navigator, and you will see there is a distance measurement underneath model history. That measurement is the distance between the centers of the ends of the part, and it is what controls the movement of the pin. If you change the length of the part, the range of motion set by the constraint updates to reflect that change. When you go back into the assembly, you see that the component moves the full length of the part, even though the part length changed.

 assembly constraint 4.jpg


You can see how John Baker did this by watching the step-by-step tutorial video below.



by Phenom
‎06-13-2017 04:00 AM - edited ‎06-13-2017 04:02 AM

You can also control whether the constraint is a driving constraint or a driven constraint.

  • A driving constraint defines a value for the angle or distance. If the constraint has defined limits, you should make sure that you specify a value between the limits. Otherwise, as designed, the constraint fails.
  • For a driven constraint, the angle or distance varies within defined limits for movement that is driven by other constraints or directly by your settings in, for example, the Move Component dialog box.

In constraint navigator, Right click on a distance/angle constraint to make it Driving/Driven depending upon the current 'Driven' status of that particular constraint. 

NX 11: Specifying the angle constraint as the Driving ConstraintNX 11: Specifying the angle constraint as the Driving Constraint

Following new columns can be displayed in the Constraint Navigator:

Driven: Displays an icon for a driven distance or angle constraint. If the column is blank, the constraint is a driving constraint.

Lower Limit: Displays the value of a specified lower limit that is enabled.

Upper Limit: Displays the value of a specified upper limit that is enabled. 

NX 11: Driven, Lower Limit and Upper Limit columns in the Constraint NavigatorNX 11: Driven, Lower Limit and Upper Limit columns in the Constraint Navigator