    

 ## On this page

  

 

 # Class MaterialAPI

 Last update: 09.03.2026 

<a id="VM_API_Pre_MaterialAPI"></a>

Namespace: [VM.API.Pre](VM.API.Pre.md)  
Assembly: VM.API.Pre.dll

This class implements APIs for material class.

```csharp
public static class MaterialAPI

```

#### Inheritance

object ← [MaterialAPI](VM.API.Pre.MaterialAPI.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### <a id="VM_API_Pre_MaterialAPI_CreateArrudaBoyce_VM_Models_Pre_IDocument_System_String_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_Boolean_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_"></a> CreateArrudaBoyce(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)

Create .

```csharp
[NotNull(new string[] { "document" })]
public static Obj CreateArrudaBoyce(this IDocument document, string name, ExpressionValueVariable density, ExpressionValueVariable dampingRatio, bool disableHScaleFactor, ExpressionValueVariable mu, ExpressionValueVariable lambda, ExpressionValueVariable d)

```

#### Parameters

`document` IDocument

The document to create the arruda-boyce material.

`name` string

The name of the arruda-boyce material.

`density` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The density of the arruda-boyce material.

`dampingRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.

`disableHScaleFactor` bool

A value indicating whether to disable H Scale factor or not.

`mu` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The mu to set the elastic constant which is corresponding to the shear modulus in the linear material.

`lambda` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The lambda to set the locking stretch.

`d` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The d to set the incompressibility parameter to determine a penalty of the volume constraint.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'density', 'dampingRatio' values less than 0.

### <a id="VM_API_Pre_MaterialAPI_CreateArrudaBoyce_VM_Models_Pre_IDocument_System_String_"></a> CreateArrudaBoyce(IDocument, string)

Create .

```csharp
public static Obj CreateArrudaBoyce(this IDocument document, string name)

```

#### Parameters

`document` IDocument

The document to create the arruda-boyce material.

`name` string

The name of the arruda-boyce material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreateFoam_VM_Models_Pre_IDocument_System_String_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_Boolean_VM_Models_Pre_ExpressionValueVariable_System_Nullable_VM_API_Pre_Obj__"></a> CreateFoam(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, Obj?)

Create .

```csharp
[NotNull(new string[] { "document" })]
public static Obj CreateFoam(this IDocument document, string name, ExpressionValueVariable density, ExpressionValueVariable dampingRatio, bool disableHScaleFactor, ExpressionValueVariable youngsModulus, Obj? spline = null)

```

#### Parameters

`document` IDocument

The document to create the foam material.

`name` string

The name of the foam material.

`density` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The density of the foam material.

`dampingRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.

`disableHScaleFactor` bool

A value indicating whether to disable H Scale factor or not.

`youngsModulus` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The Young's modulus of the foam material.

`spline` [Obj](VM.API.Pre.Obj.md)?

The spline to set the norminal strain-stress curve by using the spline picker.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'density', 'dampingRatio', 'youngsModulus' values less than 0.

ArgumentException

Will be thrown if the type of 'spline' is not .

### <a id="VM_API_Pre_MaterialAPI_CreateFoam_VM_Models_Pre_IDocument_System_String_"></a> CreateFoam(IDocument, string)

Create .

```csharp
public static Obj CreateFoam(this IDocument document, string name)

```

#### Parameters

`document` IDocument

The document to create the foam material.

`name` string

The name of the foam material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreateISO_VM_Models_Pre_IDocument_System_String_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_Boolean_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_"></a> CreateISO(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)

Create .

```csharp
[NotNull(new string[] { "document" })]
[GreaterThanOrEqualToZero(new string[] { "youngsModulus", "thermalConductivity", "specificHeat" })]
[GreaterThanZero(new string[] { "shearModulus" })]
public static Obj CreateISO(this IDocument document, string name, ExpressionValueVariable density, ExpressionValueVariable dampingRatio, bool disableHScaleFactor, ExpressionValueVariable youngsModulus, ExpressionValueVariable shearModulus, ExpressionValueVariable poissonRatio, ExpressionValueVariable thermalExpansionCoefficient, ExpressionValueVariable thermalConductivity, ExpressionValueVariable specificHeat, ExpressionValueVariable referenceTemperature)

```

#### Parameters

`document` IDocument

The document to create the iso material.

`name` string

The name of the iso material.

`density` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The density of the iso material.

`dampingRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.

`disableHScaleFactor` bool

A value indicating whether to disable H Scale factor or not.

`youngsModulus` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The Young's modulus of the iso material.

`shearModulus` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The shear modulus of the iso material.

`poissonRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The Poisson's ratio of the iso material.

`thermalExpansionCoefficient` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The thermal expansion coefficient of the iso material.

`thermalConductivity` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The thermal conductivity of the iso material.

`specificHeat` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The specific heat of the iso material.

`referenceTemperature` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The initial temperature of the iso material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'density', 'dampingRatio', 'youngsModulus', 'shearModulus', 'poissonRatio' values less than 0.

ArgumentOutOfRangeException

Will be thrown if 'poissonRatio' value is less than 0 or equal to 0.5 or more than 0.5.

### <a id="VM_API_Pre_MaterialAPI_CreateISO_VM_Models_Pre_IDocument_System_String_"></a> CreateISO(IDocument, string)

Create .

```csharp
public static Obj CreateISO(this IDocument document, string name)

```

#### Parameters

`document` IDocument

The document to create the iso material.

`name` string

The name of the iso material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreateISONonlinearThermal_VM_Models_Pre_IDocument_System_String_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_Boolean_VM_API_Pre_Obj_VM_Models_Pre_ExpressionValueVariable_VM_API_Pre_Obj_VM_API_Pre_Obj_VM_API_Pre_Obj_VM_Models_Pre_ExpressionValueVariable_"></a> CreateISONonlinearThermal(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, Obj, ExpressionValueVariable, Obj, Obj, Obj, ExpressionValueVariable)

Create .

```csharp
[NotNull(new string[] { "document" })]
[NotNullObj(new string[] { "youngsModulusSpline", "thermalExpansionCoefficientSpline", "thermalConductivitySpline", "specificHeatSpline" })]
[MatchTypeObj(new object[] { "youngsModulusSpline", typeof(ISpline), "thermalExpansionCoefficientSpline", typeof(ISpline), "thermalConductivitySpline", typeof(ISpline), "specificHeatSpline", typeof(ISpline) })]
public static Obj CreateISONonlinearThermal(this IDocument document, string name, ExpressionValueVariable density, ExpressionValueVariable dampingRatio, bool disableHScaleFactor, Obj youngsModulusSpline, ExpressionValueVariable poissonRatio, Obj thermalExpansionCoefficientSpline, Obj thermalConductivitySpline, Obj specificHeatSpline, ExpressionValueVariable referenceTemperature)

```

#### Parameters

`document` IDocument

The document to create the iso nonlinear thermal material.

`name` string

The name of the iso nonlinear thermal material.

`density` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The density of the iso nonlinear thermal material.

`dampingRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.

`disableHScaleFactor` bool

A value indicating whether to disable H Scale factor or not.

`youngsModulusSpline` [Obj](VM.API.Pre.Obj.md)

The Young's modulus spline of the iso nonlinear thermal material.

`poissonRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The Poisson's ratio of the iso nonlinear thermal material.

`thermalExpansionCoefficientSpline` [Obj](VM.API.Pre.Obj.md)

The thermal expansion coefficient spline of the iso nonlinear thermal material.

`thermalConductivitySpline` [Obj](VM.API.Pre.Obj.md)

The thermal conductivity spline of the iso nonlinear thermal material.

`specificHeatSpline` [Obj](VM.API.Pre.Obj.md)

The specific heat spline of the iso nonlinear thermal material.

`referenceTemperature` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The initial temperature of the iso nonlinear thermal material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'density', 'dampingRatio', 'poissonRatio' values less than 0.

ArgumentOutOfRangeException

Will be thrown if 'poissonRatio' value is less than 0 or equal to 0.5 or more than 0.5.

### <a id="VM_API_Pre_MaterialAPI_CreateISONonlinearThermal_VM_Models_Pre_IDocument_System_String_VM_API_Pre_Obj_VM_API_Pre_Obj_VM_API_Pre_Obj_VM_API_Pre_Obj_"></a> CreateISONonlinearThermal(IDocument, string, Obj, Obj, Obj, Obj)

Create .

```csharp
public static Obj CreateISONonlinearThermal(this IDocument document, string name, Obj youngsModulusSpline, Obj thermalExpansionCoefficientSpline, Obj thermalConductivitySpline, Obj specificHeatSpline)

```

#### Parameters

`document` IDocument

The document to create the iso nonlinear thermal material.

`name` string

The name of the iso nonlinear thermal material.

`youngsModulusSpline` [Obj](VM.API.Pre.Obj.md)

The Young's modulus spline of the iso nonlinear thermal material.

`thermalExpansionCoefficientSpline` [Obj](VM.API.Pre.Obj.md)

The thermal expansion coefficient spline of the iso nonlinear thermal material.

`thermalConductivitySpline` [Obj](VM.API.Pre.Obj.md)

The thermal conductivity spline of the iso nonlinear thermal material.

`specificHeatSpline` [Obj](VM.API.Pre.Obj.md)

The specific heat spline of the iso nonlinear thermal material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreateMooneyRivlin_VM_Models_Pre_IDocument_System_String_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_Boolean_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_"></a> CreateMooneyRivlin(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)

Create .

```csharp
[NotNull(new string[] { "document" })]
public static Obj CreateMooneyRivlin(this IDocument document, string name, ExpressionValueVariable density, ExpressionValueVariable dampingRatio, bool disableHScaleFactor, ExpressionValueVariable c10, ExpressionValueVariable c01, ExpressionValueVariable d)

```

#### Parameters

`document` IDocument

The document to create the mooney-rivlin material.

`name` string

The name of the mooney-rivlin material.

`density` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The density of the mooney-rivlin material.

`dampingRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.

`disableHScaleFactor` bool

A value indicating whether to disable H Scale factor or not.

`c10` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The c10 to set the elastic constant which is corresponding to the Young’s modulus in the linear material.

`c01` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The c01 to set the 2nd elastic constant which is corresponding to the Young’s modulus in the linear material.

`d` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The d to set the incompressibility parameter to determine a penalty of the volume constraint.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'density', 'dampingRatio', 'c10' 'c01' values less than 0. Will be thrown if 'd' value equal to or less than 0. Will be thrown if 'd' value greater than 1.

### <a id="VM_API_Pre_MaterialAPI_CreateMooneyRivlin_VM_Models_Pre_IDocument_System_String_"></a> CreateMooneyRivlin(IDocument, string)

Create .

```csharp
public static Obj CreateMooneyRivlin(this IDocument document, string name)

```

#### Parameters

`document` IDocument

The document to create the mooney-rivlin material.

`name` string

The name of the mooney-rivlin material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreateNeoHookean_VM_Models_Pre_IDocument_System_String_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_Boolean_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_"></a> CreateNeoHookean(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable)

Create .

```csharp
[NotNull(new string[] { "document" })]
public static Obj CreateNeoHookean(this IDocument document, string name, ExpressionValueVariable density, ExpressionValueVariable dampingRatio, bool disableHScaleFactor, ExpressionValueVariable c10, ExpressionValueVariable d)

```

#### Parameters

`document` IDocument

The document to create the neo-hookean material.

`name` string

The name of the neo-hookean material.

`density` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The density of the neo-hookean material.

`dampingRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.

`disableHScaleFactor` bool

A value indicating whether to disable H Scale factor or not.

`c10` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The c10 to set the elastic constant which is corresponding to the Young’s modulus in the linear material.

`d` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The d to set the incompressibility parameter to determine a penalty of the volume constraint.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'density', 'dampingRatio', 'c10' values less than 0.

### <a id="VM_API_Pre_MaterialAPI_CreateNeoHookean_VM_Models_Pre_IDocument_System_String_"></a> CreateNeoHookean(IDocument, string)

Create .

```csharp
public static Obj CreateNeoHookean(this IDocument document, string name)

```

#### Parameters

`document` IDocument

The document to create the neo-hookean material.

`name` string

The name of the neo-hookean material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreateORTHO_VM_Models_Pre_IDocument_System_String_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_Boolean_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_"></a> CreateORTHO(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)

Create .

```csharp
[NotNull(new string[] { "document" })]
[GreaterThanOrEqualToZero(new string[] { "youngsModulusX", "youngsModulusY", "youngsModulusZ" })]
[GreaterThanZero(new string[] { "shearModulusXY", "shearModulusYZ", "shearModulusXZ" })]
public static Obj CreateORTHO(this IDocument document, string name, ExpressionValueVariable density, ExpressionValueVariable dampingRatio, bool disableHScaleFactor, ExpressionValueVariable youngsModulusX, ExpressionValueVariable youngsModulusY, ExpressionValueVariable youngsModulusZ, ExpressionValueVariable poissonRatioXY, ExpressionValueVariable poissonRatioYZ, ExpressionValueVariable poissonRatioXZ, ExpressionValueVariable shearModulusXY, ExpressionValueVariable shearModulusYZ, ExpressionValueVariable shearModulusXZ)

```

#### Parameters

`document` IDocument

The document to create the orthotropic material.

`name` string

The name of the orthotropic material.

`density` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The density of the orthotropic material.

`dampingRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.

`disableHScaleFactor` bool

A value indicating whether to disable H Scale factor or not.

`youngsModulusX` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The Young's modulus of x-direction of the orthotropic material.

`youngsModulusY` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The Young's modulus of y-direction of the orthotropic material.

`youngsModulusZ` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The Young's modulus of z-direction of the orthotropic material.

`poissonRatioXY` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The xy-Poisson’s ratio of the orthotropic material.

`poissonRatioYZ` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The yz-Poisson’s ratio of the orthotropic material.

`poissonRatioXZ` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The xz-Poisson’s ratio of the orthotropic material.

`shearModulusXY` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The xy-Shear modulus of the orthotropic material.

`shearModulusYZ` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The yz-Shear modulus of the orthotropic material.

`shearModulusXZ` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The xz-Shear modulus of the orthotropic material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'density', 'dampingRatio', 'youngsModulusX', 'youngsModulusY', 'youngsModulusZ', 'poissonRatioXY', 'poissonRatioYZ', 'poissonRatioXZ', 'shearModulusXY', 'shearModulusYZ', 'shearModulusXZ' values less than 0.

ArgumentOutOfRangeException

Will be thrown if 'poissonRatioXY', 'poissonRatioYZ', 'poissonRatioXZ' value is less than 0 or equal to 0.5 or more than 0.5.

### <a id="VM_API_Pre_MaterialAPI_CreateORTHO_VM_Models_Pre_IDocument_System_String_"></a> CreateORTHO(IDocument, string)

Create .

```csharp
public static Obj CreateORTHO(this IDocument document, string name)

```

#### Parameters

`document` IDocument

The document to create the orthotropic material.

`name` string

The name of the orthotropic material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreateOgden_VM_Models_Pre_IDocument_System_String_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_Boolean_System_Collections_Generic_IEnumerable_VM_API_Pre_OgdenContents__"></a> CreateOgden(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, IEnumerable&lt;OgdenContents&gt;)

Create .

```csharp
[NotNull(new string[] { "document" })]
public static Obj CreateOgden(this IDocument document, string name, ExpressionValueVariable density, ExpressionValueVariable dampingRatio, bool disableHScaleFactor, IEnumerable<OgdenContents> ogdenContents = null)

```

#### Parameters

`document` IDocument

The document to create the ogden material.

`name` string

The name of the ogden material.

`density` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The density of the ogden material.

`dampingRatio` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.

`disableHScaleFactor` bool

A value indicating whether to disable H Scale factor or not.

`ogdenContents` IEnumerable&lt;[OgdenContents](VM.API.Pre.OgdenContents.md)&gt;

The ogden contents array.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'density', 'dampingRatio' values less than 0.

### <a id="VM_API_Pre_MaterialAPI_CreateOgden_VM_Models_Pre_IDocument_System_String_"></a> CreateOgden(IDocument, string)

Create .

```csharp
public static Obj CreateOgden(this IDocument document, string name)

```

#### Parameters

`document` IDocument

The document to create the ogden material.

`name` string

The name of the ogden material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreatePlasticBilinear_VM_Models_Pre_IDocument_System_String_VM_API_Pre_Obj_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_"></a> CreatePlasticBilinear(IDocument, string, Obj, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)

Create .

```csharp
[NotNull(new string[] { "document" })]
[NotNullObj(new string[] { "linearMaterial" })]
[MatchTypeObj(new object[] { "linearMaterial", typeof(ISO) })]
public static Obj CreatePlasticBilinear(this IDocument document, string name, Obj linearMaterial, ExpressionValueVariable et, ExpressionValueVariable initialYieldingStress, ExpressionValueVariable linearKinematicHardening)

```

#### Parameters

`document` IDocument

The document to create the plastic bi-linear material.

`name` string

The name of the plastic bi-linear material.

`linearMaterial` [Obj](VM.API.Pre.Obj.md)

The linear elastic material.

`et` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The plastic hardening modulus.

`initialYieldingStress` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The initial yielding stress.

`linearKinematicHardening` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The hardening type.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'plasticHardeningModulus', 'initialYieldingStress', 'hardeningParameter' values less than 0.

### <a id="VM_API_Pre_MaterialAPI_CreatePlasticBilinear_VM_Models_Pre_IDocument_System_String_VM_API_Pre_Obj_"></a> CreatePlasticBilinear(IDocument, string, Obj)

Create .

```csharp
public static Obj CreatePlasticBilinear(this IDocument document, string name, Obj linearMaterial)

```

#### Parameters

`document` IDocument

The document to create the plastic bi-linear material.

`name` string

The name of the plastic bi-linear material.

`linearMaterial` [Obj](VM.API.Pre.Obj.md)

The linear elastic material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreatePlasticMultilinear_VM_Models_Pre_IDocument_System_String_VM_API_Pre_Obj_VM_Models_Pre_ExpressionValueVariable_VM_Models_Pre_ExpressionValueVariable_System_Nullable_VM_API_Pre_Obj__"></a> CreatePlasticMultilinear(IDocument, string, Obj, ExpressionValueVariable, ExpressionValueVariable, Obj?)

Create .

```csharp
[NotNull(new string[] { "document" })]
[NotNullObj(new string[] { "linearMaterial" })]
[MatchTypeObj(new object[] { "linearMaterial", typeof(ISO) })]
public static Obj CreatePlasticMultilinear(this IDocument document, string name, Obj linearMaterial, ExpressionValueVariable initialYieldingStress, ExpressionValueVariable linearKinematicHardening, Obj? spline = null)

```

#### Parameters

`document` IDocument

The document to create the plastic multi-linear material.

`name` string

The name of the plastic multi-linear material.

`linearMaterial` [Obj](VM.API.Pre.Obj.md)

The linear elastic material.

`initialYieldingStress` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The initial yielding stress.

`linearKinematicHardening` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The hardening type.

`spline` [Obj](VM.API.Pre.Obj.md)?

.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

ArgumentOutOfRangeException

Will be thrown if 'plasticHardeningModulus', 'initialYieldingStress', 'hardeningParameter' values less than 0.

ArgumentException

Will be thrown if the type of 'spline' is not .

### <a id="VM_API_Pre_MaterialAPI_CreatePlasticMultilinear_VM_Models_Pre_IDocument_System_String_VM_API_Pre_Obj_"></a> CreatePlasticMultilinear(IDocument, string, Obj)

Create .

```csharp
public static Obj CreatePlasticMultilinear(this IDocument document, string name, Obj linearMaterial)

```

#### Parameters

`document` IDocument

The document to create the plastic multi-linear material.

`name` string

The name of the plastic multi-linear material.

`linearMaterial` [Obj](VM.API.Pre.Obj.md)

The linear elastic material.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

### <a id="VM_API_Pre_MaterialAPI_CreateSplineForMaterial_VM_API_Pre_Obj_System_Collections_Generic_IEnumerable_VM_Managed_DAFUL_SplineData_Point__"></a> CreateSplineForMaterial(Obj, IEnumerable&lt;Point&gt;)

Create spline for material.

```csharp
[NotNullObj(new string[] { "material" })]
public static Obj CreateSplineForMaterial(this Obj material, IEnumerable<SplineData.Point> data)

```

#### Parameters

`material` [Obj](VM.API.Pre.Obj.md)

The material to be updated.

`data` IEnumerable&lt;[SplineData](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDSB/Spline.cs).[Point](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDSB/Spline.cs)&gt;

The data of spline X, Y.

#### Returns

[Obj](VM.API.Pre.Obj.md)

The new  object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'material' arguments are empty.

ArgumentException

Will be thrown if 'material' argument is not empty and type of 'body' is not SolidBody or Body.

ArgumentException

Will be thrown if the type of 'material' is not  and .

ArgumentException

Will be thrown if the document type of 'material' is not .