- moved all the new_object related methods in their own class AppObjects.AppObject
This commit is contained in:
@@ -65,6 +65,6 @@ class TclCommandJoinExcellon(TclCommand):
|
||||
ExcellonObject.merge(objs, obj_, decimals=self.app.decimals)
|
||||
|
||||
if objs and len(objs) >= 2:
|
||||
self.app.new_object("excellon", outname, initialize, plot=False)
|
||||
self.app.app_obj.new_object("excellon", outname, initialize, plot=False)
|
||||
else:
|
||||
return "No Excellon objects to be joined or less than two Excellon objects specified for merging."
|
||||
|
||||
Reference in New Issue
Block a user