Build Fusion Add-Ins Without Writing Any Code @adskFusion
Build Fusion Add-Ins Without Writing Any Code  @adskFusion
Uploaded October 2026 | Updated November 2026, 1 day ago
I'm not a Fusion API expert and I don't have much Python experience. This add-in was built entirely through conversation with Autodesk Assistant.

It scans a part, finds every hole, groups them by diameter, orientation and depth, then lets you assign a hole type, colour code them, resize them, and save each group as a selection set.

The useful part isn't the finished tool though. It's everything that went wrong getting there. It read plain drilled holes as compound ones, because real drills leave a conical nose at the bottom and I never mentioned that. The window opened wherever it liked until I told it where to dock. Offsets came back as floating surface copies because I hadn't said solid offset.

None of that is unusual. The first pass is rarely right on anything this complex. The more you map out your approach up front, the easier the whole thing gets.

Prompt used:

Build a Fusion add-in that automates hole categorization before programming. Call it Hole Colour Addin.

SCOPE: scan the currently visible body only.

STEP 1, DETECTION (build this first, nothing else yet)
Detect hole-like features:
Native Hole features. If one contains multiple instances, expand into individual records by distinct axis position, not one merged record.
Simple cylindrical cut faces that act like holes but aren't native Hole features.
Compound holes made of two related cuts (counterbore = two coaxial cuts of different diameters, or a cut paired with a chamfer or countersink). Treat as one hole when they share a common axis within tolerance and originate from the same or adjacent faces.
Ignore partial cylindrical faces such as fillets and chamfer blends. Exclude by checking for arc-bounded edges rather than a full circular boundary.
Through-hole logic: count planar end caps. 2 caps = through hole (report "Through", not part thickness). 1 cap = blind (report measured depth).

STEP 2, GROUPING
Group by:
Diameter (both diameters for compound holes).
Orientation to the model's WCS. If aligned to a principal axis, report X, Y or Z with no sign. If oblique, report nearest reference plane plus signed angle, e.g. "XY+15.3".
Depth. Same diameter and orientation but different depths go in separate groups, not one group with a range.

Don't infer hole type during detection. Category is a manual dropdown choice made later.

STOP POINT
Print results to the terminal only. List each group's orientation, diameter(s), count, depth (or "Through") and structure. Stop so I can confirm before we build any UI.

CATEGORIES AND COLORS (for the dialog step, don't build yet)
blank/default: no color until a category is chosen
Through Hole: Yellow (255, 221, 0)
Counterbore or Countersink: Cyan (0, 210, 255)
Tapped Hole: Orange (255, 122, 0)
Dowel or Reamed Hole: Magenta (255, 0, 200)

FUTURE STEPS, once Step 1 and 2 output is confirmed
Single self-contained add-in. Detection must finish before the palette opens so the table populates instantly.

Columns: Axis, Diameter(s), Count, Depth, Hole Type (dropdown, blank by default), Offset, Apply.

Behavior:
On every scan, reset faces previously colored by this add-in to default. Only touch faces carrying this add-in's own tagged appearance.
A Re-scan button refreshes the table without closing the palette.
Clicking a row clears the previous highlight, selects all faces in that group as a normal viewport selection would, and fits the view to it. It also creates a named SelectionSet as Axis_Diameter(s)_NumberOfHoles, e.g. "Z_10.2_36".
Choosing a Hole Type only updates the UI color dot. Entering an offset only stores the value. Neither touches the model until Apply is clicked.
Apply: colors every face in the hole, the cylindrical walls plus only the small adjacent cap and shoulder faces. Exclude any cap face roughly more than 4x the bore circle area so large plate faces never get colored. For compound holes, color both diameters. If an offset is set, create a real OffsetFaces timeline feature. Positive enlarges, negative shrinks.
Apply All: runs every row's category and offset at once, skipping rows with no category. Status bar stays blank while working and shows only a checkmark or error afterward.

Start with Steps 1 and 2 only, console output, so I can confirm detection before we build the palette.

0:00 What the add-in does
0:26 Why this is always iterative
0:56 The prompt I started with
2:23 Getting the hole detection right
2:53 The add-in wouldn't load
3:14 Fixing the empty table
3:57 Apply did nothing
4:14 Surface offset vs solid offset
5:00 Selection sets and compound holes
5:35 The finished add-in

FREE TRIAL | https://autode.sk/3Wtfi20
SUBSCRIBE | https://autode.sk/30njGGX
GET STARTED | https://autode.sk/30k2DWh
TRY AN EXTENSION | https://autode.sk/3EOUidW

CONNECT with Fusion on social media:

INSTAGRAM | https://autode.sk/2Enzh8P
TWITTER | https://autode.sk/45cIYTK
LINKEDIN | https://autode.sk/3UyieZS
FACEBOOK | https://autode.sk/3WaaZLb
Build Fusion Add-Ins Without Writing Any CodeCreate Your Own Custom Button With Autodesk AssistantHow to Turn A 3D Scan Into a Working Assembly in FusionLearn to Run Thermal Stress Simulations in Autodesk FusionCan You Build Awesome Products With Injection Molding? | Shop Talk Factory FloorAutomatically Chamfer Turning Parts in Fusion5 Right-Click Tricks You Need to Know for Sketch Dimensions in Autodesk FusionHow To Center a Part With Constrain Components | Unstuck my Fusion DesignTurning the Everyday into the Extraordinary: The Art of Business and Design with Hunter Craighill3D Printing Meets Woodworking: Inside The Swedish Maker’s Barn Workshop with Shop TalkEngineering the Impossible: Robin Shute’s Pikes Peak Race Car | Autodesk FusionFrom 3D Scan to Moving Suspension in Autodesk Fusion
Autodesk Fusion |

Build Fusion Add-Ins Without Writing Any Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER