0
$\begingroup$

Do you know how I can create text objects from a file or list like this?

Text x y z abc 876 232 12 bcb 365 345 23

etc

Thanks,

Owen

$\endgroup$
  • $\begingroup$ similar topic $\endgroup$ – Ratt Dec 5 '18 at 16:45
  • $\begingroup$ similar yes, but I want to also place the text at specific locations $\endgroup$ – Owen Powell Dec 5 '18 at 16:54
1
$\begingroup$

yes then maybe drag it to the location by hand to where you want it at..

or try to read the code... i mean the following line seems to be pretty much self explanatory and the author of the article mentioned above (duplicate) also tells you that you can easily offset the position to your liking using his code ;)

bpy.ops.object.text_add(location=(0,idx*2,0), rotation=(0,0,0))

$\endgroup$
  • $\begingroup$ Thank you for the reply. I will have lots of loacations so looking to automate the placement. I can see that I should be able to insert the x, y and z fields from a csv file into the location values $\endgroup$ – Owen Powell Dec 6 '18 at 9:37

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.