Ican't save current image as file

Anonymous

Ican't save current image as file

Anonymous
Not applicable

Hi, I can't save current image as file. I used Viewport.SaveImageAsFile method and it returned True and I don't receive any error , but I can't get file. What's wrong on my code? I'm newbie at fusion360 api, please let me know any resolution.  Below is my code

Screen Shot 2019-02-21 at 11.49.30.png

and output is " /Users/otz/3dcad/frame01 True"

 

0 Likes
Reply
283 Views
1 Reply
Reply (1)

BrianEkins
Mentor
Mentor

I thought at first the problem was because you left off the file extension on the filename but I wrote a little test with a good filename and am seeing the same problem.  I know this was working a few months ago so it is a regression in behavior.  I reported it on the support forum: https://forums.autodesk.com/t5/fusion-360-support/regression-in-saving-view-as-image-file-using-api-...

 

It works correctly on Windows and is a Mac only problem.

 

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes