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

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

This class implements APIs for document.

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

#### Inheritance

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

### ChangeGroupDriveline(TestRigDocumentBase, bool, bool)

Change group driveline.

```csharp theme={null}
[NotNull(new string[] { "document" })]
public static void ChangeGroupDriveline(this TestRigDocumentBase document, bool activeFront, bool activeRear)
```

#### Parameters

`document` [TestRigDocumentBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TestRigDocument.cs)

The document to be changed group.

`activeFront` bool

The flag for active front.

`activeRear` bool

The flag for active rear.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' argument is empty.

ArgumentException

Will be thrown if 'document' argument is not assembly.

### ChangeGroupKinematicAndCompliance(TestRigDocumentBase, bool)

Change group kinematic and compliance.

```csharp theme={null}
[NotNull(new string[] { "document" })]
public static void ChangeGroupKinematicAndCompliance(this TestRigDocumentBase document, bool kinematic)
```

#### Parameters

`document` [TestRigDocumentBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TestRigDocument.cs)

The document to be changed group.

`kinematic` bool

The flag for using kinematic.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' argument is empty.

ArgumentException

Will be thrown if 'document' argument is not assembly.

### CreateNewAntiRollBarFromTemplateDocument(string, string, MinorRole)

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

```csharp theme={null}
public static AntiRollBarDocument CreateNewAntiRollBarFromTemplateDocument(string newAntiRollBarFromTemplateFilePath, string existedAntiRollBarTemplateFilePath, MinorRole minorRole = MinorRole.Any)
```

#### Parameters

`newAntiRollBarFromTemplateFilePath` string

The file path of new anti-roll bar from template file path.

`existedAntiRollBarTemplateFilePath` string

The file path of existed anti-roll bar template file path.

`minorRole` MinorRole

The minor role type. The default value is Any.

#### Returns

[AntiRollBarDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/AntiRollBarDocument.cs)

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

### CreateNewAntiRollBarTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static AntiRollBarDocument CreateNewAntiRollBarTemplateDocument(string newAntiRollBarFilePath, string documentName = "AntiRollBar", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newAntiRollBarFilePath` string

The file path of new anti-roll bar.

`documentName` string

