Equation Property (ICWPressure)

Gets or sets the equation describing this pressure of nonuniform distribution.

# .NET Syntax

Visual Basic (Declaration)
`Property Equation As System.String`
Visual Basic (Usage)
```Dim instance As ICWPressure
Dim value As System.String

instance.Equation = value

value = instance.Equation```
CSolidWorks.Interop.cosworks~SolidWorks.Interop.cosworks.ICWPressure~Equation.html#
`System.string Equation {get; set;}`
C++/CLI
```property System.String^ Equation {
System.String^ get();
void set ( &   System.String^ value);
}```

#### Property Value

Nonuniform pressure distribution equation

# Example

```For VBA:
```
```CWPressureObj.CoordSystemType = swsCoordinateTypeCylindrical
CWPressureObj.Equation = ".4*""r"" +.8* ""t"" +.6* ""z"""
```
```For VB.NET:
```
```CWPressureObj.CoordSystemType = swsCoordinateType_e.swsCoordinateTypeCylindrical
CWPressureObj.Equation = ".4*""r"" +.8* ""t"" +.6* ""z"""
```
```For CSolidWorks.Interop.cosworks~SolidWorks.Interop.cosworks.ICWPressure~Equation.html#:
```
```CWPressureObj.CoordSystemType = (int)swsCoordinateType_e.swsCoordinateTypeCylindrical;
CWPressureObj.Equation = ".4*\"r\" +.8* \"t\" +.6* \"z\"";
```
```See the ICWPressure examples.
```

# Remarks

This property is valid only if ICWPressure::IncludeNonUniformDistribution is set to 1.

The equation is a string that contains double-quoted coordinate variables. In the example, the cylindrical coordinate system requires that the equation be specified with coordinate variables r, t, and z. Other coordinate systems use different sets of coordinate variables. See the Defining Nonuniform Pressure Loads topic in the SOLIDWORKS Simulation Help for more information.

# Availability

SOLIDWORKS Simulation API 2017 SP0

Provide feedback on this topic

* Required

 *Email: Subject: Feedback on Help Topics Page: Equation Property (ICWPressure) *Comment: * 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:

x

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
x

Web Help Content Version: API Help (English only) 2017 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.