Hi Peter:
I give everyone who posted above top scores for each assertion being correct.
It is true that one can implement Flattens in FS9 compatible LWM and/or SCASM / ASM code.
BGLC_9 IIRC was almost a 'cousin' of SCASM, but I thought I saw a SCASM example once ...somewhere.
https://www.fsdeveloper.com/forum/threads/bglc_9-exclude.437045/
IIRC, there is a (very) old SCASM / ASM 'trick' to flatten terrain via an exclusion Rectangle, but I forgot where I saw that.
Hmmm... maybe it was instead the SCASM ability to exclude a Flatten located within another Area layer of Scenery.Cfg via:
But I suppose ADE9 writes its Exclusion Rectangles via BGLComp code rather than via SCASM / ASM ?
One can also use Flatten statements in Scenery.Cfg for an entire Area, and optionally to also Exclude certain content.
However, it is best IMHO, to do so with discrete and separate Exclude BGLs loaded within \Scenery sub-folders of 'Active' Areas.
In ADE, at startup, Jon kindly provided us with the (enforced) option to select the FS version we are working with in that session.
If we choose FS9, the Polygon Icon does indeed utilize a FS9 version of what we otherwise see in FSX when we make a Flatten.
A difference in processing internally for FS9 mode is ADE outputs a SCASM / ASM coded Flatten BGL which works perfectly.
Many thanks to Jon for his hard work providing us with ADE for so many years (...and
very good to see Jon posting again.)
Note to Peter:
ADE9 performs some- but not all- of the tasks that we depend on SBuilder to do; its good to have many tools to work with.
SBuilder for FS9 (aka 'SBuilder205' etc.) is alive & well, working with full capability as coded by Luis on my Win-10 Pro 64-bit.
If at any point you wish to troubleshoot that installation, I'd be glad to help get it running with you sometime.
GaryGB