Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class ShellToSolidAPI

Last update: 09.03.2026

Namespace: VM.API.Pre.FE
Assembly: VM.API.Pre.FE.dll

This class implements APIs to convert shell to solid.

public static class ShellToSolidAPI

Inheritance

object ← ShellToSolidAPI

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

ConvertShellToSolid(MeshDocument, ShellThicknessType, ExpressionValueVariable?)

Convert shell to solid.

[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

Will be thrown if 'document' argument is empty.

ArgumentOutOfRangeException

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

Connect with Ansys