Console API/it: Difference between revisions
Renatorivo (talk | contribs) (Console_API/it) |
(Updating to match new version of source page) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
=Console_API/it= |
|||
{{VeryImportantMessage|(Ottobre 2019) Non modificare queste pagine. Le informazioni sono incomplete e obsolete. Per l'API più recente, consultare la [https://www.freecadweb.org/api documentazione API autogenerata] o generare la documentazione autonomamente. Vedere [[Source documentation/it|Documentazione del codice sorgente]].}} |
|||
⚫ | |||
⚫ | |||
Esempio: |
Esempio: |
||
{{Code|code= |
|||
⚫ | |||
⚫ | |||
}} |
|||
⚫ | |||
⚫ | |||
{{APIFunction/it|GetStatus|"Log" o "Msg" o "Wrn" o "Err"|Ottiene lo stato di Log, Msg, Wrn o Error per un osservatore|una stringa di stato.}} |
{{APIFunction/it|GetStatus|"Log" o "Msg" o "Wrn" o "Err"|Ottiene lo stato di Log, Msg, Wrn o Error per un osservatore|una stringa di stato.}} |
||
Line 14: | Line 18: | ||
{{APIFunction/it|SetStatus|string|Imposta lo stato di Log, Msg, Wrn o Error per un osservatore| }} |
{{APIFunction/it|SetStatus|string|Imposta lo stato di Log, Msg, Wrn o Error per un osservatore| }} |
||
{{Userdocnavi{{#translation:}}}} |
|||
{{languages/it | {{en|Console_API}} {{es|Console_API/es}} }} |
|||
[[Category:API{{#translation:}}]] |
|||
[[Category: |
[[Category:Poweruser Documentation{{#translation:}}]] |
||
{{clear}} |
Latest revision as of 20:55, 27 February 2020
(Ottobre 2019) Non modificare queste pagine. Le informazioni sono incomplete e obsolete. Per l'API più recente, consultare la documentazione API autogenerata o generare la documentazione autonomamente. Vedere Documentazione del codice sorgente.
Questo modulo è contenuto all'interno del modulo di FreeCAD e contiene i metodi per inviare messaggi di testo per l'output della console di FreeCAD e della barra di stato. I messaggi hanno colore diverso secondo se sono messaggio di avviso o di errore.
Esempio:
import FreeCAD
FreeCAD.Console.PrintMessage("Hello World!\n")
Descrizione: Ottiene lo stato di Log, Msg, Wrn o Error per un osservatore
Restituisce: una stringa di stato.
Descrizione: Imposta lo stato di Log, Msg, Wrn o Error per un osservatore
Restituisce:
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub