Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

C++ Add In does not work

Anonymous

C++ Add In does not work

Anonymous
Not applicable

Hi, I'm trying to make run in my computer, with Windows 10 Pro operating system, an application that I downloaded from the fusion app store, specifically the application is called HerringBone Gear Generator and is written in C++, but as much as I try I don't know how to make it work.

Someone could help me?, thank you very much.

0 Likes
Reply
354 Views
1 Reply
Reply (1)

BrianEkins
Mentor
Mentor

The problem is that the add-in hasn't been updated for a couple of years.  The UI in Fusion 360 has changed and no button is being created for the command.  The add-in is being loaded and it's running, you just can't execute its command.  If this is important to you, you should contact the author.  They're the only ones that can update it.

 

Here's a workaround to run the command.

  1. Make sure the "TEXT COMMANDS" palette if visible.  If it's not, in the File drop-down in the upper left of the Fusion window, choose "View" at the bottom of the list and select "Show Text Commands".  The TEXT COMMANDS window should now display.
  2. Make sure the radio button at the lower-right of the TEXT COMMANDS window is set to "Py".
  3. Enter the following line in the bottom portion of the TEXT COMMANDS window and hit return.
    from adsk.core import *
  4. Enter this line and hit return.
    app = adsk.core.Application.get()
  5. Enter this line and hit return.
    app.userInterface.commandDefinitions.itemById('Herringbon-Gear').execute()
  6. You should now see the dialog for the herringbone gear appear.  To run the command again, you can use the up arrow to get the line above and press enter.
---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes