Best practices in goal seeking

There are several things you can do to ensure the goal seeking operation succeeds.

Creating the 2D geometry and adding dimensions

The following best practices apply when drawing, sketching, and dimensioning 2D geometry.

To learn about the different types of dimensions, how to recognize them, and how they can be used to control the design, see the following help topics:

Dimensioning elements overview

PMI dimensions and annotations

Additional considerations for models

For part, sheet metal, and assembly models, you should verify the following properties are available for goal seeking.

Limiting the scope of the problem

Sometimes, if the initial conditions set on the command bar are too widespread, goal seeking cannot find the target value or it may require too many iterations. If you start the goal seeking operation with the value of the Variable set such that the Goal is close to the Target, the iterative process generally will be faster and more successful.

You can use the Variable Rule Editor dialog box, which is available within the Variable Table, to set upper and lower limits on the domain of possible values that can be used for the Variable. You can define a discrete set of values, or a range of values, for a variable. This allows you to restrict design changes to a controlled set of values.

Example:

  • Example 1--If you are seeking a value for the diameter of a circle or the length of a line, you should set a limit that their value be greater than 0.

  • Example 2--If you are seeking the diameter of a pipe, then you should set a limit that the outer diameter is greater than the inner diameter.

  • Example 3--If you are seeking an angle, then you should define a rule that limits the possible solutions to an acceptable range, such as between 5° and 90°, or between 90° and 180°.

For more information, see Define limits for a variable.

Controlling goal seeking attempts

The Goal Seek command is an equation-solving algorithm that works through an iterative process to find the target value for a goal. Numerical solution techniques such as these can fail to solve the equation or produce numerical instabilities. The Maximum Time and Maximum Number Of Iterations set in the Goal Seek Options dialog box limit the amount of time that goal seeking will run should it fail to find a solution.

When an equation fails to produce a solution, it may be due to any of these factors:

You can adjust the maximum time or maximum number of iterations to suit the needs of the particular situation you have. Select Goal Seek Options on the Goal Seek command bar to open the Goal Seek Options dialog box.

What are you looking for?
How do I
Learn more about
Look up more details