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

85 lines
5.0 KiB
HTML

<html><head><title>TechDraw New Pick/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>TechDraw New Pick/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" >
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="Nuovo_disegno_da_modello"><a href="https://www.freecadweb.org/wiki/index.php?title=File:TechDraw_New_Pick.png" class="image"><img alt="TechDraw New Pick.png" src="32px-TechDraw_New_Pick.png" width="32" height="32" srcset="/wiki/images/thumb/f/f9/TechDraw_New_Pick.png/48px-TechDraw_New_Pick.png 1.5x, /wiki/images/f/f9/TechDraw_New_Pick.png 2x" /></a> Nuovo disegno da modello</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Posizione nel menu
</th></tr>
<tr>
<td class="ctEven">TechDraw → Nuovo disegno da modello
</td></tr>
<tr>
<th class="ctOdd">Ambiente
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=TechDraw_Module/it" title="TechDraw Module/it">TechDraw</a>
</td></tr>
<tr>
<th class="ctOdd">Avvio veloce
</th></tr>
<tr>
<td class="ctEven">x x
</td></tr>
<tr>
<th class="ctOdd">Vedere anche
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=TechDraw_New_Default/it" title="TechDraw New Default/it">Nuovo disegno standard</a>
</td></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="#Nuovo_disegno_da_modello"><span class="tocnumber">1</span> <span class="toctext">Nuovo disegno da modello</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="#Uso"><span class="tocnumber">3</span> <span class="toctext">Uso</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Opzioni"><span class="tocnumber">4</span> <span class="toctext">Opzioni</span></a></li>
<li class="toclevel-1 tocsection-4"><a href="#Propriet.C3.A0"><span class="tocnumber">5</span> <span class="toctext">Proprietà</span></a></li>
<li class="toclevel-1 tocsection-5"><a href="#Script"><span class="tocnumber">6</span> <span class="toctext">Script</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Descrizione">Descrizione</span></h2>
<p>Lo strumento Nuovo disegno da modello crea una nuova pagina utilizzando il file di un modello selezionato in una finestra di dialogo. La directory di partenza per il dialogo può essere specificata nelle Preferenze
</p>
<h2><span class="mw-headline" id="Uso">Uso</span></h2>
<ol><li> Premere il pulsante <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:TechDraw_New_Pick.png" class="image"><img alt="TechDraw New Pick.png" src="24px-TechDraw_New_Pick.png" width="24" height="24" srcset="/wiki/images/thumb/f/f9/TechDraw_New_Pick.png/36px-TechDraw_New_Pick.png 1.5x, /wiki/images/thumb/f/f9/TechDraw_New_Pick.png/48px-TechDraw_New_Pick.png 2x" /></a> <a class="mw-selflink selflink">Nuovo disegno da modello</a></span></li></ol>
<h2><span class="mw-headline" id="Opzioni">Opzioni</span></h2>
<p>Nessuna.
</p>
<h2><span class="mw-headline" id="Propriet.C3.A0">Proprietà</span></h2>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Projection Type</b>: Tipo predefinito di proiezione (primo o terzo angolo) per questa pagina.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Scale</b>: Scala predefinita per le Viste in questa pagina.</li></ul>
<h2><span class="mw-headline" id="Script">Script</span></h2>
<p>Lo strumento Nuovo disegno da modello può essere utilizzato nelle <a href="https://www.freecadweb.org/wiki/index.php?title=Macros/it" title="Macros/it">macro</a> e dalla console Python utilizzando le seguenti funzioni:
</p>
<pre>templateFileSpec = QtGui.QFileDialog.getOpenFileName(self.baseWidget,
dialogCaption,
dialogDir,
dialogFilter)
page = FreeCAD.ActiveDocument.addObject('TechDraw::DrawPage','Page')
template = FreeCAD.ActiveDocument.addObject('TechDraw::DrawSVGTemplate','Template')
template.Template = templateFileSpec
page.Template = FreeCAD.ActiveDocument.Template </pre>
<ul><li> Crea una nuova pagina nel documento corrente</li></ul>
<div style="clear:both"></div>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=TechDraw_New_Pick/it&amp;oldid=210628">http://www.freecadweb.org/wiki/index.php?title=TechDraw_New_Pick/it&amp;oldid=210628</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>