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

258 lines
40 KiB
HTML

<html><head><title>Macro FCTreeView/it</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/it</h1></div>
<div id="mw-content-text" lang="it" 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">Descrizione
</th></tr>
<tr>
<td class="ctEven left">Questa macro visualizza tutti gli oggetti del progetto in un elenco con le opzioni ordinate per etichetta del nome...
</td></tr>
<tr>
<th class="ctOdd">Autore
</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">Link
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Macros_recipes/it" title="Macros recipes/it">Esempi di macro</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=How_to_install_macros/it" title="How to install macros/it">Come installare le Macro</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=Customize_Toolbars/it" title="Customize Toolbars/it">Personalizzare la barra degli strumenti</a>
</td></tr>
<tr>
<th class="ctOdd">Versione
</th></tr>
<tr>
<td class="ctEven macro-version">00.07
</td></tr>
<tr>
<th class="ctOdd">Data ultima modifica
</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="#Descrizione"><span class="tocnumber">2</span> <span class="toctext">Descrizione</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Utilizzo"><span class="tocnumber">3</span> <span class="toctext">Utilizzo</span></a>
<ul>
<li class="toclevel-2 tocsection-3"><a href="#Sezione_Window"><span class="tocnumber">3.1</span> <span class="toctext">Sezione <b>Window</b></span></a></li>
<li class="toclevel-2 tocsection-4"><a href="#Section_Ordina_per_:"><span class="tocnumber">3.2</span> <span class="toctext">Section <b>Ordina per&#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="#The_radioButton_options_Search:"><span class="tocnumber">3.4.1</span> <span class="toctext">The radioButton options <b>Search</b>:</span></a></li>
</ul>
</li>
<li class="toclevel-2 tocsection-8"><a href="#Le_opzioni_SpreadSheet:"><span class="tocnumber">3.5</span> <span class="toctext">Le opzioni SpreadSheet:</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="#Da_fare"><span class="tocnumber">5</span> <span class="toctext">Da fare</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="Descrizione">Descrizione</span></h2>
<p>Macro per elencare tutti gli oggetti nel progetto in una lista senza gerarchia, opzioni per ordinare per nome, etichetta, visibilità, gruppo, con opzioni di ricerca per nome, etichetta .... senza distinzione tra maiuscole e minuscole o con distinzione tra maiuscole e minuscole e selezionare tutti gli oggetti visualizzati nella finestra macro.
</p>
<h2><span class="mw-headline" id="Utilizzo">Utilizzo</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="Sezione_Window">Sezione <b>Window</b></span></h3>
<p>Il titolo visualizza l'opzione, il numero e il tipo di oggetti visualizzati
</p>
<ul><li><b>O</b> = Oggetto</li>
<li><b>N</b> = Nome</li>
<li><b>L</b> = Etichetta</li>
<li><b>T</b> = Totale</li>
<li><b>G</b> = Gruppo</li>
<li><b>S</b> = Singolo</li>
<li><b>V</b> = Visibile</li>
<li><b>H</b> = Nascosto</li></ul>
<p>Se viene selezionato un oggetto: viene visualizzata la Base di posizionamento, Rotazione e Centro di massa (se disponibile!)
<a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_00.png" class="image" title="Icona utilizzata per il nome dell&#39;oggetto"><img alt="Icona utilizzata per il nome dell&#39;oggetto" src="Macro_FCTreeView_00.png" width="64" height="64" /></a> Icona utilizzata per il nome dell'oggetto (la barra di scorrimento è colorata in blu)
</p><p><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> Icona utilizzata per l'etichetta dell'oggetto (la barra di scorrimento è di colore blu chiaro)
</p><p><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>Icona utilizzata per visualizzare se l'oggetto è in stato Visibile (clic del mouse per Nascosto) (la barra di scorrimento è colorata in verde)
</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> Icona utilizzata per visualizzare se l'oggetto è in stato Nascosto (clic del mouse per Visibile) (la barra di scorrimento è colorata in rosso)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_17.png" class="image" title="icona utilizzata per il nome contiene oggetti (o gruppo di cartelle)"><img alt="icona utilizzata per il nome contiene oggetti (o gruppo di cartelle)" src="Macro_FCTreeView_17.png" width="64" height="64" /></a> L'icona utilizzata per il nome contiene oggetti (o gruppo di cartelle)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_03.png" class="image" title="Icona usata per informare l&#39;oggetto in un gruppo, gli oggetti numerici sono visualizzati nel gruppo in alto (la barra di scorrimento è colorata in rosso)"><img alt="Icona usata per informare l&#39;oggetto in un gruppo, gli oggetti numerici sono visualizzati nel gruppo in alto (la barra di scorrimento è colorata in rosso)" src="Macro_FCTreeView_03.png" width="64" height="64" /></a> Icona usata per informare l'oggetto in un gruppo, gli oggetti numerici sono visualizzati nel gruppo in alto (la barra di scorrimento è colorata in rosso)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_FCTreeView_04.png" class="image" title="Icona utilizzata per visualizzare il singolo oggetto (non il gruppo)"><img alt="Icona utilizzata per visualizzare il singolo oggetto (non il gruppo)" src="Macro_FCTreeView_04.png" width="64" height="64" /></a> Icona utilizzata per visualizzare il singolo oggetto (non il gruppo)
</p>
<h3><span class="mw-headline" id="Section_Ordina_per_:">Section <b>Ordina per&#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> Icona usata per il flip/flop normale/invertire la lista dei dati ordinata per nome
</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> Icona usata per il flip/flop normale/invertire la lista dei dati ordinata per etichetta
</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> Icona usata per il flip/flop normale/rovescia l'ordinamento della lista dei dati per Visibile/Nascosto
</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> Icona usata per il flip/flop normale/inverte l'ordinamento della quotazione dei dati per Gruppo/Oggetto singolo
</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> Se questa casella di controllo è selezionata, l'ordinamento viene creato in base alla lunghezza con il pulsante su cui è stato fatto clic (Nome, Etichetta ...)
</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 Dividi la lista dei nomi
</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 Dividi il nome e l'elenco delle etichette
</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 l'elenco dei dati 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> capovolgere/flopare l'elenco di dati Spiega/Piega
</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/Visibility
</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/Group
</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> Ricarica i dati nel progetto
</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> ritorno nell'organizzazione originale dopo l'operazione visibilità/Nascosto
</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> visualizza se l'oggetto è stato Visibile
</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> visualizza se l'oggetto è stato Nascosto
</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> Cancella la modifica della riga di ricerca
</p>
<h4><span class="mw-headline" id="The_radioButton_options_Search:">The radioButton options <b>Search</b>:</span></h4>
<ul><li> <b>("NLwc")</b>: Cerca per nome ed etichetta <b>W</b> senza rispettare il sensibile <b>C</b> 'ase</li></ul>
<ul><li><b>("Nsc")</b>&#160;: Cerca per nome e rispettando il <b>S</b>ensitive <b>C</b>ase</li></ul>
<ul><li><b>("Lwc")</b>&#160;: Cerca per etichetta <b>W</b>ithout rispettando il sensibile <b>C</b>ase</li></ul>
<ul><li><b>("NLsc")</b>&#160;: Cerca per nome e etichetta e rispettando il <b>S</b>ensitive <b>C</b>ase</li></ul>
<ul><li><b>("NLwsc")</b>&#160;: Cerca per nome ed etichetta in Word e rispettando il <b>S</b>ensitive <b>C</b>ase (selezione del pannello stesso di FreeCAD)</li></ul>
<ul><li><b>(Nu)</b> &#160;: Cerca per valore numerico (raggio, lunghezza, angolo .....) vedi la sezione versione</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 per Selezionati tutti gli oggetti visualizzati nella finestra
</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 per Selezionati tutti gli oggetti visualizzati nella finestra
</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> accesso nelle opzioni del foglio di calcolo
</p>
<h3><span class="mw-headline" id="Le_opzioni_SpreadSheet:">Le opzioni SpreadSheet:</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> Opzioni CheckBox per selezionare i dati da salvare nel foglio di calcolo</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;: Seleziona tutta l'opzione checkBox per salvare
</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;: unSeleziona tutta l'opzione checkBox per salvare
</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;: da solo il valore viene salvato nella cella
<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;: il valore e l'unità vengono salvati in una cella univoca
<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;: il valore, l'unità e i dati fisici vengono salvati in una cella univoca
<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;: se la casella di controllo Dividi è selezionata, i dati vengono tagliati salvati in una cella separata
<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;: seleziona la lunghezza dell'unità desiderata. Il valore è convertito nell'unità selezionata. The units length available are:
<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;: selezionare il peso unitario desiderato. Il valore è convertito nell'unità selezionata. Le unità di peso disponibili sono:
<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;: dare la densità di dm3 del materiale utilizzato (Predefinito&#160;: 1.0000)</li>
<li> Spinbox <b>Round</b>&#160;: dare il valore rotondo desiderato (Predefinito&#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;: Elenca il foglio di calcolo nel documento</li>
<li> Line edit <b>Name spreadSheet</b>&#160;: Visualizza il foglio di calcolo effettivo o indica il nome per il nuovo foglio di lavoro</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> seleziona tutte le opzioni della casella di controllo
</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> deselezionate tutte le opzioni della casella di controllo
</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> salva i dati nel foglio di calcolo visualizzato. se nessun foglio di calcolo è attivo, viene creato il foglio di calcolo denominato <b>FCSpreadSheet</b>
</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> esci dalle opzioni del foglio di calcolo
</p>
<h3><span class="mw-headline" id="Icons">Icons</span></h3>
<p>L'icona deve essere copiata nella stessa directory della 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>Per evitare molte istanze il clic sul pulsante Barra degli strumenti è effetto flip/flop (nascondi/visibili)
</p><p>La macro si trova nella parte destra del dock per la modifica, modifica la riga di valore numero 133 <b>testing = 0</b> (o la modifica con il mouse come normale di un widget)
</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="Da_fare">Da fare</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;: modificare la procedura per cercare l'ultima cella utilizzata
</p><p>ver 00.06 (13/12/2017)&#160;: corretto piccolo bug line del line num 1881 "del listeSortedBis [doublon] [4:] # supprime le fond inutile" grazie renatorivo
</p><p>ver 00.05 (27/11/2017)&#160;: aggiungi foglio di calcolo per la creazione e molte opzioni per lui
</p><p>ver 00.04 (29-09-2017)&#160;: aggiungi ricerca per valore numerico (lunghezza, raggio ....)
</p><p>valori ricercati&#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;: aggiungi ricerca per tipo oggetto
</p><p>ver 00.02 (11/09/2017)&#160;: modifica per ancorare e impedire molte istanze il clic sul pulsante è effetto flip/flop (macro nascondi/visibile)
</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/it&amp;oldid=281295">http://www.freecadweb.org/wiki/index.php?title=Macro_FCTreeView/it&amp;oldid=281295</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>