Search found 4 matches

by marentette
Thu Feb 23, 2023 6:00 pm
Forum: VE Python API
Topic: ApacheHVAC Component Variable Names
Replies: 7
Views: 4329

Re: ApacheHVAC Component Variable Names

Thanks, I do not see any HVAC component variables in the exported list.

with iesve.ResultsReader.open(file_name) as results_file_reader:
hvac = iesve.HVACNetwork
network = hvac.load_network(results_file_reader.hvac_file)
for component in network.components:

if isinstance(component, iesve ...
by marentette
Tue Feb 21, 2023 5:55 pm
Forum: VE Python API
Topic: ApacheHVAC Component Variable Names
Replies: 7
Views: 4329

Re: ApacheHVAC Component Variable Names

Any updates to this? I am also finding the 'get_hvac_component_results' method returns None for parameters that can be seen in VistaPro.

Is this due to the variable name being different from the VistaPro interface and the result file?
by marentette
Mon Jan 30, 2023 11:00 pm
Forum: VE Python API
Topic: Rename Spaces
Replies: 2
Views: 2930

Re: Rename Spaces

Thank you. I am trying to automate the process of removing unused room groups or simply renaming un used room groups to include a "_" before the name.

Is this possible?
by marentette
Thu Nov 10, 2022 11:01 pm
Forum: VE Python API
Topic: Rename Spaces
Replies: 2
Views: 2930

Rename Spaces

Is it possible to rename spaces?

groups = rg.get_room_groups(scheme_handle)

for group in groups:
if len(group['rooms']) != 0:
group['name'] = "_" + group['name']
print(groups) # This shows that the group dictionary was updated


The above code does not update the space name within the model.