Skip to main content
Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for split.

Inheritance

object ← SplitAPI

Extension Methods

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

Methods

SplitFaceWithCirclePlane(IDocument, IEnumerable<Obj>, Vector, Vector, ExpressionValueVariable?)

Split a face with circle plane.

Parameters

document IDocument The IDocument to split a face with circle plane. targetFaces IEnumerable<Obj> The target faces of a face with circle plane. point Vector The point of a face with circle plane. direction Vector The direction of a face with circle plane. radius ExpressionValueVariable? The radius of a face with circle plane.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘targetFaces’ argument is null. ArgumentException Will be thrown if the type of ‘document’ is not SubSystemDocument and PartDocument. ArgumentException Will be thrown if the type of ‘targetFaces’ is not Face. ArgumentException Will be thrown if the ‘radius’ value is equal to or less than 0.

SplitFaceWithImprintFaceAndBody(IDocument, IEnumerable<Obj>, Obj, bool)

Split a face with Imprint.

Parameters

document IDocument The IDocument to split a face with imprint using face and body. targetFaces IEnumerable<Obj> The target faces of a face with imprint. toolBody Obj The tool body of a face with imprint. parametric bool The flag of parametric of a face with imprint.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘targetFaces’, ‘toolBody’ argument is null. ArgumentException Will be thrown if the type of ‘document’ is not SubSystemDocument and PartDocument. ArgumentException Will be thrown if the type of ‘targetFaces’ is not Face. ArgumentException Will be thrown if the type of ‘toolBody’ is not SolidBody and Body.

SplitFaceWithImprintTwoBodies(IDocument, Obj, Obj, bool)

Split a face with Imprint.

Parameters

document IDocument The IDocument to split a face with imprint using two bodies. targetBody Obj The target body of a face with imprint. toolBody Obj The tool body of a face with imprint. parametric bool The flag of parametric of a face with imprint.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘targetBody’, ‘toolBody’ argument is null. ArgumentException Will be thrown if the type of ‘document’ is not SubSystemDocument and PartDocument. ArgumentException Will be thrown if the type of ‘targetBody’, ‘toolBody’ is not SolidBody and Body. ArgumentException Will be thrown if the ‘toolBody’ is equal to the ‘targetBody’.

SplitFaceWithImprintTwoFaces(IDocument, IEnumerable<Obj>, IEnumerable<Obj>, bool)

Split a face with Imprint.

Parameters

document IDocument The IDocument to split a face with imprint using two faces. targetFaces IEnumerable<Obj> The target faces of a face with imprint. toolFaces IEnumerable<Obj> The tool faces of a face with imprint. parametric bool The flag of parametric of a face with imprint.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘targetFaces’, ‘toolFaces’ argument is null. ArgumentException Will be thrown if the type of ‘document’ is not SubSystemDocument and PartDocument. ArgumentException Will be thrown if the type of ‘targetFaces’, ‘toolFaces’ is not Face.

SplitFaceWithRectanglePlane(IDocument, IEnumerable<Obj>, Vector, TMatrix, ExpressionValueVariable?, ExpressionValueVariable?)

Split a face with rectangle plane.

Parameters

document IDocument The IDocument to split a face with rectangle plane. targetFaces IEnumerable<Obj> The target faces of a face with rectangle plane. point Vector The point of a face with rectangle plane. transform TMatrix The transform of a face with rectangle plane. width ExpressionValueVariable? The width of a face with rectangle plane. height ExpressionValueVariable? The height of a face with rectangle plane.

Exceptions

ArgumentNullException Will be thrown if ‘document’, ‘targetFaces’ argument is null. ArgumentException Will be thrown if the type of ‘document’ is not SubSystemDocument and PartDocument. ArgumentException Will be thrown if the type of ‘targetFaces’ is not Face. ArgumentException Will be thrown if the magnitude of transform X, Y, Z values is equal to 0. ArgumentException Will be thrown if ‘width’, ‘height’ values are equal to or less than 0.