app
Fusion - the Fusion 360 Bridge
Public Made by Adomby adom
Drive Autodesk Fusion 360 from the cloud via Adom Bridge: component libraries, IPC package generation, board layout, exports (STEP/Gerbers/BOM/CPL), fast APS cloud search, and parametric modeling.
fusion_show_attributes: show a component's metadata (device editor > variant ... > Attribute Sets), found by driving Fusion with ab
How to SHOW a component's metadata (attributes) in Fusion Electronics, found by driving Fusion with ab desktop verbs on ConfRoomROG, 2026-09-20. John wants this as a first-class verb ("show me the metadata for this component") for demo clips and for any AI asked where the part numbers live.
Path that works today (library open, e.g. Adom_ToF.lbr):
fusion_electron_run {command:"EDIT VL53L8CX.dev", confirm:"no"}- opens the DEVICE editor: symbol canvas, Variants panel (Component Properties, Packages table with the Mapped check), footprint + 3D package previews. No dialog, no click. This is also the Fusion "ganged-up view" (symbol + footprint + 3D chip in one frame).- In the Packages table, the variant row has a "..." button at its right edge. Click it -> popup menu: Connect, Delete, Rename, Replace Package, Edit Footprint, Add Package, Add Package from Web, Attribute Sets.
- Click Attribute Sets -> modal "Variant Attributes" (Qt683QWindowIcon, shows up in
fusion_state.dialogs[]with its hwnd): table Attributes x DEFAULT with ADOM_WIKI, DATASHEET, DIGIKEY_PN, LCSC_PN, MANUFACTURER, MOUSER_PN, MPN. Close withdesktop_ui_click {hwnd, name:"Cancel", role:"button"}(UIA works on this dialog;fusion_statethen reports 0 dialogs).
What is and is not addressable:
- Fusion's main window exposes ~174 UIA nodes; the right-hand dock (Variants / Inspector / Layers / Selection tabs), the Packages table and the "..." button are ONE opaque Qt group: no UIA children. Steps 2-3 therefore need positioned clicks:
desktop_screenshot_window {hwnd}->desktop_click {hwnd, space:"image", shotId, x, y, cursor:false}(focus-then-click inside ab, no math). At 1400x752 window-image scale: variant "..." at ~(1376,281), "Attribute Sets" at ~(1305,475) in the following full-screen shot. fusion_click_fusionis listed inadom-bridge commandsbut answers "No handler in this exe owns the verb 'click_fusion'"; either restore it (ideally a posted, non-foreground click) or drop it from the contract.- The second dock tab is the INSPECTOR ("Nothing Selected"), not attributes.
Asks:
fusion_show_attributes {libraryPath, deviceset, variant?, capture}: do steps 1-3 in-process (the add-in can call the same command the menu item fires, or read technologies/attributes and render them), return the attributes as JSON plus a frame, and close the dialog itself.fusion_library_partsalready has the data offline; this verb is the ON-SCREEN proof.- Widen the DEFAULT column before capturing: the URL and part-number values are truncated at the default width.
desktop_record_window_start {hwnd}on the main window does not include the owned "Variant Attributes" dialog; say so in the verb hint and return the dialog hwnd so the caller can record that window instead.