Determining Daylight And Vent Requirements


Recommended Posts

I've searched and searched but to no avail. 

 

I've been using X2 for a few years but never dabbled into doing much automating of information, but now with X6 I'm determined to make my life easier! 

 

My question is this: I have a block of text in each room that shows the total square feet of that room:

 

TOTAL SF - %room.area.internal%

DLO REQ'D -

ACTUAL

VENT REQ'D -

ACTUAL -

 

I'd LIKE to have the daylight and vent requirements calculated for me by multiplying the %room.area.internal% by 0.08 and the vent by 0.04.  Is this possible? I've tried messing with Ruby but we're not on speaking terms anymore.

 

(As a side note, I have the DLO and Vent as added columns in my window components, which I add the sq. ft. to manually. Ideally I'd like that info, which populates the schedule, to populate that little text box and do all the math for me.) 

Link to post
Share on other sites

It's possible with Ruby but more work than it's worth.  The problem is that there's no connection between the window and the room.  You can get the room area into a global variable but you would have to have a separate macro for each window that would access the global for the room that it's located in.

 

OTOH, it would be fairly simple to have that data displayed in the room label - at least you would be able to see it so it would be easier to add to your schedule.

Link to post
Share on other sites

I'm not up to "fairly simple" in my learning curve yet. ;)  Does CA or Ruby offer the ability to multiply %room.area.internal% by .08 and display the correct answer? You're right, being able to see it would suffice at this point.

Link to post
Share on other sites

I'm not up to "fairly simple" in my learning curve yet. ;)  Does CA or Ruby offer the ability to multiply %room.area.internal% by .08 and display the correct answer? You're right, being able to see it would suffice at this point.

Boy,  where have you been?  I have tried to do what you are trying to do with limited success.  I found it was more trouble than it is worth.  We are hoping that with X7 or maybe X8 CA will address this kind of stuff.

 

What you are asking for is very important stuff and we should be able to achieve this without taxing our inferior brain cells......  we are waiting for CA to put this type of stuff together.

 

In the meantime,  you can try to figure it out and if you do,  let me know how to do it.

Link to post
Share on other sites
  • 2 months later...
  • 6 years later...
On 1/13/2015 at 5:49 PM, Joe_Carrick said:

Sure, the output (last line of the macro) would be:

 

%room.area.internal%*0.08

 

or the macro could be:

 

DLO_REQD = %room.area.internal%*0.08

return DLO_REQD

hi Joe, when I use the macro you provided it does not give the expected result. Any reason?

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Member Statistics

    29610
    Total Members
    9156
    Most Online
    Jfuller61
    Newest Member
    Jfuller61
    Joined
  • Similar Content

    • By ChiefuserMathews
      I would like to know if I could find total area of a room multiplied with .05 to find out glazing area required for that room in a text box using ruby macro
    • By ChiefuserMathews
      Hello, I have attached my plan and the site picture from the backyard. Why is the brick veneer overlapping my basement window. What am I doing wrong? Site existing condition picture attached backyard
      221008.plan


    • By Ange822
      I am using Chief Architect Premier X9
       
      My defaults seemed to have changed so that when I select a window - it is now showing temporary dimensions of the window casing / center of window / trim. (see attached screen shots)
      How do I change this to only show the window opening to wall stud? 
       
      thanks in advanced!
      Angela 


    • By eubanks
      Is there a time effective way to do drywall returns? The attached image is the look I am going for, which I had to do with polyline solids. I have tried all the solutions in this forum. https://chieftalk.chiefarchitect.com/topic/23244-q-window-how-to-do-a-sheetrock-return/?_fromLogin=CA2&_processLogin=11&csrfKey=e715967502c760b691e12966cba733f8&ref=&code=CSFNSc4fApHaoLJkMIIN_zkZ
       
      1. I am not interested in workarounds (polyline solids, molding profiles, window treatments)
      2. Simply turning off the frame has the fir framing exposed. See second image. I do not want to create new wall types that are solid drywall.
      3. I would be happy if you could paint the frame the drywall color, but it seems Chief does not have the capability to separate the frame from the sash.
       
      I would think that this is a very common detail, and it would be a huge oversight for all the various industries using this program to not have drywall returns. Thank you all for your time.


    • By Hunter51
      Is there a way to do a cedar lintel above your windows? I am not having any luck. I am going to attach a picture of a house to show what I am trying to achieve. Any help on this would be greatly appreciated. I am still fairly new to Chief and I am trying to learn as much as I can.