Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

There are a couple of ways to use xform; you're sorta trying to use them both at the same time. Try calling xform on the object rad files without the redirect. From the context of Axel's tutorial, I'm guessing (it's been a while since I've read that) you are supposed to be creating a file called "furniture.rad" in the main working directory, and that "objects" is a subdirectory thereof. Create a new text file called "furniture.rad" and put the following lines in it:

!C:\Radiance\bin\xform .\objects\table.rad !C:\Radiance\bin\xform .\objects\chair.rad

Presumably you will call "furniture.rad' in a similar way, in some other scene file, to "assemble" your model. This is the same approach we use in OpenStudio; we have a subdirectory for glazing, another one for opaque construction, and one for materials. Then in the main directory there is a single file called "model.rad", which merely has calls to xform e.g.:

!xform ./scene/Space_1.rad !xform ./scene/glazing/WG0.rad

At runtime, we make an octree by adding materials files and the "model.rad" file, along with any design iteration-specific geometry. Make sense?

There are a couple of ways to use xform; you're sorta trying to use them both at the same time. Try calling xform on the object rad files without the redirect. From the context of Axel's tutorial, I'm guessing (it's been a while since I've read that) you are supposed to be creating a file called "furniture.rad" in the main working directory, and that "objects" is a subdirectory thereof. Create a new text file called "furniture.rad" and put the following lines in it:

!C:\Radiance\bin\xform .\objects\table.rad .\objects\table.rad

!C:\Radiance\bin\xform .\objects\chair.rad .\objects\chair.rad

Presumably you will call "furniture.rad' in a similar way, in some other scene file, to "assemble" your model. This is the same approach we use in OpenStudio; we have a subdirectory for glazing, another one for opaque construction, and one for materials. Then in the main directory there is a single file called "model.rad", which merely has calls to xform e.g.:

!xform ./scene/Space_1.rad ./scene/Space_1.rad

!xform ./scene/glazing/WG0.rad

At runtime, we make an octree by adding materials files and the "model.rad" file, along with any design iteration-specific geometry. Make sense?

There are a couple of ways to use xform; you're sorta trying to use them both at the same time. Try calling xform on the object rad files without the redirect. From the context of Axel's tutorial, I'm guessing (it's been a while since I've read that) you are supposed to be creating a file called "furniture.rad" in the main working directory, and that "objects" is a subdirectory thereof. Create a new text file called "furniture.rad" and put the following lines in it:

!C:\Radiance\bin\xform .\objects\table.rad.\objects\table.rad
!C:\Radiance\bin\xform .\objects\chair.rad
 

!C:\Radiance\bin\xform .\objects\chair.rad

Presumably you will call "furniture.rad' in a similar way, in some other scene file, to "assemble" your model. This is the same approach we use in OpenStudio; we have a subdirectory for glazing, another one for opaque construction, and one for materials. Then in the main directory there is a single file called "model.rad", which merely has calls to xform e.g.:

!xform ./scene/Space_1.rad./scene/Space_1.rad
!xform ./scene/glazing/WG0.rad

!xform ./scene/glazing/WG0.rad

At runtime, we make an octree by adding materials files and the "model.rad" file, along with any design iteration-specific geometry. Make sense?

P.S. The first example's syntax is for Windows users, the second for Unix peeps (and presumes your Radiance executables are in your PATH). The leading dot in the file references is not needed if you have the "current directory dot" in your system PATH.