    

 ## On this page

  

 

 # Class Relative

 Last update: 09.03.2026 

<a id="VM_API_Pre_Relative"></a>

Namespace: [VM.API.Pre](VM.API.Pre.md)  
Assembly: VM.API.Pre.dll

This class represents the Relative

```csharp
public class Relative

```

#### Inheritance

object ← [Relative](VM.API.Pre.Relative.md)

#### Derived

[RelativeFunction](VM.API.Pre.RelativeFunction.md), [RelativeInitialCondition](VM.API.Pre.RelativeInitialCondition.md), [RelativeUserSubroutine](VM.API.Pre.RelativeUserSubroutine.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_API_Pre_Relative__ctor"></a> Relative()

Default constructor

```csharp
public Relative()

```

### <a id="VM_API_Pre_Relative__ctor_VM_Managed_DAFUL_Constraints_Driver_DriverType_"></a> Relative(DriverType)

Initializes a new instance of the  class.

```csharp
public Relative(Driver.DriverType type)

```

#### Parameters

`type` [Driver](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCB/Driver.cs).[DriverType](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCB/Driver.cs)

The driver type.

## Properties

### <a id="VM_API_Pre_Relative_Type"></a> Type

The value for the driver type. The default value is .

```csharp
public Driver.DriverType Type { get; set; }

```

#### Property Value

[Driver](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCB/Driver.cs).[DriverType](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCB/Driver.cs)