The name of document. The default value is AntiRollBar.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[AntiRollBarDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/AntiRollBarDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newAntiRollBarFilePath' argument is null.

### CreateNewBodyFromTemplateDocument(string, string, MinorRole)

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

```csharp theme={null}
public static BodyDocument CreateNewBodyFromTemplateDocument(string newBodyFromTemplateFilePath, string existedBodyTemplateFilePath, MinorRole minorRole = MinorRole.Any)
```

#### Parameters

`newBodyFromTemplateFilePath` string

The file path of new body from template file path.

`existedBodyTemplateFilePath` string

The file path of existed body template file path.

`minorRole` MinorRole

The minor role type. The default value is Any.

#### Returns

[BodyDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/BodyDocument.cs)

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

### CreateNewBodyTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static BodyDocument CreateNewBodyTemplateDocument(string newBodyFilePath, string documentName = "Body", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newBodyFilePath` string

The file path of new body.

`documentName` string

The name of document. The default value is Body.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[BodyDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/BodyDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newBodyFilePath' argument is null.

### CreateNewBrakeSystemFromTemplateDocument(string, string, MinorRole)

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

```csharp theme={null}
public static BrakeSystemDocument CreateNewBrakeSystemFromTemplateDocument(string newBrakeSystemFromTemplateFilePath, string existedBrakeSystemTemplateFilePath, MinorRole minorRole = MinorRole.Any)
```

#### Parameters

`newBrakeSystemFromTemplateFilePath` string

The file path of new brake system from template file path.

`existedBrakeSystemTemplateFilePath` string

The file path of existed brake system template file path.

`minorRole` MinorRole

The minor role type. The default value is Any.

#### Returns

[BrakeSystemDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/BrakeSystemDocument.cs)

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

### CreateNewBrakeSystemTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static BrakeSystemDocument CreateNewBrakeSystemTemplateDocument(string newBrakeSystemFilePath, string documentName = "BrakeSystem", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newBrakeSystemFilePath` string

The file path of new brake system.

`documentName` string

The name of document. The default value is BrakeSystem.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[BrakeSystemDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/BrakeSystemDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newBrakeSystemFilePath' argument is null.

### CreateNewBumpStopPropertyDocument(string, string, Unit, LengthUnitType)

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

```csharp theme={null}
public static PropertyBumpstopDocument CreateNewBumpStopPropertyDocument(string newBumpStopPropertyFilePath, string documentName = "Bumpstop", Unit unit = null, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newBumpStopPropertyFilePath` string

The file path of new bump stop property file path.

`documentName` string

The name of document. The default value is Bumpstop.

`unit` Unit

The unit information.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[PropertyBumpstopDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/Bumpstop.cs)

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

### CreateNewBushPropertyDocument(string, string, Unit, LengthUnitType)

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

```csharp theme={null}
public static PropertyBushDocument CreateNewBushPropertyDocument(string newBushPropertyFilePath, string documentName = "Bush", Unit unit = null, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newBushPropertyFilePath` string

The file path of new bump stop property file path.

`documentName` string

The name of document. The default value is Bush.

`unit` Unit

The unit information.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[PropertyBushDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFB/Bush.cs)

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

### CreateNewDamperPropertyDocument(string, string, Unit, LengthUnitType)

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

```csharp theme={null}
public static PropertyDamperDocument CreateNewDamperPropertyDocument(string newDamperPropertyFilePath, string documentName = "Damper", Unit unit = null, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newDamperPropertyFilePath` string

The file path of new bump stop property file path.

`documentName` string

The name of document. The default value is Damper.

`unit` Unit

The unit information.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[PropertyDamperDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/Damper.cs)

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

### CreateNewDriveLineFromTemplateDocument(string, string, MinorRole)

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

```csharp theme={null}
public static DriveLineDocument CreateNewDriveLineFromTemplateDocument(string newDriveLineFromTemplateFilePath, string existedDriveLineTemplateFilePath, MinorRole minorRole = MinorRole.Any)
```

#### Parameters

`newDriveLineFromTemplateFilePath` string

The file path of new drive line from template file path.

`existedDriveLineTemplateFilePath` string

The file path of existed drive line template file path.

`minorRole` MinorRole

The minor role type. The default value is Any.

#### Returns

[DriveLineDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/DriveLineDocument.cs)

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

### CreateNewDriveLineTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static DriveLineDocument CreateNewDriveLineTemplateDocument(string newDriveLineFilePath, string documentName = "DriveLine", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newDriveLineFilePath` string

The file path of new drive line.

`documentName` string

The name of document. The default value is DriveLine.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[DriveLineDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/DriveLineDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newDriveLineFilePath' argument is null.

### CreateNewFourPostTestRigFromTemplateDocument(string, string, string, string, string, string, string, string, string, string, string\[], Vector, Unit, double, LengthUnitType)

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

```csharp theme={null}
[NotNullOrEmpty(new string[] { "newTestRigFromTemplateFilePath" })]
[ExistFile(new string[] { "testRigTemplateFilePath", "frontSuspensionFromTemplateFilePath", "rearSuspensionFromTemplateFilePath", "steeringFromTemplateFilePath", "frontWheelFromTemplateFilePath", "rearWheelFromTemplateFilePath", "bodyFromTemplateFilePath" })]
public static FourPostTestRigDocument CreateNewFourPostTestRigFromTemplateDocument(string newTestRigFromTemplateFilePath, string testRigTemplateFilePath, string frontSuspensionFromTemplateFilePath, string rearSuspensionFromTemplateFilePath, string steeringFromTemplateFilePath, string frontWheelFromTemplateFilePath, string rearWheelFromTemplateFilePath, string bodyFromTemplateFilePath, string breakFromTemplateFilePath = null, string powerTrainFromTemplateFilePath = null, string[] otherFromTemplateFilePath = null, Vector gravity = default, Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFromTemplateFilePath` string

The file path of new 4-post test-rig from template file path.

`testRigTemplateFilePath` string

The file path of test-rig template file path.

`frontSuspensionFromTemplateFilePath` string

The file path of front suspension template file path.

`rearSuspensionFromTemplateFilePath` string

The file path of rear suspension template file path.

`steeringFromTemplateFilePath` string

The file path of steering template file path.

`frontWheelFromTemplateFilePath` string

The file path of front wheel template file path.

`rearWheelFromTemplateFilePath` string

The file path of rear wheel template file path.

`bodyFromTemplateFilePath` string

The file path of body template file path.

`breakFromTemplateFilePath` string

The file path of break template file path.

`powerTrainFromTemplateFilePath` string

The file path of power train template file path.

`otherFromTemplateFilePath` string\[]

The file path of other template file path. The default value is null.

`gravity` Vector

The gravity value.

`unit` Unit

The unit information.

`iconSize` double

The size of icon.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[FourPostTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFullCar/FourPostTestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFromTemplateFilePath' argument is null.

FileNotFoundException

Will be thrown if 'testRigTemplateFilePath', 'frontSuspensionFromTemplateFilePath', 'rearSuspensionFromTemplateFilePath', 'steeringFromTemplateFilePath', 'frontWheelFromTemplateFilePath', 'rearWheelFromTemplateFilePath', 'bodyFromTemplateFilePath' files are not exist.

### CreateNewFourPostTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static FourPostTestRigDocument CreateNewFourPostTestRigTemplateDocument(string newTestRigFilePath, string documentName = "FourPostTestRig", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFilePath` string

The file path of new 4 post test-rig.

`documentName` string

The name of document. The default value is test rig.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[FourPostTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFullCar/FourPostTestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFilePath' argument is null.

### CreateNewFullCarTestRigFromTemplateDocument(string, string, string, string, string, string, string, string, string, string, string\[], Vector, Unit, double, LengthUnitType)

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

```csharp theme={null}
[NotNullOrEmpty(new string[] { "newTestRigFromTemplateFilePath" })]
[ExistFile(new string[] { "testRigTemplateFilePath", "frontSuspensionFromTemplateFilePath", "rearSuspensionFromTemplateFilePath", "steeringFromTemplateFilePath", "frontWheelFromTemplateFilePath", "rearWheelFromTemplateFilePath", "bodyFromTemplateFilePath" })]
public static VehicleTestRigDocument CreateNewFullCarTestRigFromTemplateDocument(string newTestRigFromTemplateFilePath, string testRigTemplateFilePath, string frontSuspensionFromTemplateFilePath, string rearSuspensionFromTemplateFilePath, string steeringFromTemplateFilePath, string frontWheelFromTemplateFilePath, string rearWheelFromTemplateFilePath, string bodyFromTemplateFilePath, string breakFromTemplateFilePath = null, string powerTrainFromTemplateFilePath = null, string[] otherFromTemplateFilePath = null, Vector gravity = default, Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFromTemplateFilePath` string

The file path of new full test-rig from template file path.

`testRigTemplateFilePath` string

The file path of test-rig template file path.

`frontSuspensionFromTemplateFilePath` string

The file path of front suspension template file path.

`rearSuspensionFromTemplateFilePath` string

The file path of rear suspension template file path.

`steeringFromTemplateFilePath` string

The file path of steering template file path.

`frontWheelFromTemplateFilePath` string

The file path of front wheel template file path.

`rearWheelFromTemplateFilePath` string

The file path of rear wheel template file path.

`bodyFromTemplateFilePath` string

The file path of body template file path.

`breakFromTemplateFilePath` string

The file path of break template file path.

`powerTrainFromTemplateFilePath` string

The file path of power train template file path.

`otherFromTemplateFilePath` string\[]

The file path of other template file path. The default value is null.

`gravity` Vector

The gravity value.

`unit` Unit

The unit information.

`iconSize` double

The size of icon.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[VehicleTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFullCar/VehicleTestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFromTemplateFilePath' argument is null.

FileNotFoundException

Will be thrown if 'testRigTemplateFilePath', 'frontSuspensionFromTemplateFilePath', 'rearSuspensionFromTemplateFilePath', 'steeringFromTemplateFilePath', 'frontWheelFromTemplateFilePath', 'rearWheelFromTemplateFilePath', 'bodyFromTemplateFilePath' files are not exist.

### CreateNewFullCarTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static VehicleTestRigDocument CreateNewFullCarTestRigTemplateDocument(string newTestRigFilePath, string documentName = "VehicleTestRig", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFilePath` string

The file path of new full test-rig.

`documentName` string

The name of document. The default value is test rig.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[VehicleTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFullCar/VehicleTestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFilePath' argument is null.

### CreateNewHalfCarTestRigFromTemplateDocument(string, string, string, string, string\[], Vector, Unit, double, LengthUnitType)

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

```csharp theme={null}
[NotNullOrEmpty(new string[] { "newTestRigFromTemplateFilePath" })]
[ExistFile(new string[] { "testRigTemplateFilePath", "suspensionFromTemplateFilePath" })]
public static TestRigDocument CreateNewHalfCarTestRigFromTemplateDocument(string newTestRigFromTemplateFilePath, string testRigTemplateFilePath, string suspensionFromTemplateFilePath, string steeringFromTemplateFilePath = null, string[] otherFromTemplateFilePath = null, Vector gravity = default, Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFromTemplateFilePath` string

The file path of new half test-rig from template file path.

`testRigTemplateFilePath` string

The file path of half test-rig template file path.

`suspensionFromTemplateFilePath` string

The file path of suspension template file path.

`steeringFromTemplateFilePath` string

The file path of steering template file path. The default value is null.

`otherFromTemplateFilePath` string\[]

The file path of other template file path. The default value is null.

`gravity` Vector

The gravity value.

`unit` Unit

The unit information.

`iconSize` double

The size of icon.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[TestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFromTemplateFilePath' argument is null.

FileNotFoundException

Will be thrown if 'testRigTemplateFilePath', 'suspensionFromTemplateFilePath' files are not exist.

### CreateNewHalfCarTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static TestRigDocument CreateNewHalfCarTestRigTemplateDocument(string newTestRigFilePath, string documentName = "Suspension", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFilePath` string

The file path of new half test-rig.

`documentName` string

The name of document. The default value is test rig.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[TestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFilePath' argument is null.

### CreateNewPowerTrainFromTemplateDocument(string, string, MinorRole)

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

```csharp theme={null}
public static PowerTrainDocument CreateNewPowerTrainFromTemplateDocument(string newPowerTrainFromTemplateFilePath, string existedPowerTrainTemplateFilePath, MinorRole minorRole = MinorRole.Any)
```

#### Parameters

`newPowerTrainFromTemplateFilePath` string

The file path of new power train from template file path.

`existedPowerTrainTemplateFilePath` string

The file path of existed power train template file path.

`minorRole` MinorRole

The minor role type. The default value is Any.

#### Returns

[PowerTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/PowerTrainDocument.cs)

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

### CreateNewPowerTrainTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static PowerTrainDocument CreateNewPowerTrainTemplateDocument(string newPowerTrainFilePath, string documentName = "PowerTrain", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newPowerTrainFilePath` string

The file path of new power train.

`documentName` string

The name of document. The default value is PowerTrain.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[PowerTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/PowerTrainDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newPowerTrainFilePath' argument is null.

### CreateNewReboundStopPropertyDocument(string, string, Unit, LengthUnitType)

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

```csharp theme={null}
public static PropertyReboundstopDocument CreateNewReboundStopPropertyDocument(string newReboundStopPropertyFilePath, string documentName = "ReboundStop", Unit unit = null, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newReboundStopPropertyFilePath` string

The file path of new bump stop property file path.

`documentName` string

The name of document. The default value is ReboundStop.

`unit` Unit

The unit information.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[PropertyReboundstopDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/Reboundstop.cs)

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

### CreateNewShimmyAndJudderTestRigFromTemplateDocument(string, string, string, string, string, string, string, string, string\[], Vector, Unit, double, LengthUnitType)

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

```csharp theme={null}
[NotNullOrEmpty(new string[] { "newTestRigFromTemplateFilePath" })]
[ExistFile(new string[] { "testRigTemplateFilePath", "frontSuspensionFromTemplateFilePath", "rearSuspensionFromTemplateFilePath", "steeringFromTemplateFilePath", "bodyFromTemplateFilePath" })]
public static ShimmyJudderTestRigDocument CreateNewShimmyAndJudderTestRigFromTemplateDocument(string newTestRigFromTemplateFilePath, string testRigTemplateFilePath, string frontSuspensionFromTemplateFilePath, string rearSuspensionFromTemplateFilePath, string steeringFromTemplateFilePath, string bodyFromTemplateFilePath, string breakFromTemplateFilePath = null, string powerTrainFromTemplateFilePath = null, string[] otherFromTemplateFilePath = null, Vector gravity = default, Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFromTemplateFilePath` string

The file path of new shimmy and judder test-rig from template file path.

`testRigTemplateFilePath` string

The file path of test-rig template file path.

`frontSuspensionFromTemplateFilePath` string

The file path of front suspension template file path.

`rearSuspensionFromTemplateFilePath` string

The file path of rear suspension template file path.

`steeringFromTemplateFilePath` string

The file path of steering template file path.

`bodyFromTemplateFilePath` string

The file path of body template file path.

`breakFromTemplateFilePath` string

The file path of break template file path.

`powerTrainFromTemplateFilePath` string

The file path of power train template file path.

`otherFromTemplateFilePath` string\[]

The file path of other template file path. The default value is null.

`gravity` Vector

The gravity value.

`unit` Unit

The unit information.

`iconSize` double

The size of icon.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[ShimmyJudderTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFullCar/ShimmyJudderTestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFromTemplateFilePath' argument is null.

FileNotFoundException

Will be thrown if 'testRigTemplateFilePath', 'frontSuspensionFromTemplateFilePath', 'rearSuspensionFromTemplateFilePath', 'steeringFromTemplateFilePath', 'bodyFromTemplateFilePath' files are not exist.

### CreateNewShimmyAndJudderTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static ShimmyJudderTestRigDocument CreateNewShimmyAndJudderTestRigTemplateDocument(string newTestRigFilePath, string documentName = "ShimmyJudderTestRig", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFilePath` string

The file path of new shimmy and judder test-rig.

`documentName` string

The name of document. The default value is test rig.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[ShimmyJudderTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFullCar/ShimmyJudderTestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFilePath' argument is null.

### CreateNewSpringPropertyDocument(string, string, Unit, LengthUnitType)

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

```csharp theme={null}
public static PropertySpringDocument CreateNewSpringPropertyDocument(string newSpringPropertyFilePath, string documentName = "Spring", Unit unit = null, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newSpringPropertyFilePath` string

The file path of new bump stop property file path.

`documentName` string

The name of document. The default value is Spring.

`unit` Unit

The unit information.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[PropertySpringDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/Spring.cs)

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

### CreateNewSteeringFromTemplateDocument(string, string, MinorRole)

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

```csharp theme={null}
public static SteeringDocument CreateNewSteeringFromTemplateDocument(string newSteeringFromTemplateFilePath, string existedSteeringTemplateFilePath, MinorRole minorRole = MinorRole.Front)
```

#### Parameters

`newSteeringFromTemplateFilePath` string

The file path of new steering from template file path.

`existedSteeringTemplateFilePath` string

The file path of existed steering template file path.

`minorRole` MinorRole

The minor role type. The default value is Front.

#### Returns

[SteeringDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/SteeringDocument.cs)

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

### CreateNewSteeringTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static SteeringDocument CreateNewSteeringTemplateDocument(string newSteeringFilePath, string documentName = "Steering", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newSteeringFilePath` string

The file path of new steering.

`documentName` string

The name of document. The default value is Steering.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[SteeringDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/SteeringDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newSteeringFilePath' argument is null.

### CreateNewSuspensionFromTemplateDocument(string, string, MinorRole)

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

```csharp theme={null}
public static SuspensionDocument CreateNewSuspensionFromTemplateDocument(string newSuspensionFromTemplateFilePath, string existedSuspensionTemplateFilePath, MinorRole minorRole = MinorRole.Front)
```

#### Parameters

`newSuspensionFromTemplateFilePath` string

The file path of new suspension from template file path.

`existedSuspensionTemplateFilePath` string

The file path of existed suspension template file path.

`minorRole` MinorRole

The minor role type. The default value is Front.

#### Returns

[SuspensionDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/SuspensionDocument.cs)

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

### CreateNewSuspensionTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static SuspensionDocument CreateNewSuspensionTemplateDocument(string newSuspensionFilePath, string documentName = "Suspension", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newSuspensionFilePath` string

The file path of new suspension.

`documentName` string

The name of document. The default value is suspension.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[SuspensionDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/SuspensionDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newSuspensionFilePath' argument is null.

### CreateNewTireTestRigFromTemplateDocument(string, string, string, Vector, Unit, double, LengthUnitType)

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

```csharp theme={null}
[NotNullOrEmpty(new string[] { "newTestRigFromTemplateFilePath" })]
[ExistFile(new string[] { "testRigTemplateFilePath", "wheelFromTemplateFilePath" })]
public static TireTestRigDocument CreateNewTireTestRigFromTemplateDocument(string newTestRigFromTemplateFilePath, string testRigTemplateFilePath, string wheelFromTemplateFilePath, Vector gravity = default, Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFromTemplateFilePath` string

The file path of new tire test-rig from template file path.

`testRigTemplateFilePath` string

The file path of test-rig template file path.

`wheelFromTemplateFilePath` string

The file path of wheel template file path.

`gravity` Vector

The gravity value.

`unit` Unit

The unit information.

`iconSize` double

The size of icon.

`kernelLengthUnit` LengthUnitType

The length unit of kernel.

#### Returns

[TireTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TireTestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFromTemplateFilePath' argument is null.

FileNotFoundException

Will be thrown if 'testRigTemplateFilePath', 'wheelFromTemplateFilePath' files are not exist.

### CreateNewTireTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static TireTestRigDocument CreateNewTireTestRigTemplateDocument(string newTestRigFilePath, string documentName = "TireTestRig", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newTestRigFilePath` string

The file path of new tire test-rig.

`documentName` string

The name of document. The default value is test rig.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[TireTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TireTestRigDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newTestRigFilePath' argument is null.

### CreateNewWheelFromTemplateDocument(string, string, MinorRole)

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

```csharp theme={null}
public static WheelDocument CreateNewWheelFromTemplateDocument(string newWheelFromTemplateFilePath, string existedWheelTemplateFilePath, MinorRole minorRole = MinorRole.Front)
```

#### Parameters

`newWheelFromTemplateFilePath` string

The file path of new wheel from template file path.

`existedWheelTemplateFilePath` string

The file path of existed wheel template file path.

`minorRole` MinorRole

The minor role type. The default value is Front.

#### Returns

[WheelDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/WheelDocument.cs)

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

### CreateNewWheelTemplateDocument(string, string, Unit, double, LengthUnitType)

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

```csharp theme={null}
public static WheelDocument CreateNewWheelTemplateDocument(string newWheelFilePath, string documentName = "Wheel", Unit unit = null, double iconSize = 1, LengthUnitType kernelLengthUnit = LengthUnitType.M)
```

#### Parameters

`newWheelFilePath` string

The file path of new wheel.

`documentName` string

The name of document. The default value is Wheel.

`unit` Unit

The unit information.

`iconSize` double

The size of icon. The default value is 1.

`kernelLengthUnit` LengthUnitType

The length unit of kernel. The default value is mm.

#### Returns

[WheelDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/WheelDocument.cs)

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

#### Exceptions

ArgumentNullException

Will be thrown if 'newWheelFilePath' argument is null.

### FourPostReplaceAssembly(FourPostTestRigDocument, string, string, string, string, string, string, string, string, IEnumerable\<string>)

Replace 4-Post assembly.

```csharp theme={null}
public static void FourPostReplaceAssembly(this FourPostTestRigDocument document, string frontSuspensionPath = "", string rearSuspensionPath = "", string steeringPath = "", string frontWheelPath = "", string rearWheelPath = "", string bodyPath = "", string brakePath = "", string powerTrainPath = "", IEnumerable<string> otherPaths = null)
```

#### Parameters

`document` [FourPostTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFullCar/FourPostTestRigDocument.cs)

The document to be replaced.

`frontSuspensionPath` string

The front suspension path. The default value is "".

`rearSuspensionPath` string

The rear suspension path. The default value is "".

`steeringPath` string

The steering path. The default value is "".

`frontWheelPath` string

The front wheel path. The default value is "".

`rearWheelPath` string

The rear wheel path. The default value is "".

`bodyPath` string

The body path. The default value is "".

`brakePath` string

The brake path. The default value is "".

`powerTrainPath` string

The power train path. The default value is "".

`otherPaths` IEnumerable\<string>

The other paths. The default value is "".

#### Exceptions

ArgumentNullException

Will be thrown if 'document' argument is empty.

ArgumentException

Will be thrown if 'document' argument is not assembly.

### FullCarReplaceAssembly(VehicleTestRigDocument, string, string, string, string, string, string, string, string, IEnumerable\<string>)

Replace full car assembly.

```csharp theme={null}
public static void FullCarReplaceAssembly(this VehicleTestRigDocument document, string frontSuspensionPath = "", string rearSuspensionPath = "", string steeringPath = "", string frontWheelPath = "", string rearWheelPath = "", string bodyPath = "", string brakePath = "", string powerTrainPath = "", IEnumerable<string> otherPaths = null)
```

#### Parameters

`document` [VehicleTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFullCar/VehicleTestRigDocument.cs)

The document to be replaced.

`frontSuspensionPath` string

The front suspension path. The default value is "".

`rearSuspensionPath` string

The rear suspension path. The default value is "".

`steeringPath` string

The steering path. The default value is "".

`frontWheelPath` string

The front wheel path. The default value is "".

`rearWheelPath` string

The rear wheel path. The default value is "".

`bodyPath` string

The body path. The default value is "".

`brakePath` string

The brake path. The default value is "".

`powerTrainPath` string

The power train path. The default value is "".

`otherPaths` IEnumerable\<string>

The other paths. The default value is "".

#### Exceptions

ArgumentNullException

Will be thrown if 'document' argument is empty.

ArgumentException

Will be thrown if 'document' argument is not assembly.

### ModifyDesignParameter(TestRigDocumentBase, Dictionary\<string, List\<ParamInfo>>)

Modify design parameter.

```csharp theme={null}
[NotNull(new string[] { "document", "dicParam" })]
public static void ModifyDesignParameter(this TestRigDocumentBase document, Dictionary<string, List<UpdateParameterOperation.ParamInfo>> dicParam)
```

#### Parameters

`document` [TestRigDocumentBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TestRigDocument.cs)

The document to be changed group.

`dicParam` Dictionary\<string, List\<[UpdateParameterOperation](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Operations/VMOpCar/ModifyDesignParameter.cs).[ParamInfo](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Operations/VMOpCar/ModifyDesignParameter.cs)>>

The dictionary to be contained filepath and parameter information.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' argument is empty.

ArgumentException

Will be thrown if 'document' argument is not assembly.

### ModifyModelingParameter(TestRigDocumentBase, ObjectBase)

Modify modeling parameter.

```csharp theme={null}
[NotNull(new string[] { "document", "target" })]
public static void ModifyModelingParameter(this TestRigDocumentBase document, ObjectBase target)
```

#### Parameters

`document` [TestRigDocumentBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TestRigDocument.cs)

The document to be changed group.

`target` ObjectBase

The target.

#### Exceptions

ArgumentNullException

Will be thrown if 'document' argument is empty.

ArgumentException

Will be thrown if 'document' argument is not assembly.

### ShimmyJudderReplaceAssembly(ShimmyJudderTestRigDocument, string, string, string, string, string, string, IEnumerable\<string>)

Replace full car assembly.

```csharp theme={null}
public static void ShimmyJudderReplaceAssembly(this ShimmyJudderTestRigDocument document, string frontSuspensionPath = "", string rearSuspensionPath = "", string steeringPath = "", string bodyPath = "", string brakePath = "", string powerTrainPath = "", IEnumerable<string> otherPaths = null)
```

#### Parameters

`document` [ShimmyJudderTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFullCar/ShimmyJudderTestRigDocument.cs)

The document to be replaced.

`frontSuspensionPath` string

The front suspension path. The default value is "".

`rearSuspensionPath` string

The rear suspension path. The default value is "".

`steeringPath` string

The steering path. The default value is "".

`bodyPath` string

The body path. The default value is "".

`brakePath` string

The brake path. The default value is "".

`powerTrainPath` string

The power train path. The default value is "".

`otherPaths` IEnumerable\<string>

The other paths. The default value is "".

#### Exceptions

ArgumentNullException

Will be thrown if 'document' argument is empty.

ArgumentException

Will be thrown if 'document' argument is not assembly.

### SuspensionReplaceAssembly(TestRigDocument, string, string, IEnumerable\<string>)

Replace suspension assembly.

```csharp theme={null}
public static void SuspensionReplaceAssembly(this TestRigDocument document, string suspensionPath = "", string steeringPath = "", IEnumerable<string> otherPaths = null)
```

#### Parameters

`document` [TestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TestRigDocument.cs)

The document to be replaced.

`suspensionPath` string

The suspension path. The default value is "".

`steeringPath` string

The steering path. The default value is "".

`otherPaths` IEnumerable\<string>

The other paths. The default value is "".

#### Exceptions

ArgumentNullException

Will be thrown if 'document' argument is empty.

ArgumentException

Will be thrown if 'document' argument is not assembly.

### TireReplaceAssembly(TireTestRigDocument, string)

Replace tire assembly.

```csharp theme={null}
public static void TireReplaceAssembly(this TireTestRigDocument document, string wheelPath = "")
```

#### Parameters

`document` [TireTestRigDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDCar/TireTestRigDocument.cs)

The document to be replaced.

`wheelPath` string

The wheel path. The default value is "".

#### Exceptions

ArgumentNullException

Will be thrown if 'document' argument is empty.

ArgumentException

Will be thrown if 'document' argument is not assembly.
