i think i know where the problem is.. it only works in SketchUp 8. i just tried it
really sorry about that.
i was using 7 before that
Latest posts made by morci429
-
RE: Group.volume
-
RE: Group.volume
Didier's way is working with no proplems.
and this is the error message when i try to use group.volume
group.volume
Error: #<NoMethodError: (eval):41: undefined method `volume' for #Sketchup::Group:0x4d28ba0>
(eval):41 -
RE: Group.volume
that is certainly a better way thank you.
but still group.volume still not working.
did you use it before? what would be the way to use it?
thanks -
RE: Group.volume
Hi Didier, Great code thank u very much it did the job for me but its always worth to learn another way so Dan here's what i was trying to do with group.volume
pt = [] pt[0] = [0,0,0];pt[1] = [100,0,0];pt[2] = [100,100,0];pt[3] = [0,100,0] face = Sketchup.active_model.entities.add_face pt face.pushpull -100
then i had to find out how many entities i had in the model and which of them is faces so i can add them to the group using selection.clear and selection.add
and then i add all the faces to a group and i made a few copies of it.
and i tried to use the function but it never worked.
could you demonstrate a good practice of the function?
thanks you -
Group.volume
Guys did anyone try using group.volume function?? i've been trying to use it but it doesn't seem to work. any body came across the same thing before??
-
RE: How to select without using the mouse
You know when you select something and it highlights in blue or with dots, can i do that from the ruby console.
What it is i have managed to make a list of faces and identify them with names and display them on a dropdown menu in a webdialog. Now what i want is when the user chooses a face i want it to be highlighted in the model with dots just as if he would click on it.
Do i make any sense? -
How to select without using the mouse
Guys, I have a model with 3 faces (face1, face2, face3)
how do i select any of them from the ruby console -
RE: Progressbar 2.0
are CloseOpens 2.0 and the Progressbar 2.0 out yet??
-
Does Sketchup has a threading mechanism
Iโm trying to do lots of calculation that takes long time. So far itโs working fine with a progress bar although as soon as i click on another window sketchup gets frozen until the calculation is finished and i have no idea whether it will continue or i should restart the program...
Any ideas?