Skip to content

changeProperty()

Description

Change the property value. This change will override the command Undo in the menu of the graphical interface.

Syntax

JS
changeProperty(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.winding.changeProperty('numberTurns', 10)
console.info(result) // output:

See Also

Last update: 14 August 2025, 18:47