From 95123b3399744075b5b2f7ade3a4691f6466f623 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 3 May 2022 11:24:23 +0200 Subject: [PATCH] App: expose PropertyType enum to Python --- src/App/FreeCADInit.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/App/FreeCADInit.py b/src/App/FreeCADInit.py index 1972f8a4dd..2285c9da36 100644 --- a/src/App/FreeCADInit.py +++ b/src/App/FreeCADInit.py @@ -922,6 +922,17 @@ class ScaleType(IntEnum): App.ScaleType = ScaleType +class PropertyType(IntEnum): + Prop_None = 0 + Prop_ReadOnly = 1 + Prop_Transient = 2 + Prop_Hidden = 4 + Prop_Output = 8 + Prop_NoRecompute = 16 + Prop_NoPersist = 32 + +App.PropertyType = PropertyType + # clean up namespace del(InitApplications) del(test_ascii)