- Importing a mesh using a
.ply
file:bpy.ops.import_mesh.ply(filepath=filepath)
- Change name of loaded object:
bpy.data.objects[ply_number].name= ENV_NAME
,bpy.data.objects[ENV_NAME].data.name= ENV_NAME
- Cheatsheet has useful shortcuts
.ply
file: bpy.ops.import_mesh.ply(filepath=filepath)
bpy.data.objects[ply_number].name= ENV_NAME
, bpy.data.objects[ENV_NAME].data.name= ENV_NAME