Remove broken references from component favourites window

Hi,

I have a number of broken references in my component window favourites list. I have attempted to remove these by the methods provided on past posts(regedit, creating blank folders to re link) but none have worked.

Has anybody successfully managed to remove broken references in SU 2018? If so, is anyone able to offer advice?

Ashley.

You need to right click the SU installer file and run as administrator, select ā€œrepairā€ when prompted. That did the trick for me.

Hi Ian, the file within program files folder?

No, the SketchUp 2018 installer, that you get from the SketchUp website. You can usually find it in your ā€œdownloadsā€ folder. If it’s not there go to the website and get it again.

You need to repair the SketchUp installation.

1 Like

Thanks, Ill get to it now.

Hmm that hasn’t worked either. They are still showing in the component window but are missing in REGEDIT.

Did you go back to REGEDIT and locate the missing favourites that way?

Repairing the SketchUp installation should have fixed registry permissions issues that likely caused the problem. But it most likely didn’t test registry entries for issues such as references to deleted files. Have you tried opening the collection in SketchUp’s components window and deleting again after the installation repair?

Yes I have tried opening again in sketchup but nothing happens.

The folder within REGEDIT doesn’t seem to be present again either. See below

HKEY_CURRENT_USER\SOFTWARE\SketchUp\SketchUp 2018\UserLibrariesComponentBrowser1

No I didn’t do anything there.

1 Like

It has been sorted - Located and fixed via the Preferences JSON File.

Thanks for input all

Hello all.
I’m having this problem. I have custom components folders saved as favorites. I have moved my custom components folders. The links to the old folder location obviously no longer work. I’ve added all new favorites links. But I cannot delete the old ones.
I saw the ā€œsolutionā€ post above…edit the JSON folder in Preferences. I don’t see this anywhere in Preferences. Any advice? I need to clean up the list of favorites as it’s getting very confusing.
thanks.


-Close SketchUp
-Navigate to the folder above ^^
-Download Notepad ++ ( This is what I use to perform the task)
-Open file using ++

-Under ā€œUserLibrariesComponentBrowser1ā€ delete all lines that are obsolete.
-Save file
-Re open SketchUp

-Job done (hopefully)

Ash.

3 Likes

Check response for solution if you haven’t already completed the task

Hi team.
I am also unable to delete a folder from the favorites menu, It would seem I have removed its original location using my windows browser…
I have tried creating a new folder with the same name using the browser, but no luck.
It would seem I have to edit the registry. I had a look in there but could not find the JSON file. I am not at all computer savvy when it comes to this part of my PC.
Is someone able to give me detailed instruction on how to fix this problem.
Im using SU pro 2020 on a windows 10 laptop.

Thanks

Normally, you can do this in SketchUp:
In the component panel, click on the folder that you want to remove from favorites, then, rightclick on the little blue details button on the right and choose ā€˜Remove from favorites’

The favorites are not in the registry, but reside in the aforementioned file ā€˜SharedPreferences.json’ which is located in the hidden folder %AppData%\Roaming\SketchUp\SketchUp 2020\SketchUp

1 Like

Thanks Mike.
I deleted it through the Json file.
Thanks for your help

I’m not sure what I’m doing. I have a file path that I can’t delete from my favourites.

I’m trying to delete it in my preferences text file but I can’t seem to figure out which one to delete. I have a saved copy to make sure if I change something that I don’t revert a bunch of things or delete things. For example I’ve tried deleting a bunch of the text that I think is the bad component path that I can’t remove from my favourites in Sketchup and when I save that temporary preference file and reload sketchup, my keyboard shortcuts are removed from a handful of tools and the bad component file path is still there… I’m not sure what to delete to remove the bad component favourited file path, I’m also not sure how much of what to delete, do I delete the whole line, or what?..

I’ve attached photos to show the name of the bad file path and than I’ve attached a view of my preferences and am wondering what to remove in order to remove the bad file path…

image

Hi Ash,

Thanks for this information. I just did this and it worked fine by removing the old link from the favorites, as (like most people I imagine) couldn’t remember where I had created the folder location.

I was unsure what you meant by ā€œdelete all lines that are obsoleteā€. I’m a bit nervous to delete things like this in case it causes errors, however, I simply highlighted and then deleted an entire row of script for the location that I assumed to be incorrect and it worked.

Cheers

Wolf from NZ

Excellent. i got it done. Very Very Thanks.

If you’re worried about things like that, what you can do is just make a copy backup of your .json preferences file, place it somewhere else for the time being, make adjustments as needed to the non backup file you have there and if anything goes wrong, just reload by replacing that .json file with the backup file you saved. Easy. That’s what I did in order to figure out what I had asked above (which nobody ended up replying to LOL).