> ## 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 DesignFrameAPI

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

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

#### Inheritance

object ←
[DesignFrameAPI](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.API.Pre.DesignFrameAPI.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

### CreateDesignFrame(IDocument, string, TMatrix)

Create [DesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DesignFrame.md).

```csharp theme={null}
[NotNull(new string[] { "transform" })]
public static Obj CreateDesignFrame(this IDocument document, string name, TMatrix transform)
```

#### Parameters

`document` IDocument

The document to create the design frame.

`name` string

The name of the design frame.

`transform` TMatrix

The transform to create the design frame.

#### Returns

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

The new [DesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DesignFrame.md) object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'transform' argument is null.

### CreateDesignFrame(IDocument, string, TransformBase, SymmetricType)

Create [DesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DesignFrame.md).

```csharp theme={null}
[NotNull(new string[] { "transform" })]
public static Obj CreateDesignFrame(this IDocument document, string name, TransformBase transform, SymmetricType symmetricType = SymmetricType.None)
```

#### Parameters

`document` IDocument

The document to create the design frame.

`name` string

The name of the design frame.

`transform` TransformBase

The transform to create the design frame.

`symmetricType` SymmetricType

The symmetric type of the new Managed.DAFUL.DesignFrame

#### Returns

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

The new [DesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DesignFrame.md) object that is created by this API.

#### Exceptions

ArgumentNullException

Will be thrown if 'transform' argument is null.
