Undoing .select() method of VEBody objects

The VE Python API allows users create simple programs using the Python Programming Language, to interact with a VE Model and/or Vista Results File
Post Reply
Cem
VE Newbie
VE Newbie
Posts: 1
Joined: Mon Oct 09, 2023 10:02 am

Undoing .select() method of VEBody objects

Post by Cem »

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
Post Reply