Skip to Content

Attribute Int

Quick Facts

PropertyValue
ClassCENPyOlpAttributeInt
Modulecenpylib.CENPyOlpAttributeInt
Packagecenpylib
ReleaseR2025.2.4
Methods8
Inherits fromCENPyOlpAttribute

Inheritance

Quick Start

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

Method Index

MethodReturnsSummary
SetValueSet integer value of attribute.
GetValueintGet integer value of attribute.
SetMinimumSet minimal value of integer attribute.
GetMinimumintGet minimal value of integer attribute.
SetMaximumSet maximal value of integer attribute.
GetMaximumintGet maximal value of integer attribute.
SetStepSizeSet step size for integer attribute.
GetStepSizeintGet step size of integer attribute.

Query Methods

GetValue

def GetValue() -> int

Get integer value of attribute.

Returns: int — value

GetMinimum

def GetMinimum() -> int

Get minimal value of integer attribute.

Returns: int — the minimal value of integer attribute.

GetMaximum

def GetMaximum() -> int

Get maximal value of integer attribute.

Returns: int — the maximal value of integer attribute.

GetStepSize

def GetStepSize() -> int

Get step size of integer attribute.

Returns: int — step size of integer attribute..

Mutation Methods

SetValue

def SetValue(value: int)

Set integer value of attribute.

Parameters:

NameTypeDescription
valueintnew value

SetMinimum

def SetMinimum(min: int)

Set minimal value of integer attribute.

Parameters:

NameTypeDescription
minintthe minimal value of integer attribute.

SetMaximum

def SetMaximum(max: int)

Set maximal value of integer attribute.

Parameters:

NameTypeDescription
maxintthe maximal value of integer attribute.

SetStepSize

def SetStepSize(step: int)

Set step size for integer attribute.

Parameters:

NameTypeDescription
stepintstep size for integer attribute.

Version Notes

This class is documented as of release R2025.2.4.

Was this page helpful?