Skip to content

motor.changeProperty()

Description

Change the value of a property. This change can be undone by using the Undo command in the graphical user interface.

Syntax

JS
motor.changeProperty(propName: String, value: any) -> Boolean

Parameters

Parameter Type Default Value Mandatory Description
propName String - ✅ Property name.
value any - ✅ Property value.

Return value

Type Description
Boolean true, if successful.

Example

JS
let result = motor.rotor.rotorItem(RotorItem::ID1).changeProperty('angularDisplacement', 30)
console.info(result) // output:

See also

Last update: 14 August 2025, 18:47