Undoing .select() method of VEBody objects
Posted: Mon Oct 09, 2023 10:11 am
Hi everyone,
I try to develop a script that makes geometry changes at different groups of rooms and execute the simulation following each change. Once I select a group with .select() method of VEBody objects following a certain criterion, the script makes geometry modification (i.e. set_percent_wall_glazing()) and runs the simulation. Then, at the same runtime, I want to select another group of rooms while deselecting previously selected ones. This can be done manually by clicking an empty point in geometrical model window, but I couldn't figure out a way to make same with a command provided by API. In current case, when I select the second group, both previous and second groups of rooms are subject to change instead of having changes solely on the second group.
Is there a convenient way to select only the targeted group by deselecting the previous group? Or any walk-aroud?
Thanks in advance
Cem Keskin
I try to develop a script that makes geometry changes at different groups of rooms and execute the simulation following each change. Once I select a group with .select() method of VEBody objects following a certain criterion, the script makes geometry modification (i.e. set_percent_wall_glazing()) and runs the simulation. Then, at the same runtime, I want to select another group of rooms while deselecting previously selected ones. This can be done manually by clicking an empty point in geometrical model window, but I couldn't figure out a way to make same with a command provided by API. In current case, when I select the second group, both previous and second groups of rooms are subject to change instead of having changes solely on the second group.
Is there a convenient way to select only the targeted group by deselecting the previous group? Or any walk-aroud?
Thanks in advance
Cem Keskin