changeProperty()
Description
Change the property value. This change can be undone by using 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.stator.changeProperty('innerDiameter', 300)
console.info(result) // output:
|
Last update: 14 August 2025, 18:47