get_document_status
Check which open FreeCAD documents need saving and whether their disk files exist, without modifying, saving, or recomputing anything.
Instructions
Read which open documents need saving, without saving or recomputing anything.
Empty doc_name lists all; otherwise inspect one named document. modified is the
GUI dirty flag (same save-state indicator as the UI), saved_once means saved before,
needs_recompute is independent. needs_save is true for new/modified/missing-file
documents; null means the dirty flag could not be read, never assumed clean.
file_path and file_exists identify the associated disk file. App.save()/saveAs()
can leave the GUI modified flag set; this reports the actual GUI flag honestly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | No |