Skip to content

Commit e364806

Browse files
committed
Fem: Set license for Python generated examples
1 parent 609da5c commit e364806

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Mod/Fem/femexamples/manager.py

+3
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ def run_example(example, solver=None, base_name=None, run_solver=False):
201201
def init_doc(doc=None):
202202
if doc is None:
203203
doc = FreeCAD.newDocument()
204+
# set license
205+
doc.License = "Creative Commons Attribution 4.0"
206+
doc.LicenseURL = "https://creativecommons.org/licenses/by/4.0/"
204207
return doc
205208

206209

0 commit comments

Comments
 (0)