What is the description column for in the tree?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
run_the_race
Posts: 161
Joined: Mon Feb 01, 2021 7:22 pm

What is the description column for in the tree?

Post by run_the_race »

I checked the wiki and it does not mention it: https://wiki.freecadweb.org/Tree_view

In the tree view what is the `Description` column for? I would have guessed there would be a description property one could set, and then it shows in the tree, but turns out not.
description.png
description.png (49.93 KiB) Viewed 658 times

Code: Select all

OS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: What is the description column for in the tree?

Post by bambuko »

label 2
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
run_the_race
Posts: 161
Joined: Mon Feb 01, 2021 7:22 pm

Re: What is the description column for in the tree?

Post by run_the_race »

bambuko wrote: Wed May 05, 2021 5:31 pmlabel 2
Thanks for that insight. I went through a few of my files and could not find something that has a `label2` property, what uses labels2?
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: What is the description column for in the tree?

Post by bambuko »

you have:
internal (system generated) name
label
label 2

label replaces name in tree view
label 2 is displayed as description in tree view

if you select an item in tree view, all these will be displayed in properties window

all above from memory (haven't got FreeCAD PC available at the moment)

5 seconds with interweb search, results in :mrgreen:
https://wiki.freecadweb.org/Object_name
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
chrisb
Veteran
Posts: 54144
Joined: Tue Mar 17, 2015 9:14 am

Re: What is the description column for in the tree?

Post by chrisb »

run_the_race wrote: Wed May 05, 2021 5:19 pm I would have guessed there would be a description property one could set, and then it shows in the tree, but turns out not.
Yes it is:
Attachments
SnipScreenshot-61c996.png
SnipScreenshot-61c996.png (14.82 KiB) Viewed 604 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
run_the_race
Posts: 161
Joined: Mon Feb 01, 2021 7:22 pm

Re: What is the description column for in the tree?

Post by run_the_race »

chrisb wrote: Wed May 05, 2021 9:50 pm
run_the_race wrote: Wed May 05, 2021 5:19 pm I would have guessed there would be a description property one could set, and then it shows in the tree, but turns out not.
Yes it is:
Did you add that property via python? I went through the `Data` and `View` properties and could not see a `label2`.
Bance
Veteran
Posts: 4248
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: What is the description column for in the tree?

Post by Bance »

Did you read the wiki page bambuko linked?
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: What is the description column for in the tree?

Post by bambuko »

run_the_race wrote: Thu May 06, 2021 8:03 am ...Did you add that property via python? ...
No, like I have said before - "property view"
(or double click on the description space in tree view and type directly there)
property view.jpg
property view.jpg (32.8 KiB) Viewed 557 times
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
chrisb
Veteran
Posts: 54144
Joined: Tue Mar 17, 2015 9:14 am

Re: What is the description column for in the tree?

Post by chrisb »

Clicking on the right side in tree view is also possible :roll: .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Roy_043
Veteran
Posts: 8537
Joined: Thu Dec 27, 2018 12:28 pm

Re: What is the description column for in the tree?

Post by Roy_043 »

For Label2 to be displayed in the properties you must right click and check "Show all". See Property_editor.
Post Reply