Message 1 of 1
[DA4Fusion] How to read an input JSON file in a TypeScript appbundle?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I'm working with Design Automation for Fusion (Autodesk.Fusion+Latest engine) and trying to read an input JSON file (Params.json) passed as a WorkItem argument inside my main.ts script.
My setup: I submit a WorkItem with a runParams argument (verb: GET, localName: runParams.json) pointing to a signed S3 download URL. The file downloads successfully (HTTP 200 in the logs). But my script fails to read it.
What is the correct way to read an input file in a Fusion DA TypeScript script?