Fatal error after checking Application.userId
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am actually facing a serious problem of Fusion 360. Let me describe the process in detail:
1. Weeks ago I tried to get the user information by calling
app: adsk.core.Application = adsk.core.Application.get()
app.userId
which according to documentation, should return the internal name of the Autodesk account currently logged in.
2. Right after I execute this line of code (in the text command window of Fusion 360), Fusion 360 froze indefinitely and I had to kill the application.
3. I started to face a freeze-at-launch problem afterwards. I have sought for help in the Support forum but have not been able to solved it completely yet. The thread about this problem is here: Re: Fusion 360 freezes at launch - Autodesk Community - Fusion 360 in case anyone is interested.
Considering the rather serious consequences (Fusion 360 launching problem, unsolved till now), I do not want to test this on another computer to verify the source of error. In addition, I do not encourage you to test this code unless you are well aware of the possible consequences.
The reason I decided to post here (API forum) is to ask if anyone has experienced the same before, or tried this code (Application.userId) without problem. I am guessing that there are some problems within the API, since every time I called this line of code to get the userId property, Fusion 360 would freeze.
Any comments/suggestions/feedbacks are welcomed! Thank you!