> ## 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 BuilderBase<T>

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

```csharp theme={null}
public abstract class BuilderBase<T> : IBuilder where T : ObjectBase, new()
```

#### Type Parameters

`T`

#### Inheritance

object ←
[BuilderBase\<T>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Builder.BuilderBase-1.md)

#### Implements

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

## Constructors

### BuilderBase()

```csharp theme={null}
protected BuilderBase()
```

## Fields

### m\_bSuccess

```csharp theme={null}
protected bool m_bSuccess
```

#### Field Value

bool

## Properties

### AddToDoc

```csharp theme={null}
protected virtual bool AddToDoc { get; }
```

#### Property Value

bool

### BuildDocument

```csharp theme={null}
protected Document BuildDocument { get; }
```

#### Property Value

Document

### BuildObject

```csharp theme={null}
public virtual ObjectBase BuildObject { get; }
```

#### Property Value

ObjectBase

### ErrorMessage

```csharp theme={null}
protected string ErrorMessage { get; set; }
```

#### Property Value

string

### Parameters

```csharp theme={null}
public PickedResult[] Parameters { get; set; }
```

#### Property Value

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

### SetPointKey

```csharp theme={null}
protected List<SetPoint> SetPointKey { get; }
```

#### Property Value

List\<[SetPoint](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/SetPoint.cs)>

### UseChangedObject

```csharp theme={null}
protected virtual bool UseChangedObject { get; }
```

#### Property Value

bool

### UseInterface

```csharp theme={null}
protected bool UseInterface { get; set; }
```

#### Property Value

bool

## Methods

### Build(Document)

```csharp theme={null}
public virtual void Build(Document docToAdd)
```

#### Parameters

`docToAdd` Document

### Build(Document, List\<string>)

```csharp theme={null}
public virtual void Build(Document docToAdd, List<string> lstSetPointKeys)
```

#### Parameters

`docToAdd` Document

`lstSetPointKeys` List\<string>

### OnFinalBuild(string, Document)

```csharp theme={null}
protected virtual ObjectBase OnFinalBuild(string strObjName, Document doc)
```

#### Parameters

`strObjName` string

`doc` Document

#### Returns

ObjectBase

### OnObjectChangeBuild(string, Document)

```csharp theme={null}
protected virtual ObjectBase OnObjectChangeBuild(string strObjName, Document doc)
```

#### Parameters

`strObjName` string

`doc` Document

#### Returns

ObjectBase

### OnPostAddDoc(ObjectBase)

```csharp theme={null}
protected virtual void OnPostAddDoc(ObjectBase ob)
```

#### Parameters

`ob` ObjectBase

### OnPostBuild(ObjectBase, Document)

```csharp theme={null}
protected virtual bool OnPostBuild(ObjectBase obCreated, Document doc)
```

#### Parameters

`obCreated` ObjectBase

`doc` Document

#### Returns

bool

### Success()

```csharp theme={null}
public bool Success()
```

#### Returns

bool

### Validate(IList\<string>)

```csharp theme={null}
public virtual bool Validate(IList<string> lstErrorMessage)
```

#### Parameters

`lstErrorMessage` IList\<string>

#### Returns

bool
