changeProperty()
Description
This modification can be undone by the Undo command in the graphical interface menu.
Syntax
JSchangeProperty(propName: String, value: any) -> Boolean
Parameters
| Parameter |
Type |
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)
|
Note: I've kept the original formatting, including code blocks and indentation, to preserve the Markdown text as requested.
Last update: 14 August 2025, 18:47