View Issue Details

IDProjectCategoryView StatusLast Update
0003151PartDesignBugpublic2017-08-15 20:22
Reporterchrisb Assigned Toeivindkvedalen  
PrioritylowSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformMacbookOSMacOSOS Version11
Product Version0.17 
Summary0003151: Renaming elements in the DataTab can make Expressions invalid
DescriptionThere is a forum topic containing a model and screenshot.

In that Model I use Expressions
- I have given the name "R" to the radius of Sketch
- I use it in the second sketch, dividing it by 2 and give that small radius the name "r"
- I pad the second sketch and use an expression Sketch001.r for the length.

Next I want to rename the Sketch001 to something more sensible, let's say "SketchInner"

I go to the Data Tab and delete "001". The problem is, that on every keystroke the name is set - to be seen in the python console. So there is a point where both sketches have the same name. I add "Inner" and leave the input field. I had expected that the second pad would break, but the second sketch breaks as well, because instead of "Sketch.R" it uses now "SketchI.R". The renaming mechanism inserts the first "I" of "Inner".
Tagsspreadsheet
FreeCAD Information

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-08-08 20:31 chrisb New Issue
2017-08-09 20:55 Kunda1 Tag Attached: spreadsheet
2017-08-15 20:22 eivindkvedalen Assigned To => eivindkvedalen
2017-08-15 20:22 eivindkvedalen Status new => assigned