Using Geometry Brushes in C++

Hi,

I’d like to create a static mesh wall with several cubes subtracted from it. This is easy in the editor, just create an additive box brush and several subtractive box brushes, then convert it to a static mesh. However, I’d like to be able to do this in C++, and the documentation on ABrush and surrounding classes have not been super useful. How would I got about creating and placing this wall in C++?

Thanks!

Bump. I’d also like to know! Did you manage to figure that out? :slight_smile:

why do you need to do this? I think it is useless. it is like painting some foliage on a landscape in c++.
.

Well, maybe I misunderstood something. What I’m interested in is creating BSP objects on the map, so the user could click on vertices. Aren’t BSP called Geometry now? Boolean operations on meshes also seems like feature of BSP afaik.