0
$\begingroup$

I have got a lot of text objects in a scene and each text object has a number that represents a value on Z axis. For example i have an object that contains text "410", which then should have transform (0,0,410).

I figured i could try to do it with a script even though im inexperienced with python or scripting in general.

I have come up with this so far:

import bpy    
bpy.ops.object.editmode_toggle() 
bpy.ops.font.select_all() 
bpy.ops.font.text_copy() 
bpy.ops.object.editmode_toggle()

now what would be the line to paste the clipboard as a Z transform?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.