Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Struct ShaftSetParameters

Last update: 16.07.2025

Namespace: VM.API.Pre.GearTrain
Assembly: VM.API.Pre.GearTrain.dll

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

public struct ShaftSetParameters

Constructors

ShaftSetParameters()

Default constructor

public ShaftSetParameters()

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

Initializes a new instance of the class

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

The role of the shaftset parameters.

offset ExpressionValueVariable

The offset of the shaftset parameters.

width ExpressionValueVariable

The of the shaftset parameters..

Properties

BodyName

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

public string BodyName { readonly get; set; }

Property Value

string

Offset

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

public ExpressionValueVariable Offset { readonly get; set; }

Property Value

ExpressionValueVariable

Position

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

public Vector Position { readonly get; set; }

Property Value

Vector

PowerLoad

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

public bool PowerLoad { readonly get; set; }

Property Value

bool

Role

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

public PowerLoad.PowerLoadType Role { readonly get; set; }

Property Value

PowerLoad.PowerLoadType

RotateAxis

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

public Vector RotateAxis { readonly get; set; }

Property Value

Vector

ShaftSetName

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

public string ShaftSetName { readonly get; set; }

Property Value

string

Width

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

public ExpressionValueVariable Width { readonly get; set; }

Property Value

ExpressionValueVariable

Connect with Ansys