Console API/ja: Difference between revisions
(Updating to match new version of source page) |
No edit summary |
||
Line 14: | Line 14: | ||
FreeCAD.PrintMessage("Hello World!\n") |
FreeCAD.PrintMessage("Hello World!\n") |
||
{{APIFunction |
{{APIFunction|GetStatus|"Log" または "Msg" または "Wrn" または "Err"|Log、Msg、Wrn、Wrnのいずれかのステータスを監視用に取得します。|ステータス文字列}} |
||
{{APIFunction |
{{APIFunction|PrintError|string|出力にエラーメッセージをプリントします。|なし}} |
||
{{APIFunction |
{{APIFunction|PrintLog|string|出力にログメッセージをプリントします。|なし}} |
||
{{APIFunction |
{{APIFunction|PrintMessage|string|出力にメッセージをプリントします。|なし}} |
||
{{APIFunction |
{{APIFunction|PrintWarning|string|出力に警告をプリントします。|なし}} |
||
{{APIFunction |
{{APIFunction|SetStatus|string|Log、Msg、Wrn、Wrnのいずれかのステータスを監視用に設定します。| }} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 21:18, 5 November 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.
このモジュールはFreeCADモジュール内部に含まれ、FreeCADの出力用コンソールとステータスバーにテキストを送信するためのメソッドが含まれています。メッセージ、警告、エラーの場合にはメッセージ文字列が異なる色になります。
例:
import FreeCAD
FreeCAD.Console.PrintMessage("Hello World!\n")
import FreeCAD
FreeCAD.PrintMessage("Hello World!\n")
Description: Log、Msg、Wrn、Wrnのいずれかのステータスを監視用に取得します。
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