Skip to Content
FASTSUITE E2API ReferencePython APIAPI DomainsAttributesAttribute Double

Attribute Double

Quick Facts

PropertyValue
ClassCENPyOlpAttributeDouble
Modulecenpylib.CENPyOlpAttributeDouble
Packagecenpylib
ReleaseR2025.2.4
Methods8
Inherits fromCENPyOlpAttribute

Inheritance

Quick Start

# Boilerplate Example attributeDouble = ... # obtained from the runtime context result = attributeDouble.GetValue()

Method Index

MethodReturnsSummary
SetValueSet double value of attribute.
GetValuefloatGet double value of attribute.
SetMinimumSet the minimum range value.
GetMinimumfloatGet the attribute minimum value.
SetMaximumSet the maximum range value.
GetMaximumfloatGet the attribute maximum value
SetStepSizeSet the attribute step size.
GetStepSizefloatGet the attribute step size.

Query Methods

GetValue

def GetValue() -> float

Get double value of attribute.

Returns: float — value of the attribute

GetMinimum

def GetMinimum() -> float

Get the attribute minimum value.

Returns: float — attribute minimum value

GetMaximum

def GetMaximum() -> float

Get the attribute maximum value

Returns: float — attribute maximum value

GetStepSize

def GetStepSize() -> float

Get the attribute step size.

Returns: float — attribute step size

Mutation Methods

SetValue

def SetValue(value: float)

Set double value of attribute.

Parameters:

NameTypeDescription
valuefloatnew value

SetMinimum

def SetMinimum(min: float)

Set the minimum range value. Must not be higher than maximum!

Parameters:

NameTypeDescription
minfloatminimum range value

SetMaximum

def SetMaximum(max: float)

Set the maximum range value. Must not be lower than minimum!

Parameters:

NameTypeDescription
maxfloatmaximum range value

SetStepSize

def SetStepSize(step: float)

Set the attribute step size.

Parameters:

NameTypeDescription
stepfloatattribute step size

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?