Timeline for "bpy.path.abspath" not working properly [duplicate]
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 12, 2015 at 15:10 | history | closed |
Jaroslav Jerryno Novotny p2or Ray Mairlot J Sargent iKlsR |
Duplicate of How to get the directory of open blend file? (from Python) | |
May 12, 2015 at 12:22 | review | Close votes | |||
May 12, 2015 at 15:12 | |||||
May 12, 2015 at 12:20 | comment | added | zeffii | s = s.replace("\\", "\\\\") -- stackoverflow.com/questions/7262828/… | |
May 12, 2015 at 12:18 | comment | added | Nils Söderman | the path is generated, do you know if there is a way to use the r if path is a variable? like: bpy.path.abspath(r + path) ? | |
May 12, 2015 at 12:04 | comment | added | Jaroslav Jerryno Novotny |
use path = "//..\Desktop\\vine.png" or path = r"//..\Desktop\vine.png"
|
|
May 12, 2015 at 11:46 | comment | added | Nils Söderman | I did some more tests, it seems like it doesn't work if the image starts with following letters: v, n, b, x, f, a, u | |
May 12, 2015 at 11:38 | history | asked | Nils Söderman | CC BY-SA 3.0 |