Skip to content

schneik80/PowerTools-Assembly

Repository files navigation

PowerTools: Assembly tools for Autodesk Fusion

PowerTools Assembly is an Autodesk Fusion add-in that provides productivity commands for teams working with multi-component assemblies and cloud-connected design data. It adds commands to the Design workspace toolbar and Quick Access Toolbar (QAT) that reduce the steps required for common assembly management tasks.

Prerequisites

Before you install and run this add-in, confirm that you have the following:

  • Autodesk Fusion (any current subscription tier) with Python add-in support enabled
  • Windows 10/11 or macOS
  • An Autodesk Team Hub (required for commands that access cloud document references)

Installation

  1. Download or clone this repository to your local machine.
  2. In Autodesk Fusion, open the Add-Ins dialog by selecting Utilities > Add-Ins, or press Shift+S.
  3. On the Add-Ins tab, click the green + icon.
  4. Navigate to the folder where you placed the add-in files and select the PowerTools-Assembly folder.
  5. Click Open.
  6. Select PowerTools Assembly in the list, then click Run.

To have the add-in load automatically each time Fusion starts, select Run on Startup before clicking Run.

Commands

The following commands are included in this add-in:

Command Category Location Description
Document References Data Workflow Design › Utilities › Power Tools Displays a dialog listing all documents related to the active design, organized by relationship type, including recursive root assembly detection.
Reference Manager Data Workflow Quick Access Toolbar Opens the Fusion Reference Manager dialog directly from the QAT for quick access to reference management.
Externalize Data Workflow Design › Utilities › Power Tools Converts local (inline) components into independent cloud documents and re-inserts them at their original positions.
Get and Update Data Workflow Quick Access Toolbar Retrieves the latest versions of all child references and updates all out-of-date assembly contexts in one step.
Document Refresh Data Workflow QAT › File dropdown Closes and reopens the active document to load the latest version from the Hub.
Bottom-Up Update Data Workflow Design › Utilities › Power Tools Saves and updates all references in the open assembly from the bottom up, processing components in dependency order.
Assembly Statistics Information Design › Utilities › Power Tools Displays a summary dialog of component counts, reference states, joints, and assembly nesting depth.
Assembly Builder Productivity Design › Utilities › Power Tools Visual node editor for designing an assembly hierarchy on a new or empty document, then generating every external component — with correct design intent, shared references, and derived global parameters — in one step.
Insert STEP File Productivity Design › Utilities › Power Tools Opens a local file browser and inserts a STEP or F3D file as an inline component in the active design.
Global Parameters Global Parameters Design › Utilities › Power Tools Create or edit a shared parameter set document in the active project's _Global Parameters folder; writes favorite parameters into the active document.
Link Global Parameters Global Parameters Design › Utilities › Power Tools Derive a parameter set from the project's _Global Parameters folder into the active document as a Derive feature with favorite parameters.
Refresh Global Parameters Cache Global Parameters QAT › File › PowerTools Settings Force a full Hub scan and rewrite the local gp_folder / gp_docs caches for the active project when parameter sets appear missing or stale.

Data Workflow commands

Document References

Document References displays a dialog listing all documents related to the active design — including parents, children, drawings, fasteners, and (when using the Related Data add-in) documents created from templates. You can open any listed document directly by selecting the open button next to its name.

  • Roots — recursively walks the full parent chain to identify top-level root assemblies that have no further parents; deduplicates by file ID, excludes drawings and Related Data documents from the chain, and excludes the active document itself.
  • Thumbnail previews, Open in Fusion, and Open in Browser buttons are available for every section including Roots.

Requirements: An Autodesk Fusion 3D Design must be active and saved.

For full usage details, see Document References.

Reference Manager

Reference Manager opens the Fusion Reference Manager dialog directly from the Quick Access Toolbar. Provides a single location to review all references, update them individually or all at once, select specific versions, and open referenced documents in new tabs.

Requirements: An Autodesk Fusion 3D Design must be active.

For full usage details, see Reference Manager.

Externalize

