The python console shows the difference between both approaches:
1. Changing pad length in data tab of properties view (a single statement appears in the python console):
Code: Select all
>>> FreeCAD.getDocument("test").getObject("Pad002").Length = '5 mm'
Code: Select all
>>> App.ActiveDocument.Pad002.Length = 5.000000
>>> App.ActiveDocument.recompute()
It seems that this problem is related to a missing call to recompute() which the property editor may have invoked without showing it on the python console.
In the older version 0.18.14956, if I change the pad length, the gui immediately updates and shows the new pad length. The python console only displays a single statement that changes the length, but if I try to invoke this single command in the python console (changing the pad length a second time), then the gui does not show the change until I request a recompute().
Between both versions something in how calls to recompute are invoked by the property editor has probably changed.