KristjanM

Members
  • Posts

    85
  • Joined

  • Last visited

Everything posted by KristjanM

  1. Joe, I know you are a busy guy but did you ever finish up the macro list? I've done some forum searching but can't find anything. I am definitely interested.
  2. Keep in mind that the design has to be signed off from a designer registered in Ontario.
  3. Chopsaw - Yes, that works now. I had played around with leading / trailing zeros but was missing the Decimal_places = 0. Thanks for your help. Eric - A nice neat solution. I had a bit of an issue making this work until I changed the macro Context: to Owner Object. All is good now. Thanks. Not sure why Chief doesn't supply this format natively. I can do this in Autocad, Archicad, Revit, Vectorworks and Softplan out of the box. Chief is really good in so many other ways that I can put up with the few workarounds that present themselves.
  4. Chopsaw - Upon further thought, I realized that manipulating a string value, considering the possibilities, was not really a trivial problem. A number formatting approach might be better. So... your post has provided that. Thanks for that. This method works except in the case where the measurement involves 0 inches as in a door 3-0X6-8. The zero does not display. It shows as 3X6-8. Not good. I can't find anything in the number formatter methods to force the display of a zero value. Still a puzzle. para-CAD - Good suggestion. That method is clear in intent but I've never been a fan of the very small superscript.
  5. Okay, not entirely elegant. If the door width includes inches of 10 or 11, the insert references the wrong placement for the - insert . EG, 2'10" x 6'8". So for this approach, you would need a macro which would test the second and third member of the automatic_label string and see if they were 10 or 11. Then you could apply appropriate insert numbers to get the proper result. A little more figuring to do.
  6. Chopsaw - Figured it out. Plenty elegant for me.
  7. Chopsaw - Yes, that works. I must say that I find nothing recognizable in your macro. Time for more exploration. Thanks. Eric - A valid question but I would say that typically, door or window sizes are listed as nominal. Any fractions involved would be displayed in the object schedule.
  8. When I was using Revit, an available format for a door or window size displayed as 2-8X6-8. I have always found this quite clear. In Chief I can have 28x68 or 2'-8"x6'-8". The first example is clear to the builders I work with but to others, sometimes they think it means 28"x68". Not good. The second example is sometimes too long for my liking. I've spent some significant time trying a number of ruby instructions to get a display like my Revit example but am not successful. Part of the problem is the lack of any comprehensive help about Chief's ruby implementation. Can someone show me the magic macro to duplicate my Revit output?
  9. Embedding the floor joists in the concrete wall is definitely a prairie thing. Never seen it in BC. If nothing else, all this stuff keeps your brain ticking over.
  10. BC also has their own code but I believe the long term goal is to harmonize all the provinces under the NBC. The 2025 NBC (think the year is right) will incorporate a version of the step code with increasing targets for thermal and mechanical effficiency.
  11. The actual energy model is done in Hot2000, Natural Resources Canada's software. I take off the areas and volumes in Chief and create schedules for windows and doors which list sizes, type, width of overhang above and distance to the overhang. As part of the process, you have to show the house drawings and outline where you are getting measurements from. Chief is proving to be a good tool for this. "rimboard, floors above garages, cantilever floors, walls partially above grade, etc. polyline apoolza - Hot 200 has check boxes to identify where things are located, ie. a cantileverd floor is an exposed floor, wall between house and garage is buffered (next to an enclosed area). What province are you in? This is all coming your way in the future.
  12. A bunch of random comments - I'm located in BC so have had to supply the thermal assembly calculations on permit drawings for some time. I've used a spreadsheet for this with about 30 tabs for most of the common assembles. I just delete the unused ones for a given project and then export a pdf which I drag into Chief. Pretty easy. I also have a sheet in Excel for the trade off calculations which is quite easy to use once set up. I takeoff the areas in Chief and put the numbers into Excel. The biggest reason for doing this was twofold - builders hate the cost of R24 batts and the drywallers don't like how stiff the R24 batt is in the wall. In my climate zone (5) with Hardie board siding, R22 doesn't give me a good enough number so had to go the trade off route to make the assembles work. In BC now, we have gone to the step code which requires an energy advisor's analysis. This is coming to the National Building Code in a couple of years. The prescriptive method is going to be retired except in very specific cases. I'm also qualified as an energy advisor now and am working through a process to do my plan takeoff in Chief. It's working well so far.
  13. Got it. That tip will help in the future. Thanks.
  14. "currently only have the ability to total specific columns to include" Not sure what this means. I only see a check box for "Display Totals Row". No option regarding columns. Of course my wife says I'm blind on occasion, so I might have missed something.
  15. Even if I apply a non formatted macro (eg. ABOVE GRADE has a value of %area%), I do not get a total. It would seem the custom field is not stored as a number.
  16. I have a number of slabs from which I draw data. I have two custom object fields which have a macro definition. The area column of the schedule provides a total. The custom object fields do not even though they are using the same area number (a formatted version). This would lead me to think that a custom object field cannot be a number (float or integer) but rather is defined as a string. Correct? Can I get a total from a custom object field? Do I need to convert the custom object string to a float?
  17. Not to sidetrack the original post but here's my two cents on the terminology. Carpenter and superintendent for 35 years. Always called them lookouts. Designer for the last 10 years. Always called them lookouts. BC and Ontario building codes call them lookouts. Francis Ching (look him up) calls them lookouts. Good enough for me. The builders I work with know what I'm talking about.
  18. Okay, more good info. My ruby syntax knowledge is rather primitive. I will play around with this. Thanks.
  19. Okay, thanks to all for your help. 1st issue - don't type sqft when you need sqrt. 2nd issue - sqrt doesn't work in a text box but does work in the ruby console. So...need to make a macro. Thanks again.
  20. Sorry, typed sqft not sqrt !!
  21. Tried in the Ruby console (should return 2) - > Math.sqft(4) => Ruby NoMethodError: undefined method `sqft' for Math:Module Stack Trace: from eval:10:in `eval' from eval:10:in `block (2 levels) in <main>' from eval:4:in `loop' from eval:4:in `block in <main>'
  22. Can I use math.sqrt() in the macro? I tried it in the ruby console and it didn't work.
  23. I commonly do a quick calculation for pad footing sizes for estimating purposes. If an engineer is involved, he/she will do the calculations. I've created a text box which gives me the area, loads and footing size in square feet. I would like to get the square root of the footing area and multiply by 12 to give me the footing edge size in inches (assuming the pad is square). I've tried various things such as sqrt() or math.sqrt() both in the text box and in the ruby console but can't generate a correct result. Can you do math functions in a text box? Do I have to call an actual macro. What is the right syntax?
  24. Perfect. That fixed it. Don't know why I didn't see that. Thank you.
  25. As well as drawing work, I also do energy analysis. I have 3D solids which I use to generate information. The solid fills are in different colours to distinguish them. In one instance I have an object completely over another. Since the labels appear to be always in black, the reference is not clear. I've put the 3d solids on their own layer with a specific colour but this colour does not transfer to the label. Is there a way to achieve this or does this question need to go to the suggestion thread?