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

# Struct ShaftSetParameters

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

This struct represents the shaftset parameters for the operation of body to drivetrain.

```csharp theme={null}
public struct ShaftSetParameters
```

## Constructors

### ShaftSetParameters()

Default constructor

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

### ShaftSetParameters(string, string, Vector, Vector, bool, PowerLoadType, ExpressionValueVariable, ExpressionValueVariable)

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

```csharp theme={null}
public ShaftSetParameters(string bodyName, string shaftSetName, Vector position, Vector rorateAxis, bool powerLoad, PowerLoad.PowerLoadType role, ExpressionValueVariable offset, ExpressionValueVariable width)
```

#### Parameters

`bodyName` string

The bodyName of the shaftset parameters.

`shaftSetName` string

The shaftSetName of the shaftset parameters.

`position` Vector

The position of the shaftset parameters.

`rorateAxis` Vector

The rorateAxis of the shaftset parameters.

`powerLoad` bool

The powerLoad of the shaftset parameters.

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

The role of the shaftset parameters.

`offset` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The offset of the shaftset parameters.

`width` [ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

The of the shaftset parameters..

## Properties

### BodyName

The value for the body name. The default value is "".

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

#### Property Value

string

### Offset

The value for the offset. The default value is 0.0.

```csharp theme={null}
public ExpressionValueVariable Offset { readonly get; set; }
```

#### Property Value

[ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)

### Position

The value for the position. The default value is (0, 0, 0).

```csharp theme={null}
public Vector Position { readonly get; set; }
```

#### Property Value

Vector

### PowerLoad

The value for the power load. The default value is 'false'.

```csharp theme={null}
public bool PowerLoad { readonly get; set; }
```

#### Property Value

bool

### Role

The value for the role. The default value is 'Input'.

```csharp theme={null}
public PowerLoad.PowerLoadType Role { readonly get; set; }
```

#### Property Value

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

### RotateAxis

The value for the rotate axis. The default value is (0, 1, 0).

```csharp theme={null}
public Vector RotateAxis { readonly get; set; }
```

#### Property Value

Vector

### ShaftSetName

The value for the shaftset name. The default value is "".

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

#### Property Value

string

### Width

The value for the width. The default value is 1.

```csharp theme={null}
public ExpressionValueVariable Width { readonly get; set; }
```

#### Property Value

[ExpressionValueVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/ExpressionValueVariable.cs)
