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

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

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

#### Inheritance

object ←
[CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.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

### CreateBearing(GearTrainDocument, string, BearingCreateInfo)

```csharp theme={null}
public static Bearing CreateBearing(this GearTrainDocument gearTrainDocument, string strName, CreateDTEntityUtil.BearingCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[BearingCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.BearingCreateInfo.md)

#### Returns

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

### CreateCrossHelicalGearset(GearTrainDocument, string, GearSetCrossHelicalCreateInfo)

```csharp theme={null}
public static GearSetCrossHelical CreateCrossHelicalGearset(this GearTrainDocument gearTrainDocument, string strName, CreateDTEntityUtil.GearSetCrossHelicalCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[GearSetCrossHelicalCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.GearSetCrossHelicalCreateInfo.md)

#### Returns

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

### CreateCustomGearset(GearTrainDocument, string, GearSetCreateInfo)

```csharp theme={null}
public static GearSetCustom CreateCustomGearset(this GearTrainDocument gearTrainDocument, string strName, CreateDTEntityUtil.GearSetCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[GearSetCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.GearSetCreateInfo.md)

#### Returns

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

### CreateCycloidPinGearset(GearTrainDocument, string, GearSetCycloidPinCreateInfo)

```csharp theme={null}
public static GearSetCycloidPin CreateCycloidPinGearset(this GearTrainDocument gearTrainDocument, string strName, CreateDTEntityUtil.GearSetCycloidPinCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[GearSetCycloidPinCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.GearSetCycloidPinCreateInfo.md)

#### Returns

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

### CreateGearset(GearTrainDocument, string, int, GearSetCreateInfo)

```csharp theme={null}
public static GearSet CreateGearset(this GearTrainDocument gearTrainDocument, string strName, int nNumGear, CreateDTEntityUtil.GearSetCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`nNumGear` int

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[GearSetCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.GearSetCreateInfo.md)

#### Returns

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

### CreateInternalGearset(GearTrainDocument, string, GearSetCreateInfo)

```csharp theme={null}
public static GearSetInternal CreateInternalGearset(this GearTrainDocument gearTrainDocument, string strName, CreateDTEntityUtil.GearSetCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[GearSetCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.GearSetCreateInfo.md)

#### Returns

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

### CreatePlanetaryDPGearset(GearTrainDocument, string, int, GearSetPlanetaryDPCreateInfo)

```csharp theme={null}
public static GearSetPlanetaryDP CreatePlanetaryDPGearset(this GearTrainDocument gearTrainDocument, string strName, int nNumPinionGear, CreateDTEntityUtil.GearSetPlanetaryDPCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`nNumPinionGear` int

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[GearSetPlanetaryDPCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.GearSetPlanetaryDPCreateInfo.md)

#### Returns

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

### CreatePlanetaryGearset(GearTrainDocument, string, int, GearSetCreateInfo)

```csharp theme={null}
public static GearSetPlanetary CreatePlanetaryGearset(this GearTrainDocument gearTrainDocument, string strName, int nNumPinionGear, CreateDTEntityUtil.GearSetCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`nNumPinionGear` int

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[GearSetCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.GearSetCreateInfo.md)

#### Returns

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

### CreateRackAndPinionGearset(GearTrainDocument, string, GearSetRackAndPinionCreateInfo)

```csharp theme={null}
public static GearSetRackAndPinion CreateRackAndPinionGearset(this GearTrainDocument gearTrainDocument, string strName, CreateDTEntityUtil.GearSetRackAndPinionCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[GearSetRackAndPinionCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.GearSetRackAndPinionCreateInfo.md)

#### Returns

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

### CreateSimpleShaftset(GearTrainDocument, string, Vector, Vector, double, double, int)

```csharp theme={null}
public static ShaftSet CreateSimpleShaftset(this GearTrainDocument gearTrainDocument, string strName, Vector position, Vector rotateAxis, double dLength, double dDiameter, int nNumSection)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`position` Vector

`rotateAxis` Vector

`dLength` double

`dDiameter` double

`nNumSection` int

#### Returns

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

### CreateSlidingBearing(GearTrainDocument, string, SlidingBearingCreateInfo)

```csharp theme={null}
public static SlidingBearing CreateSlidingBearing(this GearTrainDocument gearTrainDocument, string strName, CreateDTEntityUtil.SlidingBearingCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[SlidingBearingCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.SlidingBearingCreateInfo.md)

#### Returns

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

### CreateStiffnessBearing(GearTrainDocument, string, StiffnessBearingCreateInfo)

```csharp theme={null}
public static Bearing CreateStiffnessBearing(this GearTrainDocument gearTrainDocument, string strName, CreateDTEntityUtil.StiffnessBearingCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[StiffnessBearingCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.StiffnessBearingCreateInfo.md)

#### Returns

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

### CreateWormAndWormWheelGearset(GearTrainDocument, string, GearSetWormAndWormWheelCreateInfo)

```csharp theme={null}
public static GearSetWormAndWormWheel CreateWormAndWormWheelGearset(this GearTrainDocument gearTrainDocument, string strName, CreateDTEntityUtil.GearSetWormAndWormWheelCreateInfo info)
```

#### Parameters

`gearTrainDocument` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`strName` string

`info` [CreateDTEntityUtil](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.md).[GearSetWormAndWormWheelCreateInfo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.CreateDTEntityUtil.GearSetWormAndWormWheelCreateInfo.md)

#### Returns

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

### OpenHiddenDocument(object)

```csharp theme={null}
public static Document3D OpenHiddenDocument(object obj)
```

#### Parameters

`obj` object

#### Returns

Document3D
