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

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

This class is to represent the model template.

```csharp theme={null}
public class ModelTemplate : FileGroup<Model.ModelItemGroup, GroupItem>, IFileGroup
```

#### Inheritance

object ←
[Group\<Model.ModelItemGroup, GroupItem>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.Group-2.md) ←
[FileGroup\<Model.ModelItemGroup, GroupItem>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.FileGroup-2.md) ←
[ModelTemplate](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.ModelTemplate.md)

#### Implements

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

#### Inherited Members

[FileGroup\<Model.ModelItemGroup, GroupItem>.Path](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.FileGroup-2.md#VM_Managed_DAFUL_Pre_FileGroup_2_Path),
[Group\<Model.ModelItemGroup, GroupItem>.Initialize()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.Group-2.md#VM_Managed_DAFUL_Pre_Group_2_Initialize),
[Group\<Model.ModelItemGroup, GroupItem>.Name](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.Group-2.md#VM_Managed_DAFUL_Pre_Group_2_Name),
[Group\<Model.ModelItemGroup, GroupItem>.SubGroups](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.Group-2.md#VM_Managed_DAFUL_Pre_Group_2_SubGroups),
[Group\<Model.ModelItemGroup, GroupItem>.SubItems](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.Group-2.md#VM_Managed_DAFUL_Pre_Group_2_SubItems)

#### 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_)

## Constructors

### ModelTemplate()

Initializes a new instance of the [ModelTemplate](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Pre.ModelTemplate.md) class.

```csharp theme={null}
public ModelTemplate()
```

## Properties

### DefaultName

Gets or sets the default name.

```csharp theme={null}
public string DefaultName { get; set; }
```

#### Property Value

string

### Description

Gets or sets the description.

```csharp theme={null}
public string Description { get; set; }
```

#### Property Value

string

### Extension

Gets or sets the extension.

```csharp theme={null}
public string Extension { get; set; }
```

#### Property Value

string

### Folders

Gets or sets the folders.

```csharp theme={null}
public List<string> Folders { get; set; }
```

#### Property Value

List\<string>

### IconPath

Gets or sets the icon path.

```csharp theme={null}
public string IconPath { get; set; }
```

#### Property Value

string

### ToolKit

Gets or sets the tool kit.

```csharp theme={null}
public string ToolKit { get; set; }
```

#### Property Value

string

### Type

Gets or sets the type.

```csharp theme={null}
public string Type { get; set; }
```

#### Property Value

string

## Methods

### CreateModel(string)

Creates the model.

```csharp theme={null}
public Model CreateModel(string strModelFileName)
```

#### Parameters

`strModelFileName` string

Name of the model.

#### Returns

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

The new model.
