Using freecad-daily build of:
Code: Select all
OS: Ubuntu 19.04 (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.7.3
Qt version: 5.12.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
$ dpkg --list | grep -i freecad
ii freecad-daily 0.19~pre1~201908021925~ubuntu19.04.1 all Extensible Open Source CAx program
ii freecad-daily-common 0.19~pre1~201908021925~ubuntu19.04.1 all Extensible Open Source CAx program - common files
ii freecad-daily-python3 0.19~pre1~201908021925~ubuntu19.04.1 amd64 Extensible Open Source CAx program - Python 3 binaries
ii freecad-daily-runtime 0.19~pre1~201908021925~ubuntu19.04.1 all Extensible Open Source CAx program - runtime files
ii libfreecad-daily-python3-0.19 0.19~pre1~201908021925~ubuntu19.04.1 amd64 Extensible Open Source CAx program - Python 3 library files
$
Steps to reproduce, showing how I created the two documents from scratch:
- Open up FreeCAD.
- Switch to Spreadsheet Workbench.
- Create a new Spreadsheet. Save it as "MasterSpreadsheet".
- Inside the spreadsheet add into a cell the value "42mm".
- Right mouse click upon that cell, select Properties..., then select Alias, and add an alias called "flubber".
- Save that file.
- Create a new document, and save that as "TopDesign".
- Switch to Part Design.
- Create a Body.
- Create a sketch on that body.
- Add a rectangle and exit out of the sketch.
- Pad the sketch, and for the length use this expression:
Code: Select all
MasterSpreadsheet#Spreadsheet.flubber
- Select the TopDesign, and select the Model view.
- In the Model view, see the value there shows the above expression to the right of the value (for me I am using imperial units):
- Click inside the field and wait a bit, and see the tooltip:
- Click on the "fx" button on the far right side of the field, and see:
- Just click inside the value of the field, and don't change anything at all, and then click the Discard button.
- Look in the Model View, see:
- Now repeating the above at this point never shows the formula again. It is as if now the value is hardcoded to whatever was previously calculated, but the reference to the formula using the value in the spreadsheet is now gone.
- However, if you repeat the above (you must exit completely out and reload the two docs) but instead of clicking on the Discard button, you instead type the Escape key to exit out of the field, the value is not lost.
Can this be user-error?
Thanks,
bg