Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class RelativeFunction

Last update: 09.03.2026

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

This class represents the relative function

public class RelativeFunction : Relative

Inheritance

object ← Relative ← RelativeFunction

Inherited Members

Relative.Type

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

RelativeFunction(Obj)

Default constructor

public RelativeFunction(Obj function)

Parameters

function Obj

The function of the relative.

RelativeFunction(Obj, MotionType, ExpressionValueVariable, ExpressionValueVariable)

Initializes a new instance of the class.

public RelativeFunction(Obj function, DriverFunction.MotionType motionType, ExpressionValueVariable initAngle, ExpressionValueVariable initAngularVel)

Parameters

function Obj

The function of the relative.

motionType DriverFunction.MotionType

The motion type of the relative.

initAngle ExpressionValueVariable

The initial angle of the relative.

initAngularVel ExpressionValueVariable

The init angular vel of the relative.

Properties

Function

The value for function.

public Obj Function { get; set; }

Property Value

Obj

InitAngle

The value for the initial angle. The default value is 0.

public ExpressionValueVariable InitAngle { get; set; }

Property Value

ExpressionValueVariable

InitAngularVel

The value for the init angular vel. The default value is 0.

public ExpressionValueVariable InitAngularVel { get; set; }

Property Value

ExpressionValueVariable

MotionType

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

public DriverFunction.MotionType MotionType { get; set; }

Property Value

DriverFunction.MotionType

Connect with Ansys