- updated the offset and scale Tcl commands to work on a selection of objects

This commit is contained in:
Marius Stanciu
2022-02-01 05:40:05 +02:00
committed by Marius
parent afdbce81b6
commit 2ccd807325
5 changed files with 119 additions and 70 deletions

View File

@@ -57,6 +57,10 @@ class TclCommandJoinExcellon(TclCommand):
outname = args['outname'] if 'outname' in args else "joined_exc"
obj_names = unnamed_args
if not obj_names:
self.app.log.error("Missing objects to be joined. Exiting.")
return "fail"
objs = []
for obj_n in obj_names:
obj = self.app.collection.get_by_name(str(obj_n))