Externalize converts one or more local (inline) components in the active assembly into independent cloud documents, then re-inserts them at their original positions and orientations.

  • Externalize a single selected component occurrence.
  • Externalize all local first-level components in one step using Externalize All.
  • Save to the same folder as the active document or to a new named sub-folder.
  • Automatically reuse an existing cloud file if one with the same name already exists.
  • Single end-of-run parent version — one cloud save commits every replacement, no matter how many components were externalized.
  • Crash-safe mid-run — Fusion's recovery save (AutoSaveFilesCommand) is triggered between iterations to keep work safe even if Fusion crashes before the final commit.
  • Resume-aware — on launch, inspects the temp log to detect an incomplete prior run and skips components that already completed.
  • Live log viewer — optionally opens Console.app (macOS) or a PowerShell window (Windows) so you can watch progress live.

Requirements: An Autodesk Fusion 3D Design must be active and saved.

For full usage details, see Externalize.

Get and Update

Get and Update retrieves the latest versions of all child references and immediately updates all out-of-date assembly contexts in a single operation. Use this command instead of the default Get Latest button when you need to ensure that both document versions and their derived assembly contexts are current.

Requirements: An Autodesk Fusion 3D Design with external references must be active.

For full usage details, see Get and Update.

Document Refresh

Document Refresh closes the active document, retrieves the latest version from the Autodesk Hub, and reopens it automatically. Use this command when working in a team to load changes saved by other team members without manually closing and reopening the file.

Requirements: An Autodesk Fusion 3D Design must be active and saved.

For full usage details, see Document Refresh.

Bottom-Up Update

Bottom-Up Update saves and updates all references in the open assembly from the bottom up, processing assembly components in dependency order to ensure proper reference updates.

  • Updates components from dependencies upward through the assembly hierarchy.
  • Optional rebuild of all components to ensure they are current.
  • Skips standard library components and already processed documents.
  • Applies appropriate design intent (Part, Assembly, or Hybrid) automatically.
  • Hides various UI elements (origins, joints, sketches, canvases) for cleaner saves.
  • Smart upload confirmation — waits for each component's cloud upload to finish before advancing, instead of using a fixed pause timer.
  • Resume-aware — on launch, inspects the temp log to detect an incomplete prior run; if the component list is unchanged it offers to resume from the last confirmed checkpoint.
  • Live log viewer — optionally opens Console.app (macOS) or a PowerShell window (Windows) automatically when the command starts so you can monitor progress live.
  • Writes structured checkpoint log entries to the OS temp folder for diagnostics and resume support.

Requirements: An Autodesk Fusion 3D Design with external references must be active and saved.

For full usage details, see Bottom-Up Update.


Information commands

Assembly Statistics

Assembly Statistics displays a summary dialog for the active design showing component instance counts, unique component counts, out-of-date reference counts, assembly nesting depth, document context count, assembly constraints, and joint totals broken down by type.

Requirements: An Autodesk Fusion 3D Design must be active.

For full usage details, see Assembly Statistics.


Productivity commands

Assembly Builder

Assembly Builder opens a visual node editor (powered by Drawflow) that lets you plan an assembly hierarchy before any components exist, then generates every external component in one step with the correct design intent applied automatically.

  • Add Assembly, Part, and Hybrid nodes from the sidebar; with a node selected, a new node is auto-connected as its child.
  • Connect nodes by dragging from parent output ports (bottom) to child input ports (top); generous hit targets make wiring easy.
  • Share a single child across multiple parents — the command establishes cloud references and reuses them via addByInsert.
  • Add a Global Parameters node for any parameter set in the project and link it to the components that should derive it.
  • Arrange auto-lays-out the graph; double-click any node to rename it (the name becomes the Fusion component name).
  • When the design has shared parts or global parameters, a banner prompts you to save first and Create Assembly stays disabled until you do.
  • Built-in zoom, pan, and fit-to-view controls; palette theme follows the Fusion UI theme (including "match OS").

Requirements: An active Fusion 3D Design with Assembly or Hybrid design intent and no root-level children. The document must be new (unsaved) or a saved document that is still empty (no features or components).

For full usage details, see Assembly Builder.

