Fem: Set license for Python generated examples

This commit is contained in:
marioalexis
2024-06-04 11:38:29 -03:00
parent 609da5cf04
commit e3648061fd

View File

@@ -201,6 +201,9 @@ def run_example(example, solver=None, base_name=None, run_solver=False):
def init_doc(doc=None):
if doc is None:
doc = FreeCAD.newDocument()
# set license
doc.License = "Creative Commons Attribution 4.0"
doc.LicenseURL = "https://creativecommons.org/licenses/by/4.0/"
return doc