Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get if a user is using a paid version of Fusion360

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
edidos
584 Views, 7 Replies

Get if a user is using a paid version of Fusion360

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

7 REPLIES 7
Message 2 of 8
BrianEkins
in reply to: edidos

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
Message 3 of 8
edidos
in reply to: BrianEkins

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.

Message 4 of 8
kandennti
in reply to: edidos

Hi @edidos .

 

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
edidos
in reply to: kandennti

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.

 

Message 6 of 8
JeromeBriot
in reply to: edidos


@edidos 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
in reply to: edidos

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
in reply to: kandennti

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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report