Console API/ro: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 22: | Line 22: | ||
{{APIFunction | SetStatus | șir text | Setați stările fie pentru Log, Msg, Wrn, sau Error pentru un observator |}} |
{{APIFunction | SetStatus | șir text | Setați stările fie pentru Log, Msg, Wrn, sau Error pentru un observator |}} |
||
{{Userdocnavi{{#translation:}}}} |
|||
[[Category:API{{#translation:}}]] |
[[Category:API{{#translation:}}]] |
||
[[Category:Poweruser Documentation{{#translation:}}]] |
|||
{{clear}} |
{{clear}} |
Latest revision as of 20:55, 27 February 2020
(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.
Acest modul este conținut în modulul FreeCAD și conține metode de trimitere a textului la consola de ieșire FreeCAD și la bara de stare. Mesajele vor avea o culoare diferită, funcție de tipul lor : mesaje, avertismenter sau erori.
Exemplu:
import FreeCAD
FreeCAD.Console.PrintMessage("Hello World!\n")
Description: Obțineți starea fie pentru Log, Msg, Wrn sau Error pentru un observator
Returns: . Un șir text de stare
Description: Setați stările fie pentru Log, Msg, Wrn, sau Error pentru un observator
Returns:
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