Fix #3054. Edit sheet is now implemented for drawings, schedules, and titleblocks.

This commit is contained in:
Dion Moult
2023-04-23 17:49:13 +10:00
parent 7dc17a3653
commit 5b4449eea0
5 changed files with 47 additions and 48 deletions
@@ -344,7 +344,7 @@ class SheetBuilder:
sheet_dir = os.path.dirname(sheet_path)
os.makedirs(sheet_dir, exist_ok=True)
os.makedirs(os.path.join(sheet_dir, "titleblocks"), exist_ok=True)
os.makedirs(os.path.dirname(titleblock_path), exist_ok=True)
if not os.path.exists(titleblock_path):
shutil.copy(ootb_titleblock_path, titleblock_path)