- moved all the new_object related methods in their own class AppObjects.AppObject
This commit is contained in:
@@ -100,7 +100,7 @@ class TclCommandNregions(TclCommand):
|
||||
non_copper = bounding_box.difference(geo)
|
||||
geo_obj.solid_geometry = non_copper
|
||||
|
||||
self.app.new_object("geometry", args['outname'], geo_init, plot=False)
|
||||
self.app.app_obj.new_object("geometry", args['outname'], geo_init, plot=False)
|
||||
except Exception as e:
|
||||
return "Operation failed: %s" % str(e)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user