I have a simple python script moveobj.py
import bpy
for obj in bpy.data.objects:
obj.location.x += 5
I want to execute this script in
class Translate_OT_Col_to_New_Location(Operator):
bl_label = "TranslateColNewLoc"
bl_idname = "object.translatecol"
bl_description = "TranslateColNewLoc"
def execute(self, context):
execute python script moveobj.py here, is it possible?
Thanks a lot!