Fusion Team Integration
Design Automation for Fusion enables access to your data and your teams data stored on Fusion Team.
Personal Access Tokens
Design Automation for Fusion uses Personal Access Tokens (PAT) to access the PAT owners data. This means that a Design Automation for Fusion workitem has access to all data on the teams that the PAT owner has access too. This allows the script to read, write and create Fusion data, as a user in the desktop version would.
A guide to create a PAT is included as part of the Design Automation for Fusion tutorial.
Accessing Files
To access an existing file, you will need the file’s URN which is a unique identifier for a Fusion design. Below are three ways to access a file’s URN.
- Data Management API - This Autodesk Platform Services API provides a unified method to access data across Autodesks platforms. For more information, see the documentation.
- Fusion Desktop - Navigate to the file of interest and type the command “data.property” into the Text Command Window. Navigate to the “Lineage URN” to find the URN for that file

- Fusion Team - Navigate to the file on Fusion Team in your browser, in the address bar copy the long string of characters. This is a Base64 encoded string, so decode this to get the file’s URN.

- Inside a Script - In a script, you can use id property of the DataFile object to get the URN of an active file.