Console API/es: Difference between revisions
m (correction du code "FreeCAD.Console.PrintMessage("Hello World!\n")") |
No edit summary |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
⚫ | |||
{{VeryImportantMessage|(October 2019) Do not edit this page. The information is incomplete and outdated. For the latest API, see the [https://www.freecadweb.org/api autogenerated API documentation], or generate the documentation yourself, see [[Source documentation|Source documentation]].}} |
|||
⚫ | |||
Ejemplo: |
|||
{{Code|code= |
|||
⚫ | |||
⚫ | |||
}} |
|||
⚫ | |||
⚫ | |||
{{APIFunction/es|GetStatus|"Log" o "Msg" o "Wrn" o "Err"|Obtiene el estado de Log, Msg, Wrn o Error para un observador|una cadena de texto de estado.}} |
{{APIFunction/es|GetStatus|"Log" o "Msg" o "Wrn" o "Err"|Obtiene el estado de Log, Msg, Wrn o Error para un observador|una cadena de texto de estado.}} |
||
Line 11: | Line 18: | ||
{{APIFunction/es|SetStatus|string|Establece el estado de Log, Msg, Wrn o Error para un observador| }} |
{{APIFunction/es|SetStatus|string|Establece el estado de Log, Msg, Wrn o Error para un observador| }} |
||
{{ |
{{Userdocnavi{{#translation:}}}} |
||
[[Category:API{{#translation:}}]] |
|||
[[Category: |
[[Category:Poweruser Documentation{{#translation:}}]] |
||
{{clear}} |
Latest revision as of 15:39, 15 January 2021
(October 2019) Do not edit this page. The information is incomplete and outdated. For the latest API, see the autogenerated API documentation, or generate the documentation yourself, see Source documentation.
Este módulo está contenido en el módulo de FreeCAD y contiene métodos para enviar texto a la consola de salida de FreeCAD y a la barra de estado. Los mensajes tendrán diferente color si son mensajes, advertencias o errores.
Ejemplo:
import FreeCAD
FreeCAD.Console.PrintMessage("Hello World!\n")
Descripción: Obtiene el estado de Log, Msg, Wrn o Error para un observador
Devuelve: una cadena de texto de estado.
Descripción: Establece el estado de Log, Msg, Wrn o Error para un observador
Devuelve:
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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub