Skip to main content
Namespace: VM.API.Pre.FE
Assembly: VM.API.Pre.FE.dll
This class implements APIs to create patch set.

Inheritance

object ← PatchSetAPI

Extension Methods

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

Methods

CreatePatchset(MeshDocument, IEnumerable<Patch>, string, ExpressionValueVariable?, ExpressionValueVariable?, SurfaceSmoothing, Color?)

Create SetPatch.

Parameters

document MeshDocument The document to create patch set. patchIndexes IEnumerable<Patch> The patch indexes. name string The name to be cteated patch set. maxPenetration ExpressionValueVariable? The maximum penetration to be cteated patch set. The default value is 0. offset ExpressionValueVariable? The offset to be cteated patch set. The default value is 1. surfaceSmoothing SurfaceSmoothing The surface smoothing to be cteated patch set. The default value is AUTOMATIC. color Color? The color to be cteated patch set. The default value is Violet.

Returns

Obj The new SetPatch object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘patchIndexes’ arguments are empty.