[DA4Fusion] How to read an input JSON file in a TypeScript appbundle?

[DA4Fusion] How to read an input JSON file in a TypeScript appbundle?

roden5CJBQ
Observer Observer
140 Views
0 Replies
Message 1 of 1

[DA4Fusion] How to read an input JSON file in a TypeScript appbundle?

roden5CJBQ
Observer
Observer

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?

0 Likes
141 Views
0 Replies
Replies (0)