Class ShellToSolidAPI
Last update: 16.07.2025Namespace: VM.API.Pre.FE
Assembly: VM.API.Pre.FE.dll
This class implements APIs to convert shell to solid.
public static class ShellToSolidAPI
Inheritance
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
Will be thrown if 'document' argument is empty.
Will be thrown if 'thickness' value equal to or less than 0.