@medeek said:
I have to intersecting cubes in my model. I then run this ruby code:
group1 = entities[0]
> group2 = entities[1]
> trans1 = group1.transformation
> trans2 = group2.transformation
> group1.intersect_with(false, trans2, group1, trans1, false, group2)
Which then gives the following error:
> Error; #<NoMethodError; undefined method `intersect_with' for #<Sketchup;;Group;0x0000000dd92350>>
> <main>;in `<main>'
> SketchUp;1;in `eval'
.intersect_with needs the group.entities
group1.entities.intersect_with(false, trans1, group1.entities, trans1, false, group2)