Files
create/docs/examples/example-addon/Init.py
forbes-0023 2f89f8cbb0
All checks were successful
Build and Test / build (pull_request) Successful in 30m3s
docs: add example addon template (#395)
- Create docs/examples/example-addon/ with a complete, copy-paste-ready
  addon skeleton demonstrating command registration, context injection,
  dock panels, lifecycle hooks, and event bus subscription
- Add Examples section to docs/src/SUMMARY.md
- Add quick-start cross-reference in writing-an-addon.md
2026-03-05 10:32:12 -06:00

13 lines
370 B
Python

"""Example addon — console initialization.
This file runs in both console and GUI mode. Use it for non-GUI setup
such as registering custom property types or document observers that
should work without a display.
Most addons only need a log line here. Heavy setup belongs in InitGui.py.
"""
import FreeCAD
FreeCAD.Console.PrintLog("example-addon: console init\n")