Get if a user is using a paid version of Fusion360

Get if a user is using a paid version of Fusion360

Anonymous
Not applicable
1,605 Views
7 Replies
Message 1 of 8

Get if a user is using a paid version of Fusion360

Anonymous
Not applicable

I would like to know whether the user has a paid version of Fusion360. Is there a simple, reliable way to do so?

0 Likes
Accepted solutions (3)
1,606 Views
7 Replies
Replies (7)
Message 2 of 8

BrianEkins
Mentor
Mentor

I don't know of any way to determine this but I'm curious why you would care.  As an add-in writer, you would typically want to know if they've paid for your add-in or not and paid or free Fusion 360 users can purchase add-ins.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes
Message 3 of 8

Anonymous
Not applicable

I am planning to release an Add-In that could have some commercial value. However, I also want to allow hobbyists to use it.  Therefore I will be releasing a fully-featured free version under a non-commercial license.  While I will have to rely on people's honesty to buy the commercial version I do think a reminder pop-up for those who use Fusion commercially and are therefore more likely to also use my Add-In commercially would help. For example, if someone installed the free version to try it out or If they did not read the description/license.

0 Likes
Message 4 of 8

kandennti
Mentor
Mentor
Accepted solution

Hi @Anonymous .

 

I found this method.

import adsk.core, adsk.fusion, traceback

def run(context):
    ui = None
    try:
        app = adsk.core.Application.get()
        ui = app.userInterface

        txtCmd = 'Debug.EntitlementString'
        ui.messageBox(app.executeTextCommand(txtCmd))

    except:
        if ui:
            ui.messageBox('Failed:\n{}'.format(traceback.format_exc()))
Message 5 of 8

Anonymous
Not applicable

Thank you!

 

Do you happen to know what the names of the different versions (or at least of the paid version) are?

I do not have a paid version to test this.

 

0 Likes
Message 6 of 8

JeromeBriot
Mentor
Mentor
Accepted solution

@Anonymous wrote:

Do you happen to know what the names of the different versions (or at least of the paid version) are?


The command returns Commercial

Message 7 of 8

kandennti
Mentor
Mentor
Accepted solution

Call in a Japanese forum,

@adachitech7 

@ChaosComb 

@tomo1230 

Of three people cooperated.

Individual:Personal/Hobbyist
Startup:Startup/Enthusiast
Commercial/EE:Commercial
Educational Institution:Student

I think this is all the license.
If it seems wrong, please let me know.

Message 8 of 8

chris.midgley
Enthusiast
Enthusiast

I am also interested in providing an add-in which is free for those who get Fusion free, and paid for those who have a subscription.  I do wish there was an official API for this, as I'm not confident the results of executeTextCommand will remain consistent/reliable.

 

In my case, I have a startup license:

 

Startup License.jpg

 

and yet when I use the executeTextCommand I get Commercial:

 

EntitlementString is Commercial.jpg

 

And my About screen just says Fusion 360 / Subscription:

 

about.jpg

 

Anyone have any better approaches that we might consider?  Or perhaps a different text string to try?

0 Likes