+1
Feature Request: Alias field next to contents
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Feature Request: Alias field next to contents
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Feature Request: Alias field next to contents
I wanted to learn about the alias feature and realized that the Wiki page:
Spreadsheet_Workbench
needs to be revised. Maybe here is a volunteer who could update it a bit?
Spreadsheet_Workbench
needs to be revised. Maybe here is a volunteer who could update it a bit?
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: Feature Request: Alias field next to contents
How about this for a tooltip?
Refer to cell by alias, for example Spreadsheet.my_alias_name instead of Spreadsheet.B1
Refer to cell by alias, for example Spreadsheet.my_alias_name instead of Spreadsheet.B1
Re: Feature Request: Alias field next to contents
Sounds good, however maybe thisTheMarkster wrote: ↑Thu Mar 12, 2020 11:01 pm Refer to cell by alias, for example Spreadsheet.my_alias_name instead of Spreadsheet.B1
"Refer to cell by alias name, for example\n Spreadsheet.alias_name instead of Spreadsheet.B1"
(note the line break)
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: Feature Request: Alias field next to contents
This thread is one of the very cool things about freecad
"fight the good fight"
Re: Feature Request: Alias field next to contents
many thanks!
Re: Feature Request: Alias field next to contents
Big thanks for your so fast job!
It is a pity that there is nothing like "FCAliasEdit" widget over the entire program.
But isn't it better to have some common validation Alias/Name/label instead of creating new Implementation for an every Workbench or table cell?
Is it possible to rename for example the widget "LineEdit" widget to "FCCellEdit" so everyone don't have to use it instead of "FCAliasEdit"?
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: Feature Request: Alias field next to contents
It would make sense to have the same validation for all workbenches. The spreadsheet validation (I think anyway) requires the alias would be a valid python2 variable. Spreadsheet alias validation could be relaxed some now that we've moved to python3, which I believe allows characters other than only a-z and 0-9. Sketcher at this time doesn't validate constraint names at all.
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Feature Request: Alias field next to contents
Now that this is merged, shouldn't the Set Alias button be removed? it serves no purpose now. AFAIK the only property that is shown in that window and can't be controlled from the other buttons is the display unit, maybe the button can be changed to set display unit instead of alias? What do you guys think?