FreeCAD-Doc/localwiki/Macro_FCTreeView-fr.html
2018-07-19 18:47:02 -05:00

258 lines
40 KiB
HTML

<html><head><title>Macro FCTreeView/fr</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Macro FCTreeView/fr</h1></div>
<div id="mw-content-text" lang="fr" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><table class="fcinfobox wikitable ct" width="100%" style="float: right; width: 230px; margin-left: 10px;">
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="Macro_FCTreeView"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView.png" class="image"><img alt="Macro FCTreeView.png" src="32px-Macro_FCTreeView.png" width="32" height="32" srcset="/wiki/images/thumb/6/64/Macro_FCTreeView.png/48px-Macro_FCTreeView.png 1.5x, Macro_FCTreeView.png 2x" /></a> Macro FCTreeView</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Description
</th></tr>
<tr>
<td class="ctEven left">Cette macro affiche tous les objets du projet dans une liste avec des options de tri avancées.
</td></tr>
<tr>
<th class="ctOdd">Auteur
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=User:Mario52" title="User:Mario52">Mario52</a>
</td></tr>
<tr>
<th class="ctOdd">Liens
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Macros_recipes/fr" title="Macros recipes/fr">Recettes macros</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=How_to_install_macros/fr" title="How to install macros/fr">Comment installer une macro</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=Customize_Toolbars/fr" title="Customize Toolbars/fr">Comment ajouter une barre d'outils</a>
</td></tr>
<tr>
<th class="ctOdd">Version
</th></tr>
<tr>
<td class="ctEven macro-version">00.07
</td></tr>
<tr>
<th class="ctOdd">Date dernière modification
</th></tr>
<tr>
<td class="ctEven macro-date">2018-05-06
</td></tr>
<tr>
<th class="ctOdd">
</th></tr>
<tr>
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1"><a href="#Macro_FCTreeView"><span class="tocnumber">1</span> <span class="toctext">Macro FCTreeView</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Comment_l.27utiliser"><span class="tocnumber">3</span> <span class="toctext">Comment l'utiliser</span></a>
<ul>
<li class="toclevel-2 tocsection-3"><a href="#Section_Window"><span class="tocnumber">3.1</span> <span class="toctext">Section <b>Window</b></span></a></li>
<li class="toclevel-2 tocsection-4"><a href="#Section_Sort_by_:"><span class="tocnumber">3.2</span> <span class="toctext">Section <b>Sort by&#160;:</b></span></a></li>
<li class="toclevel-2 tocsection-5"><a href="#Section_Global"><span class="tocnumber">3.3</span> <span class="toctext">Section <b>Global</b></span></a></li>
<li class="toclevel-2 tocsection-6"><a href="#Section_Search"><span class="tocnumber">3.4</span> <span class="toctext">Section <b>Search</b></span></a>
<ul>
<li class="toclevel-3 tocsection-7"><a href="#Les_radioButton_de_recherche_Search:"><span class="tocnumber">3.4.1</span> <span class="toctext">Les radioButton de recherche <b>Search</b>:</span></a></li>
</ul>
</li>
<li class="toclevel-2 tocsection-8"><a href="#The_SpreadSheet_options:"><span class="tocnumber">3.5</span> <span class="toctext">The SpreadSheet options:</span></a></li>
<li class="toclevel-2 tocsection-9"><a href="#Icons"><span class="tocnumber">3.6</span> <span class="toctext">Icons</span></a></li>
</ul>
</li>
<li class="toclevel-1 tocsection-10"><a href="#Script"><span class="tocnumber">4</span> <span class="toctext">Script</span></a></li>
<li class="toclevel-1 tocsection-11"><a href="#A_faire"><span class="tocnumber">5</span> <span class="toctext">A faire</span></a></li>
<li class="toclevel-1 tocsection-12"><a href="#Version"><span class="tocnumber">6</span> <span class="toctext">Version</span></a></li>
</ul>
</div>
</td></tr>
</table>
<p><br />
</p>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>Cette macro affiche tous les objets du projet dans une liste avec des options de tri avancées, rcherche par nom, label, type, majuscule ... une option permet de sauver dans un tableur les valeurs ou données au choix relatives à l'objet avec l'unité de grandeur sélectionnée, ou sous forme d'une liste des objets avec différenciation du volume (pour les objets ayants le même label et volumes différents)
</p>
<h2><span class="mw-headline" id="Comment_l.27utiliser">Comment l'utiliser</span></h2>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCTreeView.gif" class="image" title="Macro FCTreeView"><img alt="Macro FCTreeView" src="FCTreeView.gif" width="471" height="730" /></a>
</p>
<div style="clear:both"></div>
<p><br />
</p>
<h3><span class="mw-headline" id="Section_Window">Section <b>Window</b></span></h3>
<p>Le titre affiche les options, nombre et type d'objet(s) affiché
</p>
<ul><li><b>O</b> = Objects</li>
<li><b>N</b> = Name</li>
<li><b>L</b> = Label</li>
<li><b>T</b> = Total</li>
<li><b>G</b> = Group</li>
<li><b>S</b> = Single</li>
<li><b>V</b> = Visible</li>
<li><b>H</b> = Hidden</li></ul>
<p>Si un objet est sélectionné: le placement de base, la rotation et le centre massique est affiché (si disponible!)<br />
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_00.png" class="image" title="Icône utilisé pour le Nom de l&#39;objet"><img alt="Icône utilisé pour le Nom de l&#39;objet" src="Macro_FCTreeView_00.png" width="64" height="64" /></a> Icône utilisé pour le Nom de l'objet (la barre de défilement est colorée en bleu)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_05.png" class="image" title="Icône utilisé pour le Label de l&#39;objet"><img alt="Icône utilisé pour le Label de l&#39;objet" src="Macro_FCTreeView_05.png" width="64" height="64" /></a> Icône utilisé pour le Label de l'objet (la barre de défilement est colorée en bleu clair)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_01.png" class="image" title="Icône utilisé pour visualiser si le statut de l&#39;objet est Visible (cliquez avec la souris pour caché l&#39;objet)"><img alt="Icône utilisé pour visualiser si le statut de l&#39;objet est Visible (cliquez avec la souris pour caché l&#39;objet)" src="Macro_FCTreeView_01.png" width="64" height="64" /></a> (la barre de défilement est colorée en vert)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_02.png" class="image" title="Icon used for visualise if the object is status Hidden (mouse click for Visible)"><img alt="Icon used for visualise if the object is status Hidden (mouse click for Visible)" src="Macro_FCTreeView_02.png" width="64" height="64" /></a> Icône utilisé pour visualiser si le statut de l'objet est Caché (cliquez avec la souris pour le rendre Visible) (la barre de défilement est colorée en rouge)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_17.png" class="image" title="Icon used for the Name contains objects (or folder Group)"><img alt="Icon used for the Name contains objects (or folder Group)" src="Macro_FCTreeView_17.png" width="64" height="64" /></a> Icône utilisé si l'objet contient des objets (ou est un groupe)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_03.png" class="image" title="Icon used for inform the object in a group the number objects is displayed in top group"><img alt="Icon used for inform the object in a group the number objects is displayed in top group" src="Macro_FCTreeView_03.png" width="64" height="64" /></a> Icône utilisé pour informer si l'objet est un groupe, (le nombre d'objet dans le groupe est affiché entre parenthèses) (la barre de défilement est colorée en rouge clair)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_04.png" class="image" title="Icon used for displayed the single object (not group)"><img alt="Icon used for displayed the single object (not group)" src="Macro_FCTreeView_04.png" width="64" height="64" /></a> Icône utilisé pour un simple objet (pas un groupe)
</p>
<h3><span class="mw-headline" id="Section_Sort_by_:">Section <b>Sort by&#160;:</b></span></h3>
<p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_10.png" class="image"><img alt="Macro FCTreeView 10.png" src="18px-Macro_FCTreeView_10.png" width="18" height="18" srcset="/wiki/images/thumb/2/22/Macro_FCTreeView_10.png/27px-Macro_FCTreeView_10.png 1.5x, /wiki/images/thumb/2/22/Macro_FCTreeView_10.png/36px-Macro_FCTreeView_10.png 2x" /></a> Name</span> Icône utilisé pour trier les objet par nom (flip/flop normal/reverse)
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_11.png" class="image"><img alt="Macro FCTreeView 11.png" src="18px-Macro_FCTreeView_11.png" width="18" height="18" srcset="/wiki/images/thumb/a/a5/Macro_FCTreeView_11.png/27px-Macro_FCTreeView_11.png 1.5x, /wiki/images/thumb/a/a5/Macro_FCTreeView_11.png/36px-Macro_FCTreeView_11.png 2x" /></a> Label</span> Icône utilisé pour lister les objets par label (flip/flop normal/reverse)
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_12.png" class="image"><img alt="Macro FCTreeView 12.png" src="18px-Macro_FCTreeView_12.png" width="18" height="18" srcset="/wiki/images/thumb/0/08/Macro_FCTreeView_12.png/27px-Macro_FCTreeView_12.png 1.5x, /wiki/images/thumb/0/08/Macro_FCTreeView_12.png/36px-Macro_FCTreeView_12.png 2x" /></a> Visible</span> Icône utilisé pour lister les données par Visible/caché (flip/flop normal/reverse)
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_13.png" class="image"><img alt="Macro FCTreeView 13.png" src="18px-Macro_FCTreeView_13.png" width="18" height="18" srcset="/wiki/images/thumb/f/f5/Macro_FCTreeView_13.png/27px-Macro_FCTreeView_13.png 1.5x, /wiki/images/thumb/f/f5/Macro_FCTreeView_13.png/36px-Macro_FCTreeView_13.png 2x" /></a> Group</span> Icône utilisé pour lister les objets par Groupe/Simple objet (flip/flop normal/reverse)
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_19.png" class="image"><img alt="Macro FCTreeView 19.png" src="18px-Macro_FCTreeView_19.png" width="18" height="18" srcset="/wiki/images/thumb/7/7d/Macro_FCTreeView_19.png/27px-Macro_FCTreeView_19.png 1.5x, /wiki/images/thumb/7/7d/Macro_FCTreeView_19.png/36px-Macro_FCTreeView_19.png 2x" /></a> Length</span> Si cette case à cocher est activée le tri se fera sur la longueur du nom affiché de la fonction active (Name, Label ...)
</p>
<h3><span class="mw-headline" id="Section_Global">Section <b>Global</b></span></h3>
<p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_21.png" class="image"><img alt="Macro FCTreeView 21.png" src="18px-Macro_FCTreeView_21.png" width="18" height="18" srcset="/wiki/images/thumb/a/ae/Macro_FCTreeView_21.png/27px-Macro_FCTreeView_21.png 1.5x, /wiki/images/thumb/a/ae/Macro_FCTreeView_21.png/36px-Macro_FCTreeView_21.png 2x" /></a> Split</span> flip/flop Sépare le Nom de la liste
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_22.png" class="image"><img alt="Macro FCTreeView 22.png" src="18px-Macro_FCTreeView_22.png" width="18" height="18" srcset="/wiki/images/thumb/8/8f/Macro_FCTreeView_22.png/27px-Macro_FCTreeView_22.png 1.5x, /wiki/images/thumb/8/8f/Macro_FCTreeView_22.png/36px-Macro_FCTreeView_22.png 2x" /></a> Split</span> flip/flop Sépare le Nom et le Label de la liste
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_14.png" class="image"><img alt="Macro FCTreeView 14.png" src="18px-Macro_FCTreeView_14.png" width="18" height="18" srcset="/wiki/images/thumb/b/b5/Macro_FCTreeView_14.png/27px-Macro_FCTreeView_14.png 1.5x, /wiki/images/thumb/b/b5/Macro_FCTreeView_14.png/36px-Macro_FCTreeView_14.png 2x" /></a> Expend</span> flip/flop liste les données Fold/Expend
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_15.png" class="image"><img alt="Macro FCTreeView 15.png" src="18px-Macro_FCTreeView_15.png" width="18" height="18" srcset="/wiki/images/thumb/b/b9/Macro_FCTreeView_15.png/27px-Macro_FCTreeView_15.png 1.5x, /wiki/images/thumb/b/b9/Macro_FCTreeView_15.png/36px-Macro_FCTreeView_15.png 2x" /></a> Expend</span> flip/flop liste les données Expend/Fold
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_06.png" class="image"><img alt="Macro FCTreeView 06.png" src="18px-Macro_FCTreeView_06.png" width="18" height="18" srcset="/wiki/images/thumb/7/78/Macro_FCTreeView_06.png/27px-Macro_FCTreeView_06.png 1.5x, /wiki/images/thumb/7/78/Macro_FCTreeView_06.png/36px-Macro_FCTreeView_06.png 2x" /></a> Visibility</span> flip/flop normal/Visible
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_07.png" class="image"><img alt="Macro FCTreeView 07.png" src="18px-Macro_FCTreeView_07.png" width="18" height="18" srcset="/wiki/images/thumb/c/cd/Macro_FCTreeView_07.png/27px-Macro_FCTreeView_07.png 1.5x, /wiki/images/thumb/c/cd/Macro_FCTreeView_07.png/36px-Macro_FCTreeView_07.png 2x" /></a> Group</span> flip/flop normal/Groupe
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_16.png" class="image"><img alt="Macro FCTreeView 16.png" src="18px-Macro_FCTreeView_16.png" width="18" height="18" srcset="/wiki/images/thumb/a/ad/Macro_FCTreeView_16.png/27px-Macro_FCTreeView_16.png 1.5x, /wiki/images/thumb/a/ad/Macro_FCTreeView_16.png/36px-Macro_FCTreeView_16.png 2x" /></a> Reload</span> recharge les objets du projet
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_18.png" class="image"><img alt="Macro FCTreeView 18.png" src="18px-Macro_FCTreeView_18.png" width="18" height="18" srcset="/wiki/images/thumb/8/87/Macro_FCTreeView_18.png/27px-Macro_FCTreeView_18.png 1.5x, /wiki/images/thumb/8/87/Macro_FCTreeView_18.png/36px-Macro_FCTreeView_18.png 2x" /></a> Original</span> retourne à l'organisation originale après une opération visibility/Hidden
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_01.png" class="image"><img alt="Macro FCTreeView 01.png" src="18px-Macro_FCTreeView_01.png" width="18" height="18" srcset="/wiki/images/thumb/b/b7/Macro_FCTreeView_01.png/27px-Macro_FCTreeView_01.png 1.5x, /wiki/images/thumb/b/b7/Macro_FCTreeView_01.png/36px-Macro_FCTreeView_01.png 2x" /></a> All Visible</span> visualise si l'objet est de status Visible
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_02.png" class="image"><img alt="Macro FCTreeView 02.png" src="18px-Macro_FCTreeView_02.png" width="18" height="18" srcset="/wiki/images/thumb/1/13/Macro_FCTreeView_02.png/27px-Macro_FCTreeView_02.png 1.5x, /wiki/images/thumb/1/13/Macro_FCTreeView_02.png/36px-Macro_FCTreeView_02.png 2x" /></a> All Hidden</span> visualise si l'objet est de statut Hidden
</p>
<h3><span class="mw-headline" id="Section_Search">Section <b>Search</b></span></h3>
<p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_20.png" class="image"><img alt="Macro FCTreeView 20.png" src="18px-Macro_FCTreeView_20.png" width="18" height="18" srcset="/wiki/images/thumb/a/ab/Macro_FCTreeView_20.png/27px-Macro_FCTreeView_20.png 1.5x, /wiki/images/thumb/a/ab/Macro_FCTreeView_20.png/36px-Macro_FCTreeView_20.png 2x" /></a> Clear</span> Efface la ligne de recherche
</p>
<h4><span class="mw-headline" id="Les_radioButton_de_recherche_Search:">Les radioButton de recherche <b>Search</b>:</span></h4>
<ul><li><b>("NLwc")</b>&#160;: Recherche par Name et Label <b>W</b>ithout sans respecter la <b>C</b>ase sensitive</li></ul>
<ul><li><b>("Nsc")</b>&#160;: Recherche par Name en respectant la <b>S</b>ensitive <b>C</b>ase</li></ul>
<ul><li><b>("Lwc")</b>&#160;: Recherche par Label <b>W</b>ithout sans respecter la <b>C</b>ase sensitive</li></ul>
<ul><li><b>("NLsc")</b>&#160;: Recherche par Name et Label en respectant la <b>S</b>ensitive <b>C</b>ase</li></ul>
<ul><li><b>("NLwsc")</b>&#160;: Recherche par Name et Label dans le mot en respectant la <b>S</b>ensitive <b>C</b>ase (comme dans le panneau sélection de FreeCAD)</li></ul>
<ul><li><b>(Nu)</b> &#160;: Search by numeric value (radius, length, angle .....) voir la version section</li></ul>
<p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_23.png" class="image"><img alt="Macro FCTreeView 23.png" src="18px-Macro_FCTreeView_23.png" width="18" height="18" srcset="/wiki/images/thumb/2/25/Macro_FCTreeView_23.png/27px-Macro_FCTreeView_23.png 1.5x, /wiki/images/thumb/2/25/Macro_FCTreeView_23.png/36px-Macro_FCTreeView_23.png 2x" /></a> Select</span> flip/flop pour sélectionner tous les objets affichés dans la fenêtre
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_24.png" class="image"><img alt="Macro FCTreeView 24.png" src="18px-Macro_FCTreeView_24.png" width="18" height="18" srcset="/wiki/images/thumb/6/60/Macro_FCTreeView_24.png/27px-Macro_FCTreeView_24.png 1.5x, /wiki/images/thumb/6/60/Macro_FCTreeView_24.png/36px-Macro_FCTreeView_24.png 2x" /></a> Unselected</span> flip/flop désélectionner tous les objets
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_25.png" class="image"><img alt="Macro FCTreeView 25.png" src="18px-Macro_FCTreeView_25.png" width="18" height="18" srcset="/wiki/images/thumb/5/50/Macro_FCTreeView_25.png/27px-Macro_FCTreeView_25.png 1.5x, /wiki/images/thumb/5/50/Macro_FCTreeView_25.png/36px-Macro_FCTreeView_25.png 2x" /></a> S Sheet</span> accès aux options du tableur (Spreadsheet)
</p>
<h3><span class="mw-headline" id="The_SpreadSheet_options:">The SpreadSheet options:</span></h3>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:TreeView_SpeadSheet.gif" class="image" title="Macro FCTreeView"><img alt="Macro FCTreeView" src="TreeView_SpeadSheet.gif" width="454" height="690" /></a>
</p>
<div style="clear:both"></div>
<p><br />
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_001.png" class="image"><img alt="Macro FCTreeView 001.png" src="Macro_FCTreeView_001.png" width="340" height="230" /></a>
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_002.png" class="image"><img alt="Macro FCTreeView 002.png" src="Macro_FCTreeView_002.png" width="340" height="230" /></a>
</p>
<ul><li> Série de cases à cocher pour sélectionner la donnée à introduire dans le tableur</li></ul>
<p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_28.png" class="image"><img alt="Macro FCTreeView 28.png" src="18px-Macro_FCTreeView_28.png" width="18" height="18" srcset="/wiki/images/thumb/c/ca/Macro_FCTreeView_28.png/27px-Macro_FCTreeView_28.png 1.5x, /wiki/images/thumb/c/ca/Macro_FCTreeView_28.png/36px-Macro_FCTreeView_28.png 2x" /></a> Select</span>&#160;: Active toutes les cases à cocher
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_29.png" class="image"><img alt="Macro FCTreeView 29.png" src="18px-Macro_FCTreeView_29.png" width="18" height="18" srcset="/wiki/images/thumb/7/73/Macro_FCTreeView_29.png/27px-Macro_FCTreeView_29.png 1.5x, /wiki/images/thumb/7/73/Macro_FCTreeView_29.png/36px-Macro_FCTreeView_29.png 2x" /></a> Select</span>&#160;: désactive toutes les cases à cocher
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_003.png" class="image"><img alt="Macro FCTreeView 003.png" src="Macro_FCTreeView_003.png" width="340" height="230" /></a>
</p>
<ul><li> <b>Value</b>&#160;: seul la valeur est sauvée dans la cellule
<ul><li> Ex&#160;: 10.00 <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_30.png" class="image"><img alt="Macro FCTreeView 30.png" src="Macro_FCTreeView_30.png" width="64" height="64" /></a> </li></ul></li>
<li> <b>Val Gr</b>&#160;: la valeur et son unité sont sauvés dans une unique cellule
<ul><li> Ex&#160;: 10.00 mm <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_31.png" class="image"><img alt="Macro FCTreeView 31.png" src="Macro_FCTreeView_31.png" width="64" height="64" /></a> </li></ul></li>
<li> <b>Val Gr Ph</b>&#160;: la valeur, l'unité et la donnée physique sont sauvées dans une seule cellule
<ul><li> Ex&#160;: 10.00 mm Length <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_32.png" class="image"><img alt="Macro FCTreeView 32.png" src="Macro_FCTreeView_32.png" width="64" height="64" /></a> </li></ul></li>
<li> <b>Split</b>&#160;: si cette case à cocher est activée, les données valeur, unité et donnée physique sont enregistrées dans des cellules séparées
<ul><li> Ex&#160;: 10.00 | mm | length <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_33.png" class="image"><img alt="Macro FCTreeView 33.png" src="Macro_FCTreeView_33.png" width="64" height="64" /></a> </li></ul></li></ul>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_004.png" class="image"><img alt="Macro FCTreeView 004.png" src="Macro_FCTreeView_004.png" width="340" height="230" /></a>
</p>
<ul><li> Combobox <b>mm</b>&#160;: sélectionnez l'unité désirée. La valeur est convertie dans l'unité sélectionnée. Les unités disponibles sont:
<ul><li> km, hm, dam, m, dm, cm, <b>mm</b>, um, nm, pm, fm, in, lk, ft, yd, rd, ch, fur, mi, lea, nmi</li></ul></li>
<li> Combobox <b>gram</b>&#160;: sélectionnez l'unité de poids désirée. La valeur est convertie dans l'unité sélectionnée. Les unités disponibles sont:
<ul><li> t, q, kg, hg, dag, <b>g</b>, dg, cg, mg, µg, ng, pg, fg, gr, dr, oz, oz t, lb, t lb, st, qtr, cwt, tonneau fr, ct </li></ul></li>
<li> Spinbox <b>Densite</b>&#160;: donnez la densité par dm3 du matériel utilisé (Défaut&#160;: 1.0000)</li>
<li> Spinbox <b>Round</b>&#160;: donnez la valeur d'arrondi désirée (Default&#160;: 3)</li></ul>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_005.png" class="image"><img alt="Macro FCTreeView 005.png" src="Macro_FCTreeView_005.png" width="340" height="230" /></a>
</p>
<ul><li> Combobox <b>Name spreadSheet</b>&#160;: Liste les tableurs (spreadsheet) dans la document</li>
<li> Line edit <b>Name spreadSheet</b>&#160;: Affiche le tableur courant (spreadsheet) ou donnez un nom pour un nouveau tableur (spreadsheet)</li></ul>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_006.png" class="image"><img alt="Macro FCTreeView 006.png" src="Macro_FCTreeView_006.png" width="340" height="230" /></a>
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_28.png" class="image"><img alt="Macro FCTreeView 28.png" src="18px-Macro_FCTreeView_28.png" width="18" height="18" srcset="/wiki/images/thumb/c/ca/Macro_FCTreeView_28.png/27px-Macro_FCTreeView_28.png 1.5x, /wiki/images/thumb/c/ca/Macro_FCTreeView_28.png/36px-Macro_FCTreeView_28.png 2x" /></a> Select</span> sélectionne tous les checkBox
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_29.png" class="image"><img alt="Macro FCTreeView 29.png" src="18px-Macro_FCTreeView_29.png" width="18" height="18" srcset="/wiki/images/thumb/7/73/Macro_FCTreeView_29.png/27px-Macro_FCTreeView_29.png 1.5x, /wiki/images/thumb/7/73/Macro_FCTreeView_29.png/36px-Macro_FCTreeView_29.png 2x" /></a> Unselect</span> déselectionne tous les checkbox
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_27.png" class="image"><img alt="Macro FCTreeView 27.png" src="18px-Macro_FCTreeView_27.png" width="18" height="18" srcset="/wiki/images/thumb/6/69/Macro_FCTreeView_27.png/27px-Macro_FCTreeView_27.png 1.5x, /wiki/images/thumb/6/69/Macro_FCTreeView_27.png/36px-Macro_FCTreeView_27.png 2x" /></a> Save</span> sauves les données dans le Spreadsheet affiché. S'il n'y a aucun spreadsheet actif un spreadsheet nommé <b>FCSpreadSheet</b> est créé
</p><p><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_26.png" class="image"><img alt="Macro FCTreeView 26.png" src="18px-Macro_FCTreeView_26.png" width="18" height="18" srcset="/wiki/images/thumb/c/c8/Macro_FCTreeView_26.png/27px-Macro_FCTreeView_26.png 1.5x, /wiki/images/thumb/c/c8/Macro_FCTreeView_26.png/36px-Macro_FCTreeView_26.png 2x" /></a> Quit</span> quitte la fenêtre options Spreadsheet
</p>
<h3><span class="mw-headline" id="Icons">Icons</span></h3>
<p>Les icônes doivent être copiés dans le même répertoire que la macro
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_00.png" class="image" title="Icon used for the Name of object"><img alt="Icon used for the Name of object" src="Macro_FCTreeView_00.png" width="64" height="64" /></a> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_01.png" class="image" title="Icon used for visualise if the object is status Visible (mouse click for Hidden)"><img alt="Icon used for visualise if the object is status Visible (mouse click for Hidden)" src="Macro_FCTreeView_01.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_02.png" class="image" title="Icon used for visualise if the object is status Hidden (mouse click for Visible)"><img alt="Icon used for visualise if the object is status Hidden (mouse click for Visible)" src="Macro_FCTreeView_02.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_03.png" class="image" title="Icon used for inform the object in a group the number objects is displayed in top group"><img alt="Icon used for inform the object in a group the number objects is displayed in top group" src="Macro_FCTreeView_03.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_04.png" class="image" title="Icon used for displayed the single object (not group)"><img alt="Icon used for displayed the single object (not group)" src="Macro_FCTreeView_04.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_05.png" class="image" title="Icon used for the Label of object"><img alt="Icon used for the Label of object" src="Macro_FCTreeView_05.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_06.png" class="image" title="Icon used for flip/flop normal/Visibility"><img alt="Icon used for flip/flop normal/Visibility" src="Macro_FCTreeView_06.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_07.png" class="image" title="Icon used for flip/flop normal/Group"><img alt="Icon used for flip/flop normal/Group" src="Macro_FCTreeView_07.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_08.png" class="image" title="Icon used for Reverse the data listing (momentarily not used)"><img alt="Icon used for Reverse the data listing (momentarily not used)" src="Macro_FCTreeView_08.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_09.png" class="image" title="Icon used for quit Macro FCTreeView (momentarily not used)"><img alt="Icon used for quit Macro FCTreeView (momentarily not used)" src="Macro_FCTreeView_09.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_10.png" class="image" title="Icon used for flip/flop normal/reverse the data listing sort by Name"><img alt="Icon used for flip/flop normal/reverse the data listing sort by Name" src="Macro_FCTreeView_10.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_11.png" class="image" title="Icon used for flip/flop normal/reverse the data listing sort by Label"><img alt="Icon used for flip/flop normal/reverse the data listing sort by Label" src="Macro_FCTreeView_11.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_12.png" class="image" title="Icon used for flip/flop normal/reverse the data listing sort by Visibility/Hidden"><img alt="Icon used for flip/flop normal/reverse the data listing sort by Visibility/Hidden" src="Macro_FCTreeView_12.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_13.png" class="image" title="Icon used for flip/flop normal/reverse the data listing sort by Grout/Single object"><img alt="Icon used for flip/flop normal/reverse the data listing sort by Grout/Single object" src="Macro_FCTreeView_13.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_14.png" class="image" title="Icon used for flip/flop the data listing Fold/Expend"><img alt="Icon used for flip/flop the data listing Fold/Expend" src="Macro_FCTreeView_14.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_15.png" class="image" title="Icon used for flip/flop the data listing Expend/Fold"><img alt="Icon used for flip/flop the data listing Expend/Fold" src="Macro_FCTreeView_15.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_16.png" class="image" title="Icon used for reload the data in the project"><img alt="Icon used for reload the data in the project" src="Macro_FCTreeView_16.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_17.png" class="image" title="Icon used for the Name contains objects (or folder Group)"><img alt="Icon used for the Name contains objects (or folder Group)" src="Macro_FCTreeView_17.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_18.png" class="image" title="Icon used for return in original organisation after operation visibility/Hidden"><img alt="Icon used for return in original organisation after operation visibility/Hidden" src="Macro_FCTreeView_18.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_19.png" class="image" title="If this check Box is checked the sort is created by length with the button clicked (Name, Label ...)"><img alt="If this check Box is checked the sort is created by length with the button clicked (Name, Label ...)" src="Macro_FCTreeView_19.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_20.png" class="image" title="Icon used for Clear the search line edit"><img alt="Icon used for Clear the search line edit" src="Macro_FCTreeView_20.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_21.png" class="image" title="Icon used for flip/flop Split the Name list"><img alt="Icon used for flip/flop Split the Name list" src="Macro_FCTreeView_21.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_22.png" class="image" title="Icon used for flip/flop Split the Name and Label list"><img alt="Icon used for flip/flop Split the Name and Label list" src="Macro_FCTreeView_22.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_23.png" class="image" title="Icon used for Selected all object(s) displayed in the window"><img alt="Icon used for Selected all object(s) displayed in the window" src="Macro_FCTreeView_23.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_24.png" class="image" title="Icon used for Unselected all object(s)"><img alt="Icon used for Unselected all object(s)" src="Macro_FCTreeView_24.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_25.png" class="image" title="Icon used for access in Spreadsheet options"><img alt="Icon used for access in Spreadsheet options" src="Macro_FCTreeView_25.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_26.png" class="image" title="Icon used for quit the Spreadsheet options"><img alt="Icon used for quit the Spreadsheet options" src="Macro_FCTreeView_26.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_27.png" class="image" title="Icon used for save the data in Spreadsheet"><img alt="Icon used for save the data in Spreadsheet" src="Macro_FCTreeView_27.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_28.png" class="image" title="Icon used for select all checkbox options"><img alt="Icon used for select all checkbox options" src="Macro_FCTreeView_28.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_29.png" class="image" title="Icon used for unselected all checkbox options"><img alt="Icon used for unselected all checkbox options" src="Macro_FCTreeView_29.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_30.png" class="image" title="Icon used for save the value data in Spreadsheet"><img alt="Icon used for save the value data in Spreadsheet" src="Macro_FCTreeView_30.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_31.png" class="image" title="Icon used for save the value and Unit data in Spreadsheet"><img alt="Icon used for save the value and Unit data in Spreadsheet" src="Macro_FCTreeView_31.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_32.png" class="image" title="Icon used for save the value, Unit and type data in Spreadsheet"><img alt="Icon used for save the value, Unit and type data in Spreadsheet" src="Macro_FCTreeView_32.png" width="64" height="64" /></a>
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_33.png" class="image" title="Icon used for split the value, Unit and type in cell separate in Spreadsheet"><img alt="Icon used for split the value, Unit and type in cell separate in Spreadsheet" src="Macro_FCTreeView_33.png" width="64" height="64" /></a>
</p>
<h2><span class="mw-headline" id="Script">Script</span></h2>
<p>Pour éviter de nombreuses instances, le clic sur le bouton ToolBar a un effet flip/flop (masquer/visible)
</p><p>La macro s'accroche du côté droit de la fenêtre, pour avoir la macro dockée à gauche de l'écran, modifiez la valeur de la ligne 133 <b>testing = 0</b> (ou changez la en maintenant la touche de la souris enfoncée sur le bord supérieur de la fenêtre et déplacez la)
</p><p>The icon ToolBar <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView.png" class="image" title="Macro FCTreeView"><img alt="Macro FCTreeView" src="Macro_FCTreeView.png" width="64" height="64" /></a>
</p><p><b>Macro FCTreeView.FCMacro</b>
</p>
<div class="plainlinks" style="width:450px; text-align:center; margin:10px auto;">
<div style="border:1px outset #9eb4b5; background:#c0ffd8; margin:5px; padding:5px; white-space:nowrap; -webkit-border-radius: 5px; -moz-border-radius: 5px;">
<center><font color="#007900"><u>Download the code file</u></font></center>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Nuvola_apps_download_manager.png" class="image"><img alt="Nuvola apps download manager.png" src="35px-Nuvola_apps_download_manager.png" width="35" height="35" srcset="/wiki/images/thumb/2/26/Nuvola_apps_download_manager.png/53px-Nuvola_apps_download_manager.png 1.5x, /wiki/images/thumb/2/26/Nuvola_apps_download_manager.png/70px-Nuvola_apps_download_manager.png 2x" /></a></div></div><br />
<span class="CodeDownload"><center><a rel="nofollow" class="external text" href="https://gist.github.com/mario52a/67517ef758ff20005d0a6adcfd8c9190">Macro_FCTreeView</a></center></span>
<p><br />
</p>
</div>
</div>
<p><br />
</p>
<h2><span class="mw-headline" id="A_faire">A faire</span></h2>
<p><strike>Docked the macro</strike>
</p>
<h2><span class="mw-headline" id="Version">Version</span></h2>
<p>ver 00.07 (06/05/2018)&#160;: modification de la procédure pour rechercher l'emplacement de la dernière cellule utilisée
</p><p>ver 00.06 (13/12/2017)&#160;: correction d'un petit bug ligne del line num 1881 "del listeSortedBis[doublon][4:] # supprime le fond inutile" thanks renatorivo
</p><p>ver 00.05 (27/11/2017)&#160;: ajout création d'un spreadsheet avec inclusion de beaucoup d'options
</p><p>ver 00.04 (29-09-2017)&#160;: ajout recherche par valeur numerique (longueur, rayon....)
</p><p>recherche par valeur&#160;:
</p>
<pre>global impost &#160;; impost = ["Angle","Angle0","Angle1","Angle2","Angle3","ChamferSize","Circumradius","Columns","Degree",
"FilletRadius","FirstAngle","Growth","Height","LastAngle","Length","Length2","MajorRadius",
"MinorRadius","Pitch","Polygon","Radius","Radius1","Radius2","Radius3","Rows","Size","Width",
"X","X1","X2","Xmax","Xmin","X2max","X2min",
"Y","Y1","Y2","Ymax","Ymin","Y2max","Y2min",
"Z","Z1","Z2","Zmax","Zmin","Z2max","Z2min"] </pre>
<p>ver 00.03 (23/09/2017)&#160;: ajout recherche par type d'objet
</p><p>ver 00.02 (11/09/2017)&#160;: modifié pour docker et limiter les multiples instances avec bouton flip/flop (macro caché/visible)
</p><p>ver 00.01 (08/09/2017) &#160;:
</p>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Macro_FCTreeView/fr&amp;oldid=281292">http://www.freecadweb.org/wiki/index.php?title=Macro_FCTreeView/fr&amp;oldid=281292</a>"</div>
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
</div>
</div>
<div id="mw-navigation">
<h2>Navigation menu</h2>
</body></html>