acc_upload_file
Upload a local file to an ACC Docs folder. If a file with the same name already exists, a new version is added; otherwise a new document is created. Handles large files via chunked S3 upload.
Instructions
Upload a local file to an ACC Docs folder. If a file with the same name already exists there, a NEW VERSION is added (correct CDE behaviour); otherwise a new document is created. Tip: validate the name against the project naming convention first (acc_validate_names). Uses chunked S3 upload, so large models are fine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name in ACC (defaults to the local file name) | |
| folder_id | Yes | Destination folder URN | |
| local_path | Yes | Path of the file on this computer, e.g. 'C:/Projects/ABC/model.rvt' | |
| project_id | Yes | Project id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |