Class Heal
Last update: 09.03.2026Namespace: VM.API.Pre.CAD
Assembly: VM.API.Pre.dll
This class implements APIs for heal.
public static class Heal
Inheritance
object ← Heal
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
HasDefect(Body, Action<string>, bool)
Check if the body has defect.
public static int HasDefect(this Body body, Action<string> actOutMessage = null, bool bShowDetailedInformation = false)
Parameters
body Body
The target body to check the defect.
actOutMessage Action<string>
The action delegate for output message.
bShowDetailedInformation bool
The flag whether showing the detailed information.
Returns
int
The error type.
HasDefect(IGeometryContainer, Action<string>, bool)
Check if the geometry container has defect.
public static int HasDefect(this IGeometryContainer geometryContainer, Action<string> actOutMessage = null, bool bShowDetailedInformation = false)
Parameters
geometryContainer IGeometryContainer
The geometry container to check the defect.
actOutMessage Action<string>
The action delegate for output message.
bShowDetailedInformation bool
The flag whether showing the detailed information.
Returns
int
The error type.
HasDefect(Obj, Action<string>, bool)
[NotNullObj(new string[] { "entity" })]
public static int HasDefect(Obj entity, Action<string> actOutMessage = null, bool bShowDetailedInformation = false)
Parameters
entity Obj
actOutMessage Action<string>
bShowDetailedInformation bool
Returns
int
Repair(Body, Action<string>)
Repair the body.
public static int Repair(this Body body, Action<string> actOutMessage = null)
Parameters
body Body
The target body to repair.
actOutMessage Action<string>
The action delegate for output message.
Returns
int
The error type.
Repair(IGeometryContainer, Action<string>)
Repair the geometry container.
public static int Repair(this IGeometryContainer geometryContainer, Action<string> actOutMessage = null)
Parameters
geometryContainer IGeometryContainer
The target geometry container to repair.
actOutMessage Action<string>
The action delegate for output message.
Returns
int
The error type.
Repair(Obj, Action<string>)
[NotNullObj(new string[] { "entity" })]
public static int Repair(Obj entity, Action<string> actOutMessage = null)
Parameters
entity Obj
actOutMessage Action<string>
Returns
int