> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class SplitAPI

Namespace: [VM.API.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre)\
Assembly: VM.API.Pre.dll

This class implements APIs for split.

```csharp theme={null}
public static class SplitAPI
```

#### Inheritance

object ←
[SplitAPI](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.SplitAPI.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

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

Split a face with circle plane.

```csharp theme={null}
[NotNull(new string[] { "document", "targetFaces" })]
public static void SplitFaceWithCirclePlane(this IDocument document, IEnumerable<Obj> targetFaces, Vector point, Vector direction, ExpressionValueVariable? radius = null)
```

#### Parameters

`document` IDocument

The [IDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.IDocument.md) to split a face with circle plane.

`targetFaces` IEnumerable\<[Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.Obj.md)>

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](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)?

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](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SubSystemDocument.md) and [PartDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.PartDocument.md).

ArgumentException

Will be thrown if the type of 'targetFaces' is not [Face](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.CAD.Face.md).

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.

```csharp theme={null}
[NotNull(new string[] { "document", "targetFaces" })]
[NotNullObj(new string[] { "toolBody" })]
public static void SplitFaceWithImprintFaceAndBody(this IDocument document, IEnumerable<Obj> targetFaces, Obj toolBody, bool parametric = true)
```

#### Parameters

`document` IDocument

The [IDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.IDocument.md) to split a face with imprint using face and body.

`targetFaces` IEnumerable\<[Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.Obj.md)>

The target faces of a face with imprint.

`toolBody` [Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.Obj.md)

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](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SubSystemDocument.md) and [PartDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.PartDocument.md).

ArgumentException

Will be thrown if the type of 'targetFaces' is not [Face](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.CAD.Face.md).

ArgumentException

Will be thrown if the type of 'toolBody' is not [SolidBody](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SolidBody.md) and [Body](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.CAD.Body.md).

### SplitFaceWithImprintTwoBodies(IDocument, Obj, Obj, bool)

Split a face with Imprint.

```csharp theme={null}
[NotNull(new string[] { "document" })]
[NotNullObj(new string[] { "targetBody", "toolBody" })]
public static void SplitFaceWithImprintTwoBodies(this IDocument document, Obj targetBody, Obj toolBody, bool parametric = true)
```

#### Parameters

`document` IDocument

The [IDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.IDocument.md) to split a face with imprint using two bodies.

`targetBody` [Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.Obj.md)

The target body of a face with imprint.

`toolBody` [Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.Obj.md)

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](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SubSystemDocument.md) and [PartDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.PartDocument.md).

ArgumentException

Will be thrown if the type of 'targetBody', 'toolBody' is not [SolidBody](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SolidBody.md) and [Body](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.CAD.Body.md).

ArgumentException

Will be thrown if the 'toolBody' is equal to the 'targetBody'.

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

Split a face with Imprint.

```csharp theme={null}
[NotNull(new string[] { "document", "targetFaces", "toolFaces" })]
public static void SplitFaceWithImprintTwoFaces(this IDocument document, IEnumerable<Obj> targetFaces, IEnumerable<Obj> toolFaces, bool parametric = true)
```

#### Parameters

`document` IDocument

The [IDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.IDocument.md) to split a face with imprint using two faces.

`targetFaces` IEnumerable\<[Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.Obj.md)>

The target faces of a face with imprint.

`toolFaces` IEnumerable\<[Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.Obj.md)>

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](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SubSystemDocument.md) and [PartDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.PartDocument.md).

ArgumentException

Will be thrown if the type of 'targetFaces', 'toolFaces' is not [Face](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.CAD.Face.md).

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

Split a face with rectangle plane.

```csharp theme={null}
[NotNull(new string[] { "document", "targetFaces" })]
public static void SplitFaceWithRectanglePlane(this IDocument document, IEnumerable<Obj> targetFaces, Vector point, TMatrix transform, ExpressionValueVariable? width = null, ExpressionValueVariable? height = null)
```

#### Parameters

`document` IDocument

The [IDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.IDocument.md) to split a face with rectangle plane.

`targetFaces` IEnumerable\<[Obj](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.Obj.md)>

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](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)?

The width of a face with rectangle plane.

`height` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)?

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](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.SubSystemDocument.md) and [PartDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.PartDocument.md).

ArgumentException

Will be thrown if the type of 'targetFaces' is not [Face](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.CAD.Face.md).

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.
