Hi. We don't support all of what you want yet unfortunately, but I'll try to answer what's possible today. It looks like you're using a script generator to generate this, so I'll answer with that context.
> as well as what other packages we could use to help us (beyond geometry extrude)
I'm not sure if you're asking what packages you can technically use, or what packages we think could be useful for you. There's no limitation on which packages you can use, so you can use any JavaScript package. But I don't think I have any suggestions for which packages could be useful to you.
> 1. Define a polygon region on a specific region in our site
You managed to do this, if I understood you correctly?
> 2. Generate multiple buildings in the region without the use of the Data Provider API
For a script generator, it's not currently possible to create multiple elements from one generator, so you'd have to merge all of them into a single mesh.
> 3. Buildings should be editable by the user afterwards
We don't support this yet unfortunately. The elements created by a generator can only be edited by that generator (except for moving the element itself, which is still possible).
> 4. Generate UI to suggest multiple proposals (similar to the explore tool)
It would be interesting to know what kind of UI you want to create. For the generators, you're currently restricted to the input schema described here, which might not support what you want to do. We do have a concept of custom embedded views, but they are not currently tied to the generators.
> The mesh right now is generated however it is classified under generic, "auotmation".
I see our documentation is lacking here, but the way to classify elements is to set a category in properties (as very briefly mentioned here). So in the return statement in your screenshot, add e.g. `properties: { category: "building" }` alongside `mesh`. We don't have documentation of which categories you can use yet either, but these are the ones that currently exist:
constraints, vegetation, site_limit, zone, building, tree_area, tree_line, road, rails, property_boundary, generic25D, generic2D, generic2DLine
> Now we would like to know if its possible to define other objects other than polygon, polylines like buildings.
I'm not sure if you're asking for the input to or the output from the generator here. To you want to select existing buildings as parameters to your generator, or do you want to create buildings from your generator?
Trygve AabergeSoftware Engineer