Problems with Components created using 'Make Unique'
-
Hi All,
I've been working on a PC using SketchUp 2020. I'm having problems with Components created by using the Make Unique command for example:
I right click on a Component named BOX and 'Make Unique' I rename it BOXnew and make amendments to it. I Save As to an external folder (at this point the file name in the Save-as window is BOX so I change it to BOXnew). When I import this into another SketchUp file it comes in with name BOX not BOXnew! On checking I opened the BOXnew.skp file and open its Model Info window; to find it's named here as BOX. As a work-around I have to delete the name in the Model Info windows and save; it then imports with the correct name.I've also found if I copy a .skp file and rename/amend it, then import this into another Model it retains its original name. Again I have to reopen it and delete the 'original' name from it's Model Info.
I have noticed this is happens to components that are / or have been Loaded from external files. I've also found when you use the 'Make Unique' command on these components the 'Loaded from' address (found in the Components Window/Edit tab) shows the original file/address. Surely this name/address should have been removed and replaced with 'Internal Component'.
-
It's a known result of doing that...
I wrote a short script to export using the 'real' [current] name of each definition...
https://forums.sketchup.com/t/component-name-mismatching-during-component-save/136023/25I've attached a copy of it here too...
Put the RB file into your Plugins folder and restart SketchUp…
It is not an extension and it's not signed…Usage: There are 2 tools…
a. Select one instance of a definition in your model to see the entry, then get…
Context-menu > Save_As… Definition 'Xxxx.skp' [where Xxxx is the name of the selected instance’s definition]b. File menu || Context-menu > Save All Definitions into a Collection…
There is a file-counter displayed in the directory-selector header and the status-bar.The directory-selector always defaults to the user's Components folder, as set in Preferences…
-
Thanks TIG, I’ll try your RB. I guess this has been reported to Trimble.
Advertisement