Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Failed:
Traceback (most recent call last):
File "C:/Users/chief/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/Scripts/NewScript1/NewScript1.py", line 31, in run
returnValue = viewport_var.saveAsImageFile(fileName, 500, 500)
NameError: name 'viewport_var' is not defined
I want to make a script that will take a photo of every detail and save it. As far as I understand, the program asks me for an object, I don't quite understand which one or how to add it. Help, thanks.
Solved! Go to Solution.