Multiple objects to groups
-
I am working on a city model that has hundreds of buildings that currently consist of ungrouped lines and faces. I was looking for a way to be able to select all these entities and convert them to individual groups or components so I can use a plugin to drop them all to a topo surface. I was able to find someone trying to accomplish this exact task here http://sketchucation.com/forums/viewtopic.php?f=79%26amp;t=42705 but the script provided in that thread is not working for me.
ThanksOSX 10.9
SU 2013 -
If there is a moderator around, should this topic be moved to another area where I might get an answer to this?
-
This would be an appropriate forum. It would seem no one has an answer for you, though.
You say the plugin at the other thread didn't work for you but that's not very specific. What doesn't work?
-
This is about a request for a script to accomplish a custom task. Please have a moderator move this to the Developers Forum.
-
@dave r said:
This would be an appropriate forum. It would seem no one has an answer for you, though.
You say the plugin at the other thread didn't work for you but that's not very specific. What doesn't work?
It returns a load error when starting sketchup. I have never done custom scripts before but the instructions in that old thread seem pretty straight forward. I was wondering since that thread is so old that the script is not written correctly for 2013 or there is an error in it. Was just hoping that someone with some knowhow could take a look at it for me.
-
I wrote that code 'snippet' in the other thread over 2 years ago...
http://sketchucation.com/forums/viewtopic.php?p=379876#p379876
What is the error exactly ?
Unless you tell us that, then we can't help fix it...
Is it as SketchUp loads, or as you try to run the code etc ?Do you have FULL read/write Security permissions set for the Plugins folder ?
Did you use a plain-text editor like Notepad.exe [Notepad++ recommended] ?
If you used a word-processor it will have broken the coding big-time !Did you copy+paste ALL of the code into the .rb file and restart SketchUp ?
Please try again...
Perhaps copy an existing rb file within Plugins and rename it, then replace all of its contents and save it - that way the 'encoding' should be 'UTF-8 without BOM' - the correct text format for rb scripts...It works just fine for me...
And it does what you want too... -
That was the first script I wrote and published, for this EXACT purpose. You can find it here:
-
@chris fullmer said:
That was the first script I wrote and published, for this EXACT purpose. You can find it here:
Thanks so much, works perfectly
Advertisement