FreeCAD / FreeCAD/FreeCAD-library
Spreadsheet references are not updated when parts are added and spreadsheet names are changed
- Dominant language
- HTML
- Stars
- 2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
There are parts in the library that contain spreadsheets. For example, each sprocket part in the directory https://github.com/FreeCAD/FreeCAD-library/tree/master/Mechanical%20Parts/Chains/Sprocket/ISO%20606/Simplex%20%201%C2%BDx1 contains a spreadsheet named "Data" that contains parameters for the part.
When I add the first sprocket to my empty document, all is well. When I add another sprocket, the system automatically renames second sprocket's "Data" spreadsheet to "Data001". However, references to spreadsheet cells are not renamed -- they are not \<\>.Wt, they are \<\>.Wt. In other words, the second sprocket uses the parameters of the one that was added first.
OS: Ubuntu 20.04.3 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.24436 (Git)
Build type: Debug
Branch: master
Hash: bf527ba5ed9cbde0813e702c2f3793fb55f5be7c
Python version: 3.8.10
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/United States (en_US)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.