Generate Geometry Brush in code

I want to generate geometry brush in code.

  1. Is it possible to generate brush in script or blueprint?
  2. If possible, can you introduce any tutorial or answer link?
  3. If impossible, how can I make trap(floor vanish in runtime) without geometry brush?