Printing PDF's from Autodesk Cloud (BIM360/ACC) used to be a time consuming task. Going through all drawings and requesting .PDF's took a while and BIM managers need to quality assurance large drawing sets. sPrint is a Chrome extension that allows batch-print PDFs and download things (derivatives) from Autodesk Cloud Platforms.
- Create AWS account
- Create AWS IAM
- In AWS security credentials params, add access key, It will provide you with aws_key_id, aws_secret, aws_region
- donwload AWS CLI from https://awscli.amazonaws.com/AWSCLIV2.msi
- Configure AWS credentials with the
aws configure
command - Enter credentials from #3
- Install SAM CLI from https://github.com/aws/aws-sam-cli/releases/latest/download/AWS_SAM_CLI_64_PY3.msi
- cd in lambda folder then run
sam build
(you may have to install esbuild) - then
sam package
- finally
sam deploy
- Change the name of the FunctionName variable in \src\services\aws.ts to your own lambda function
-
Navigate to ./extension folder
-
Create .env file
-
Setup environmental variables:
AWS access keys guide APS app creation guide
VITE_AWS_REGION=******* VITE_AWS_ACCESS_KEY_ID=******* VITE_AWS_SECRET_ACCESS_KEY=******* VITE_APS_CLIENT_ID=******* VITE_APS_CLIENT_SECRET=*******
-
Run
npm run build
-
Run Chrome and go to
chrome://extensions/
-
Load
./extension/dist
folder -
Check the extension console (right click on the extension in the chrome toolbar) and copy the callback URL, then set it in the APS app that you created.
The plugin consist of 2 parts:
- Chrome Extension:
- Popup
- Background Script - listen to Tab and status changes.
- Content Script - extends a UI of ACC/BIM360
- Backend:
- Lambda Function - holds export logic.