when calling rs.AddPictureFrame(plane, path, size[0], size[1], use_alpha = True) uing python3 in GH rhino8, i got the following exception:
Traceback (most recent call last):
File “rhinocode:///grasshopper/1/f4f105bb-6ee7-4f13-a2b3-dc7b8652bf87/c59d8042-f099-416c-af12-ce53ee2b548e”, line 121, in
File “rhinocode:///grasshopper/1/f4f105bb-6ee7-4f13-a2b3-dc7b8652bf87/c59d8042-f099-416c-af12-ce53ee2b548e”, line 67, in InsertHero
File “C:\Users\Steven.rhinocode\py39-rh8\site-rhinopython\rhinoscript\geometry.py”, line 90, in AddPictureFrame
if type(filename) is not System.String or not System.IO.File.Exists(filename): raise Exception(‘"{0}" does not exist or is not a file name’.format(filename))
Exception: “C:\Users\Steven\Desktop\xxxxxxx\Arcosanti\png_BW\cropped\0.png” does not exist or is not a file name
I’m very sure that “C:\Users\Steven\Desktop\xxxxxxx\Arcosanti\png_BW\cropped\0.png” exists. Any clue what could have caused this?
3 posts - 2 participants