My first add-in: Visual Styles

My first add-in: Visual Styles

pawelzwronek
Advocate Advocate
11,433 Views
99 Replies
Message 1 of 100

My first add-in: Visual Styles

pawelzwronek
Advocate
Advocate

Hello everybody.

Today i want to share with you my first addin I have created couple days ago. Because my previous idea of "Customized bottom navigation bar" gained whole 10 kudos i decided to write some kind of substitute of this idea. Fell free to download and test it because it's free 🙂 Below screenshot and link to appstore.

MAC and PC

 

What it does?

Simply a couple of buttons to quickly change visual style of active viewport.

 

Want to contribute?

Visit github.com/pawelzwronek/fusion360-VisualStyles

 

P.S. If you like it (or not) and use it please leave a comment in App Store to give me motivation to make it better or to write next one.

 

 visualstyle screen.png

Accepted solutions (1)
11,434 Views
99 Replies
Replies (99)
Message 61 of 100

pawelzwronek
Advocate
Advocate

Thx Luca for helping! Lately I'm short of time 😞

As for the problem I can see the version 1.2.1 is not working as Luca attached version 1.2 and it worked. Can you Luca check is that true on your computer please. Unfortunately I have access to Win64 only.

Before testing can you enable logging please?

To do this edit VisualStyles.bundle\Contents\VisualStyles.py and in line 67 change logToFile =False to:

67: logToFile =True

After restart Fusion you'll find file named like visualstyles_efds8x35.log in your local temporary folder. For me it's C:\Users\P\AppData\Local\Temp

To find it on MAC check out this link https://apple.stackexchange.com/questions/94964/where-is-the-temp-folder

0 Likes
Message 62 of 100

luca.giorcelli
Enthusiast
Enthusiast

Hi pawelzwronek,

 

I'm not sure I've understood. Do you want that I download and test if the latest version of the plugin (1.2) works on my mac?

0 Likes
Message 63 of 100

pawelzwronek
Advocate
Advocate

Latest version is 1.2.1 and this version I ask you to test please 🙂

0 Likes
Message 64 of 100

luca.giorcelli
Enthusiast
Enthusiast

I cannot find logToFile settings inside

 

~/Library/Application Support/Autodesk/ApplicationPlugins/VisualStyles.bundle/Contents/VisualStyles.py

 

I attach the file (I had to zip it in order to upload it).

0 Likes
Message 65 of 100

Anonymous
Not applicable

Does not work on OSX  , a quick fix that worked for me  :
in VisualStyles.py , Line 99 , change 

configPath = os.path.join(os.environ['APPDATA'], 'Autodesk\\ApplicationPlugins\\')

to

configPath = os.path.join(os.environ['HOME'], 'Library/Application Support/Autodesk/ApplicationPlugins/')

 

once working ... great add-in 🙂 

 

Cheers 

Miky

 

 

Message 66 of 100

pawelzwronek
Advocate
Advocate

Great news michael, thx for this solution! I'll include this in next version. I'm the windows person and it's difficult for me to debug on OSX. Btw. do you think I could run OSX on any virtual machine, VirtualBox or sth. ?

Message 67 of 100

Anonymous
Not applicable

The closest thing would be 
https://www.pcsteps.com/2157-mac-os-x-virtual-machine-vmware-player/
I havent tried myself but have seen it work on someone's computer 🙂

 

Michael

 

0 Likes
Message 68 of 100

sarf2k4
Enthusiast
Enthusiast

Hi,

 

I'm not sure if I should post it here, but every time I launched f360 with this plugin enabled, it always asked me to create online or local preference. I often clicked yes and even created _Preferences under the project repositories there, but still asks me the same thing.

Message 69 of 100

pawelzwronek
Advocate
Advocate

The most helpful will be a log file. Please create it with steps described below and send it to me as private message.

 

1. Switch to 'local' preferences by setting 'Local preferences' checkbox.

2. Delete(archive) project called _Preferences if any exists.

3. Enable logging by clicking 6 times in a row 'Wireframe' checkbox.

4. Switch to 'cloud' preferences: uncheck 'local preferences' checkobx.

5. Click 'Yes' on dialog box.

6. Post created log as attachment.

 

Also please tell me if you have any unusual system configuration or installation of F360.

0 Likes
Message 70 of 100

Ryan_Fab
Advocate
Advocate

Help me then! I feel stupid too

0 Likes
Message 71 of 100

goofywck
Explorer
Explorer

Just wanted to say what helped me:

 

Non of the above, but kind of mix of them.

 

I could not install it or even when it did and it showed up in add ins it didn't work.

i couldn't add it to the list manually or anything like that.  /actually when You try to add an addin what kind of file is it looking for? .py or .bundle?/

 

Finally i created new addin called NewAddin1 or something found it in autodesk fusion / API / addins folder and replaced it with visual styles files with changed names, clicked run in fusion and it went in to spinning rainbow for a short while... it's perfect now. created _preferences project and all.

 

Thats on my mac by the way, will try that on windows tommorow becouse it didn't want to work there too for me.

 

 

Message 72 of 100

motopreserve
Enthusiast
Enthusiast

Just wanted to add that I was having the same issues with install on a Mac (running Sierra 10.12.6).  The file after regular download and also unpacking was 827k.  Tried everything and finally downloaded Luca's zip.  Worked immediately.  Luca's is 826k. 

 

Maybe the developer should add Luca's file to the download instead of the one provided on the proper download page 🙂

 

Thanks!

0 Likes
Message 73 of 100

goran_G
Contributor
Contributor

As of last Fusion 360 2.0.6440 the Add-In does not work on my Mac, MacOS 10.14.6. Tried to remove and reinstall but it doesn't even appear in the Fusion Scripts and Add-Ins panel, while it is correctly installed in the ApplicationPlugins folder with all the other working Add-Ins.

Missing it, badly..😫

0 Likes
Message 74 of 100

pawelzwronek
Advocate
Advocate
Just fixed it. We have to wait until autodesk will review new version and
publish it. Should be available in couple days.
Message 75 of 100

Anonymous
Not applicable

I have this happening on my Win 10 also since the last update, I also missing it.

 

Can we be notified when its back working?

 

Thanks!

Dan

0 Likes
Message 76 of 100

goran_G
Contributor
Contributor

It will be updated on the Fusion App store, so just go to this page and reload every few hours. I don't know who should notify us, and how that "who" would know whom to notify. It should be approved very soon anyway.

Message 77 of 100

bradley.selph
Explorer
Explorer

Lost my beloved Visual Styles with this last update. I went to the page in the link and downloaded it and it still is not working. 

0 Likes
Message 78 of 100

goran_G
Contributor
Contributor

Oh my. Just look at the date:

About date.jpg

 

Read again what I wrote, reload the page, not download. Just a little patience.

Just wait for the add-in to be validated by Autodesk.

0 Likes
Message 79 of 100

bradley.selph
Explorer
Explorer

Sorry my bad.

0 Likes
Message 80 of 100

pawelzwronek
Advocate
Advocate

Just fixed it. We have to wait until autodesk will review new version and publish it. Should be available in couple days.
You can also manually replace original file c:\Users\<YOUR USER NAME>\AppData\Roaming\Autodesk\ApplicationPlugins\VisualStyles.bundle\Contents\VisualStyles.py  with  attached file (unzip first)

Best regards.