Search found 7 matches

by izzylys
Wed Jun 19, 2019 3:37 pm
Forum: VE Python API
Topic: Overwriting constructions in database
Replies: 15
Views: 6884

Re: Overwriting constructions in database


2. Should be straightforwardly construction.get_g_values(). What version of the VE are you using? This particular method is not available in older versions of the API.


I'm running 2017 and running get_g_values() on a construction object returns an attribute error. Does this function only work ...
by izzylys
Thu Jun 06, 2019 8:13 am
Forum: VE Python API
Topic: Problems Assigning Rooms to Groups
Replies: 3
Views: 2649

Re: Problems Assigning Rooms to Groups

Haha that's an hour of my life I'll never get back :lol:

Thanks a lot Rhind! Looks like it's all working fine now. Are there any plans to update the API docs in the near future?
by izzylys
Tue Jun 04, 2019 9:57 am
Forum: VE Python API
Topic: Problems Assigning Rooms to Groups
Replies: 3
Views: 2649

Problems Assigning Rooms to Groups

Hello,

I'm having some trouble using the RoomGroups functionality and was wondering if someone could point out what I'm doing wrong. I'm trying to assign a list of rooms to a group, but keep getting a ValueError: No group exists with the specified index even though I'm getting the index by calling ...
by izzylys
Thu May 30, 2019 7:09 am
Forum: VE Python API
Topic: Accessing geometry information via the API
Replies: 2
Views: 2423

Re: Accessing geometry information via the API

Hi tluth,

As far as I can tell, this isn't possible. I wanted this information as well and ended up having to export to gbXML and parse that using ElementTree: https://docs.python.org/3.1/library/xml ... ttree.html

If anything has changed about this problem, I would love to know!
by izzylys
Tue May 21, 2019 2:58 pm
Forum: VE Python API
Topic: Overwriting constructions in database
Replies: 15
Views: 6884

Re: Overwriting constructions in database

Hello,

This thread was very helpful! I have a few related questions:

1. When setting 'g_value' using 'set_properties()', what exactly is this setting? I have been trying to use it and I can see it setting the 'g_value' by using 'get_properties()', but the g-value in the GUI does not change. What ...
by izzylys
Tue May 21, 2019 9:42 am
Forum: VE Python API
Topic: Setting RoomData (Air Exchanges and Internal Gains)
Replies: 7
Views: 3442

Re: Setting RoomData (Air Exchanges and Internal Gains)

This seems like a real shame; especially since setting these in the GUI is basically the same process as setting the room conditions (using the table view). Do you happen to know if there is any planned development for integrating this feature in the API?
by izzylys
Wed May 08, 2019 3:59 pm
Forum: VE Python API
Topic: Setting RoomData (Air Exchanges and Internal Gains)
Replies: 7
Views: 3442

Setting RoomData (Air Exchanges and Internal Gains)

Hello,

I have been trying to set RoomData using VEScripts and am a bit stuck.

I have collected a list of all the bodies in the model and have set room conditions using `set_room_conditions()`.


def set_rm_data(body, cooling, heating):
'''set cooling and heating setpoint'''
rm_data = body.get ...