That worked wonderfully too!
Thanks cotty!
That worked wonderfully too!
Thanks cotty!
Hmmm... I have a component called "2DTREE-CEDAR01". When I input your line of code with that replacing 'MyTree':
n='2DTREE-CEDAR01';m=Sketchup.active_model;ps=m.selection.grep(Sketchup::ConstructionPoint);d=
I get the following error:
Error: #<SyntaxError: <main>: syntax error, unexpected end-of-input
...Sketchup::ConstructionPoint);d=
... ^>
SketchUp:1:in `eval'
Thanks for the response TIG. It sounds like a great solution. Where would I paste that line of code? Is this an option in SketchUp?
I am able to import a GPX file into Adobe Illustrator CS through a GIS plugin. It's showing tree locations on a specific site. When I export a CAD file of points, even if I change them to symbols in Illustrator, they are imported into SketchUp as Guide Points.
Is there a way to place a component using a guide point as reference? Similar to the "replace selected" in the components window. Or maybe there's a plugin that would let you "place component at guidepoint."
Thanks,
Fraser
Note I've tried this using QGIS to export as a DXF too with the same result.
I'm using SU on an iMac with 32GB RAM, OSX10 and SketchUp Pro 2017.
I have two separate groups (2 sets of tables grouped chairs) within a sketchup model. I want to be able to select the corner of one table and line it up with the corner of the other table. When I go to select the group (either table or chair) the corner snap (to select it) doesn't show up. If I double click to edit the group I can select any group or component corner. I've tried Rebooting as well as exploding the group and regrouping it, but nothing seems to work.
Does anyone have an idea why these two groups aren't selectable but the other groups and components in my model are? What can I do to fix it... I'd rather not redraw it...
Thanks,
Fraser
Hello,
I'm looking for a way to create a "Smart Tree" or 2.5d tree in sketchup. I'm not quite sure how to start. I'd like to either create it from scratch or modify something from the 3D warehouse so that I can use local species. Can anyone point me to a good tutorial on how to do that?
Performance-wise I'm looking for:
Thanks,
Fraser
Hi Again,
Is there any way to get this plugin working for me? As you can see I've got a lot of trees, so it'd be great to avoid doing this manually again in the future.
Thanks for all your help so far.
Below is ThomThom's assessment of the issue.
Fraser
@thomthom said:
@didier bur said:
Does this not work on a Mac the same way than on a PC ??
As you see in his error report, the plugin is trying to look for the file at:
/Users/Fraser/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/CompoSpray
while the plugin itself is located under:
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/compoSprayToolbar.rb:14
OSX has a system Library folder and a User Library folder that looks very similar, and some users end up adding plugins to User Library. And I think Podium installs there.
And then you can get issues withSketchup.find_support_file
The best way to determine the base path of your supporting folders are:
File.dirname(__FILE__)
In your case it'd be:
@path_cs = File.dirname(__FILE__) + "/CompoSpray/"
However, that won't work in .rbs files.
In Vertex Tools I made the uncrypted loader, which was a regular .rb file, determine the paths and assign it to constants which the .rbs files could use.I've never had any path issues that way, and the plugins can be installed anywhere on the system. (if the user prefers to install in a custom location.)
So is there a way I can update my plugin to get it to work or do I have to wait for an update? Can I change some code? I looked for the code attached to Didier's post but couldn't find it in any of the files I had. Again, I'm not super familiar with code so it may be somewhere else.
Any help would be appreciated. Thanks for the discussion and attempts to resolve my issue. Much appreciated.
Fraser
The only files under the user library is a podium script. Can I edit one of the files in the folder (CSS) to make sure it looks in the HD library folder rather than the user library folder? I'm not sure how a ruby script works, but this would be a great one to get up and running.
Thanks for the help so far,
F
The compospray icon shows up, as does the toolbar, but when I click it nothing happens. Here's my error message from the ruby console:
Error: #<Errno::ENOENT: No such file or directory - /Users/Fraser/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/CompoSpray/csSettings.html>
(eval):269:in initialize' (eval):269:in
new'
(eval):269:in write_cs_dialog' (eval):107:in
compoSpray_main'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/compoSprayToolbar.rb:14
(eval):269:in `call'
(eval):269
So it looks like it's missing an html file?
Using OS 10.6, SU 8
Thanks,
Hello All,
I've got detailed topo lines (0.5m) for a site, but want to add some more context by merging the detailed model with terrain downloaded from Google Earth. Does anyone know if this can be done? If so, how?
I just spent the last 3 hrs getting back to where I was from a previous autosave file, and now the new file is doing the exact same thing... I can't even open the file any more.
Help,
FB
I'm having the same problem only with su8. I open the file, don't do anything but try to save and it crashes. I open the backup file and it freezes the entire computer. 1473 edges, and 382 faces and 83 MBs? Not sure why. I've tried to copy and paste the 2 layers (as groups) I have into a new file and it doesn't recognize me copying them. I've also noticed that when I open the file, the 2 layers I made aren't there. Only "Layer 0" is there. I'm not sure if this was ever resolved, but it would be good to get some help with it... very frustrating.
I'm running Mac OS 10.6, 4 GB RAM, and 3.18 Ghz processor... I've also opened other, larger files and haven't had an issue, so it's definitely specific to this file...
I tried to upload the file earlier but it was too large. Thanks for any help,
FB