Skip to main content

Python SDK for Autodesk Platform Services Automation API

Project description

APS Automation SDK

Cover

PyPI

A Python SDK that wraps the Autodesk Platform Services (APS) Design Automation API, making it faster and easier to automate Revit and AutoCAD workflows in the cloud.

Installation

Get started in seconds with pip:

pip install aps-automation-sdk

Capabilities

Currently, the SDK supports AutoCAD and Revit.

  • Export data from AutoCAD: Extract information from DWG files and save to various formats
  • Create and update AutoCAD files: Modify DWG files programmatically in the cloud
  • Export data from Revit files: Extract data from RVT files (IFC, schedules, parameters, etc.)
  • Create and update Revit files: Modify RVT files (add/delete elements, change parameters, etc.)
  • Run complex automation: Execute workflows with multiple inputs and outputs, combining JSON configurations with CAD/BIM files
  • Sign public activities for ACC workflows: Use built in helpers to generate keys, upload public key, sign activity IDs, and submit signed public workitems
  • Mint SSA based 3lo tokens: Use SSA helpers to authenticate ACC and Design Automation flows with robot users

Start Right Away

Test the SDK with our ready-to-use examples in the examples folder:

  • AutoCAD_01_list_layers: Extract layer names from a DWG file
  • Revit_01_delete_walls: Remove walls from a Revit model
  • Revit_02_export_to_ifc: Export IFC files from Revit with custom settings
  • Revit_03_create_structural_elements: Create structural beam elements from JSON configuration
  • Revit_04_change_global_params: Modify global parameters in Revit models
  • Common_05_workitem_signing: Generate signing keys, upload public key, and sign a Design Automation activity
  • Common_06_workitem_signing_cli: Run the same signing flow with the aps-automation CLI commands
  • Common_07_ssa_create_and_token: Set up SSA inputs and mint a 3lo token for ACC and Design Automation flows

Each example includes a Jupyter notebook with step-by-step instructions and sample files.

Before running the examples, create a .env file in the project root with your APS credentials:

CLIENT_ID=your_client_id_here
CLIENT_SECRET=your_client_secret_here

You can use .env.sample as a reference. To get your credentials, create an Autodesk Platform Services application at: https://get-started.aps.autodesk.com/

For Agents

This repository provides agent context files for developers:

  • AGENTS.md
  • CLAUDE.md
  • llms-full.txt

This repository also publishes the following skills:

  • .agents/skills/aps-acc-public-activity-signing/
  • .agents/skills/full-llm-export/

Use this skill to run APS public activity signing workflows end-to-end:

  • generate RSA keys
  • export and upload public key to forgeapps/me
  • sign activity IDs
  • connect signatures to ACC/public workitem execution flows

For Codex

Codex reads project skills from .agents/skills/.

Install this skill into your local repo:

npx skills add https://github.com/viktor-platform/aps-automation-sdk \
  --skill aps-acc-public-activity-signing \
  --copy \
  -a codex \
  -y

This copies the skill into: .agents/skills/

For Claude Code

Install this skill for Claude Code:

npx skills add https://github.com/viktor-platform/aps-automation-sdk \
  --skill aps-acc-public-activity-signing \
  --copy \
  -a claude-code \
  -y

This copies the skill into: .claude/skills

Contribute

For contributing and local installation instructions, see CONTRIBUTING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aps_automation_sdk-0.1.2.tar.gz (64.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aps_automation_sdk-0.1.2-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file aps_automation_sdk-0.1.2.tar.gz.

File metadata

  • Download URL: aps_automation_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 64.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for aps_automation_sdk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 55eb3a9de967746a8f0b5d0fe489b914546432adac930f199559ed0e809ffb20
MD5 03151ee58c69def4686ad9e6d62dd52a
BLAKE2b-256 819104014af0a16372c2938d1df916012c052e7303d5f771d0f659ad3e243990

See more details on using hashes here.

File details

Details for the file aps_automation_sdk-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aps_automation_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3804d958bce940e8654bd9ba051cf3601717f799f41de1b965704bedc467162
MD5 957582d23b1dc74d11e10da74901ac64
BLAKE2b-256 78e49165f30dadf722869c6b750346e831acc04b80e09646b9e8f6ae7dfce16d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page