> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class ShellToSolidAPI

Namespace: [VM.API.Pre.FE](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.FE)\
Assembly: VM.API.Pre.FE.dll

This class implements APIs to convert shell to solid.

```csharp theme={null}
public static class ShellToSolidAPI
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[ShellToSolidAPI](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.FE.ShellToSolidAPI.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### ConvertShellToSolid(MeshDocument, ShellThicknessType, ExpressionValueVariable?)

Convert shell to solid.

```csharp theme={null}
[NotNull(new string[] { "document" })]
public static void ConvertShellToSolid(this MeshDocument document, Mesh.ShellThicknessType shellThicknessType = ShellThicknessType.Element, ExpressionValueVariable? thickness = null)
```

#### Parameters

`document` MeshDocument

The document to convert shell to solid.

`shellThicknessType` Mesh.ShellThicknessType

The shell thickness type. The default value is Element.

`thickness` ExpressionValueVariable?

The thickness. The default value is 1.

#### Exceptions

[ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception)

Will be thrown if 'document' argument is empty.

[ArgumentOutOfRangeException](https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception)

Will be thrown if 'thickness' value equal to or less than 0.
