View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003151||PartDesign||Bug||public||2017-08-08 20:31||2021-02-06 06:43|
|Summary||0003151: Renaming elements in the DataTab can make Expressions invalid|
|Description||There 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".