Thanks! I dont have any plug ins for sketchup but found this on a google search. It worked for me!
Posts made by Arkman
-
RE: SU gone wild!!!
-
RE: SU gone wild!!!
Did you figure this problem out? I have the same issue and its driving me nuts.
-
RE: Beginner Ruby Problmes
That would probably be extremely helpful. I know a lot of people that could use something like this.
Thanks again!!
Josh
-
RE: Beginner Ruby Problmes
Incredible! Thank you so much. You just made my life a lot easier!
-
RE: Beginner Ruby Problmes
Ok, sorry that was unclear.
I can add a list to the inputbox but I cant get that list to show the layers in the model. I can make a list with just random terms that I picked. Like below.
list = ["item1|item2"]
So I guess my question is "How do I get a list in the inputbox that shows all the layers in the model?" I found that help file you showed me but I dont know how to use that. I tried:
list = [Sketchup.active_model.layers]
That didn't work. I'm not really sure how to get the list to use that Skethcup.active_model.layers
Once the list displays the layers in the model, how do I make the object go onto the layer selected in the inputbox?
Thanks for all your help. Sorry for all the questions.
-
RE: Beginner Ruby Problmes
Awesome! I have one more request. How could I get a list of layers in the model to define what layer it lives in. I can get a list but I can't get it to show the layers in the model or place that newly created group on the layer.
Thanks!!!!
-
Beginner Ruby Problmes
I'm trying to create a ruby that when I create a group it just gives me a prompt to name the group. Just like it does for a component. I'm really struggling.
Any help would be greatly appreciated.
Thanks!