Joe_Carrick

Members
  • Posts

    11783
  • Joined

  • Last visited

Everything posted by Joe_Carrick

  1. OK, so here's the bottom line: Ruby is a pretty basic programming language. It can perform math operations on numerical data and it can manipulate text data. In addition, it can store and retrieve data in Hash Tables and Arrays as well as read and write to computer files. Programming is just understanding the "syntax" and how conditions are handled. The Ruby Syntax is a little different than some other programming languages but IMO is not much more difficult than "Basic" and much easier than a lot of other languages. Ruby uses what are referred to generally as "methods" but I like to think of as modifiers. Here are some examples of how a text string can be modified by Ruby: x = "My Text String" y = x.length --> 14 x = x.upcase --> "MY TEXT STRING" x = x.downcase --> "my text string" x = x.gsub("my ","") --> "text string" x = x + " is now all lower case" --> "text string is now all lower case" if x.length > 14 y = x.length --> 33 else x = "Something Else" end x.rjust(y) -------> " Something Else" Now is everyone totally confused? It's just a matter of making modifications to data.
  2. There is also a Chief Global Macro Plan > %Living Area% that can be inserted in any Text Box to display the Living Area of the Current Floor.
  3. A Macro in Chief - basically returns Text to be used in a Label or Text Box. Internally, the macro can do more but what the user sees is the text output. In most cases anything internal to the macro is both invisible to the user and can't be used for anything else. Chief provides some predefined macros which they call GLOBAL & Object Specific. These provide some commonly needed text to be displayed in Labels or Text Boxes. In no case is that data available to use in another macro - it is simply displayed as text. Even User Defined macros don't (usually) provide data that's available to other macros. However, Chief provides some data as object attributes that can be accessed and used to calculate values, manipulate text, etc. That way, additional information can be displayed that is not provided by Chiefs' Global and Object Specific macros. So here's a kicker: Within a Chief Macro, a special type of variable can be defined. This is a Ruby Global Variable which is defined simply by using the "$" as the first character of the variable name. During the same session of Chief any such variable can be used by any macro. IOW, if a macro creates and uses a variable named TotalDecks it is confined internally to that macro and the value is not available to use in any other macro. However, if it creates a variable named ($TotalDecks = 235) then another macro can use it as follows: x = $TotalDecks + 115 resulting in the output of 500 This is a relatively simple example but the key is that the data is available to use between macros, allowing more complex output. It is even possible to access (read and write) information to and from external files, format text, etc.
  4. Greg, It's probably closer to 300 sqft extra siding because you would have to do a 12" height even if you took out the ceiling and didn't add the 8" space between the Floor Joists and the existing Ceiling Joists. But then you would have to redo all the lighting and ceiling finish anyway. The cost is difficult to figure without knowing all the parameters.
  5. I'm still trying to figure out how he hit a 310 yard drive on a par 4 when he played with dsh and me a couple of months ago, all the way to the back of the green.
  6. There is only one of the Andersen Windows in that attachment, not the entire set.
  7. Here's an example. There are almost 30 symbols in the set of Andersen Bay Windows. I created them using Chief Solids for the various pieces and sized them to fit. This particular Symbol was done as an Exterior Fixture and is used in concert with a "Pass-Thru". It could be converted to a "Custom Window" but since CA has not yet fixed the way the Custom Windows work, I have held off on doing that. It means the Window Schedule has to be "hacked" but otherwise it's easier than fighting with the Window Tool. Hopefully CA will fix the problems with the Custom Windows - introduced in X6 but never adequately finished. 45-P4035-20 Anersen Bay Window.calibz
  8. Not this time. Greg's answer is about as good as it's going to get - if you really need to detail it. Personally I would just add a note below the Finish Schedule.
  9. I have a couple of others playing with me at Encinitas Ranch 11:15 Thursday. Maybe next week.
  10. Probably true - unless you were going to do this quite a bit on different projects. Of course you could just edit the Window Label
  11. The mouse is sick. Buy a new one - not the cheapest but probably no more expensive than what you spend for your on course libations.
  12. Scott, Is it happening on all Plans? What about a completely blank plan from one of Chiefs' OOB Templates? The reason I ask is that if you have poorly written macros in your Plan, they may be interfering with the mouse, causing it to appear to stick or be jerky. Of course, just too much 3D geometry could also have an effect but bad macros are more likely.
  13. But I can write a macro that will correct the label so the schedule would show the proper label.
  14. Dennis, Let me know what you need. If it's Pella, I have a whole bunch that I've predefined as "Custom Window Symbols" so I should be able to make it work for you.
  15. Reflected Round Arch Window w Custom Muntins. As Greg suggested.
  16. I checked in X5 & X6 & X7. None of those provide Multiple Lites with a reflected Arch.
  17. I am doing this for a variety of information - mostly consultant contacts, etc - with a set of macros that read text files located in the Project's Plan Folder. It requires both a Layout and a Plan to work and the Layout has to be opened to establish where the files are located. By reading the information from the text files and assigning the data to Ruby Global Variables the macros in your title block or in the Plan Template will automatically display that Projects' values. Other information can similarly be retrieved based on what you need.
  18. I can't believe that was ever the case - I mean the part about you being a "babe"
  19. I'm not sure why I'm responding to this thread.. The best I could come up with is the 2 attached Symbols. The problem is that when you place them you still have to rotate and move them so they are in contact with the cabinet. Then they look right in both 2D and 3D. Duplex Cabinet Outlets.calibz
  20. Don't forget that every time a house is sold, the cost goes up 6% to cover the real estate commissions.
  21. Yusuf, This is a pic from your Plan. All I did was change the the Frame to 4" with a 6" recess. Now the Drywall (green) shows. This is the exact same solution that I had. See Post #11 in https://chieftalk.chiefarchitect.com/index.php?/topic/5101-will-somebody-help-me-with-this-bucking-plan/
  22. Yusuf, That solution I presented a long time ago. Scott doesn't like it.
  23. True, but IMO it's only valuable if you are using a reference macro to get the area.
  24. The Exterior Room Label - usually Living Area - only reports the total area of those room that are defined as Include in Living Area. This means that it will not include Garages, Courts, Porches, Decks, or Balconies. So you can rely on that Area in the Exterior Room Label to accurately report that Floors' Living Area.