Hide Table of Contents

Defining Constraints

Define constraints to specify the conditions that your design must satisfy. The constraints can be driven global variables or sensors for mass properties, dimensions, and simulation data.

  1. On the Variable View tab or Table View tab of the design study, in Constraints section, do one of the following:
    • Select a predefined sensor from the list.
    • Select Add Sensor, define a sensor, and select the newly defined sensor from the list.

    The sensor name appears in the Constraints section.

  2. For the constraint, if you defined multiple studies of the same type, select the simulation study to run and track the value of the sensor. (Not available in SolidWorks Standard and SolidWorks Professional.)
  3. For condition, select one:

    Monitor Only

    Monitor the sensor value being tracked without imposing any constraints.

    is greater than

    For Min, type the minimum acceptable sensor value.

    is less than

    For Max, type the maximum acceptable sensor value.

    is between

    Type values for Min and Max, the range of acceptable sensor values.

  4. Repeat steps 1 through 3 to define additional constraints.

Sensors in Design Studies

You use sensors as constraints in evaluation studies and as constraints and goals in optimization studies.

Sensor types include:

Mass Properties

Monitors properties such as Mass, Volume, Surface Area, and Center of Mass.


Monitors dimensions you select.

Simulation Data

Monitors simulation results such as stress, strain, and displacement.

Different sensors are available for use in Design Studies depending on your SolidWorks license and whether you are running an Evaluation study or an Optimization study.

  SolidWorks Standard SolidWorks Professional SolidWorks Premium SolidWorks Simulation Professional SolidWorks Simulation Premium
Mass Properties
Simulation Data          

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   Defining Constraints
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: SOLIDWORKS 2014 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.