Filtering out void spaces when extracting room data using VEScript
-
balajikumar12
- VE Newbie

- Posts: 1
- Joined: Thu Sep 26, 2024 12:45 pm
Filtering out void spaces when extracting room data using VEScript
Hi I want to use VEScript to extract room data and results to an excel sheet but the void spaces are also part of the results. Is there a condition or check I can use to filter out the void spaces from the output?
Re: Filtering out void spaces when extracting room data using VEScript
If void spaces are included as Void body subtype, you can use if statement to exclude such spaces from analysis -
Example:
if body.type != iesve.VEBody_type.room:
continue
If void spaces are Room body subtype, you can either exlude them using their names like voids/risers etc. Another way is to check if they have no internal gains and exclude them.
Example:
if body.type != iesve.VEBody_type.room:
continue
If void spaces are Room body subtype, you can either exlude them using their names like voids/risers etc. Another way is to check if they have no internal gains and exclude them.