Search found 9 matches

by samg
Fri Jun 21, 2019 6:56 am
Forum: VE Python API
Topic: Assigning glazing construction
Replies: 13
Views: 5197

Re: Assigning glazing construction

Super, thanks!
by samg
Mon Jun 17, 2019 4:57 am
Forum: VE Python API
Topic: Assigning glazing construction
Replies: 13
Views: 5197

Re: Assigning glazing construction

I'm wondering why the example script provided in the api tries to assign a glazing construction when it's not possible. Will this functionality be added? It would be very useful! :D
by samg
Mon Jun 17, 2019 2:05 am
Forum: VE Python API
Topic: Overwriting constructions in database
Replies: 15
Views: 6898

Re: Overwriting constructions in database


2. I looked at at the sample of assign_to_bodies, and the code below didnt work well, it didnt successfully assign the construction.
for surface in surfaces:
# Only proceed to assign a construction if it's external glazing
if surface.type == iesve.VESurface_type.ext_glazing:
# Get the first ...
by samg
Thu Jun 13, 2019 11:15 pm
Forum: VE Python API
Topic: Assigning glazing construction
Replies: 13
Views: 5197

Re: Assigning glazing construction

So how do you assign a construction to it?
by samg
Thu Jun 13, 2019 11:12 pm
Forum: VE Python API
Topic: Ambiguity in surface opening areas and constructions
Replies: 6
Views: 3075

Re: Ambiguity in surface opening areas and constructions


You can get the first three from the VEGeometry API.


Oh cool! Last time I checked in with tech support it was only possible to get total window area of a surface, not area/height/width of each individual window on that surface.

In the user guide I see get_properties in VEGeometry but it would ...
by samg
Thu Jun 13, 2019 12:54 am
Forum: VE Python API
Topic: Ambiguity in surface opening areas and constructions
Replies: 6
Views: 3075

Re: Ambiguity in surface opening areas and constructions

cfrankowski wrote: Mon Apr 22, 2019 3:27 pm A get_constructions() method for VEGeometry would fix this, or some other way of explicitly linking constructions to surfaces/adjacencies/openings.
This would be really useful, as well as being able to retrieve geometry of each individual opening (area, height, width, base height).
by samg
Thu Jun 13, 2019 12:37 am
Forum: VE Python API
Topic: Calculating WWR by orientation
Replies: 7
Views: 4052

Re: Calculating WWR by orientation

Agree it would be great to be able to get site orientation :D

WWR by orientation would be nice as well, but I was able to calculate this (like it is in the Model Report) by totaling surface properties which are sorted by orientation (manually taking into account the site orientation) with the ...
by samg
Wed Jun 12, 2019 11:05 pm
Forum: VE Python API
Topic: Assigning glazing construction
Replies: 13
Views: 5197

Assigning glazing construction

Having trouble assigning a glazing construction using body.assign_construction(construction, surface).

Assigning a glazed construction to any surface in a simple model results in the following error:
ValueError: Could not assign construction: Invalid construction type for the surface

So the ...
by samg
Mon Jan 14, 2019 6:17 am
Forum: VE (For Engineers and Architects)
Topic: Parametric tool
Replies: 2
Views: 3219

Re: Parametric tool

I have the same issue as Yahya. Result from running Parametric tool:

> [FAILED]: Mon Jan 14 16:02:11 2019
> ...iles (x86)\IES\VE 2018\apps\hone\packages\batch\init.lua:427: bad argument #1 to 'ipairs' (table expected, got nil)

BBrannon - in Elements I defined rules and variables, clicked the green ...