Insert STEP File

Insert STEP File opens a local file browser and inserts a selected STEP (.stp, .step) or Fusion archive (.f3d) file as an inline component in the active design. Bypasses the Hub upload and separate-tab workflow for faster local STEP insertion. Particularly useful in ECAD workflows for loading mechanical models into 3D package design tools.

Requirements: An Autodesk Fusion 3D Design must be active.

For full usage details, see Insert STEP File.


Global Parameters commands

These commands let teams define and distribute shared design parameters (material thicknesses, clearances, standard dimensions, etc.) across an entire Autodesk Hub project. Parameter sets are stored as Fusion design documents inside a _Global Parameters folder at the project root — the underscore prefix causes the folder to sort to the top of the Data Panel. Every parameter is marked as a Fusion favorite and tagged with the PT-globparm sentinel in its comment so the add-in can identify it across documents.

Both dialogs use a two-level cache (gp_folder_<project-key>.json and gp_docs_<project-key>.json under cache/) so repeat openings skip the Hub folder scan. When a cache read fails, the command falls back to a Hub scan and refreshes the cache automatically. See Refresh Global Parameters Cache to force a full rescan.

Global Parameters

Global Parameters opens a dialog where you create or edit a named parameter set document in the active project's _Global Parameters folder. Parameters defined in the table are written as userParameters (marked isFavorite = True) into both the parameter set document and the active document.

  • Create a new named parameter set, or edit an existing one chosen from the dropdown.
  • Define parameters with a name, numeric value, unit (in, ft, mm, cm, m), and optional comment.
  • Parameter names are validated against a regex and a Fusion reserved-unit list; duplicates are rejected with an inline reason.
  • Unsaved dialog state is cached on cancel and can be restored on next open.

Requirements: An Autodesk Fusion 3D Design must be active and saved to a Hub project.

For full usage details, see Global Parameters.

Link Global Parameters

Link Global Parameters scans the active project's _Global Parameters folder and lets you derive a selected parameter set into the active document as a Derive feature with isIncludeFavoriteParameters = True, so every favorite parameter becomes immediately available in design expressions.

  • Dropdown of available parameter sets; preview table shows name, expression, unit, and comment before committing.
  • Fast preview via JSON sidecar written by Global Parameters on save — avoids switching the active document.
  • Cache-id fast path for DataFile resolution, with forced Hub refresh fallback when a selected set is unresolved.

Requirements: An Autodesk Fusion 3D Design must be active and saved. At least one parameter set must exist in the project.

For full usage details, see Link Global Parameters.

Refresh Global Parameters Cache

Refresh Global Parameters Cache forces a full Hub scan of the active project's _Global Parameters folder and overwrites the gp_folder and gp_docs caches. Use this when parameter sets appear missing, stale, or out of order in the other two dialogs.

  • Location: QAT › File › PowerTools Settings › Refresh Global Parameters Cache
  • The PowerTools Settings submenu is shared with other PowerTools add-ins; the command creates it on first run if it does not already exist.

Requirements: An active Fusion document whose project contains a _Global Parameters folder.

For full usage details, see Refresh Global Parameters Cache.


Support

This add-in is developed and maintained by IMA LLC.


License

This project is released under the GNU General Public License v3.0 or later.

Copyright (C) 2022-2026 IMA LLC.

The shared library at lib/fusionAddInUtils is vendored byte-for-byte identically across all nine PowerTools add-ins. It mixes code under different terms: general_utils.py, event_utils.py, and attributes_utils.py are based on Autodesk, Inc. sample code (distributed under its own license terms — see the source headers); cache_utils.py, date_utils.py, log_utils.py, and upload_utils.py are part of this project (IMA LLC, GPL-3.0-or-later). See each module's source header for details.


Copyright © 2026 IMA LLC. All rights reserved.

About

PowerTools Assembly is an Autodesk Fusion add-in that provides productivity commands for teams working with multi-component assemblies and cloud-connected design data. It adds commands to the Design workspace toolbar and Quick Access Toolbar (QAT) that reduce the steps required for common assembly management tasks.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors