Alaskan_Son

Members
  • Posts

    12005
  • Joined

Everything posted by Alaskan_Son

  1. Your deck wall is just out of alignment by about 1/16". Move it over so that its right on line with the adjacent wall and you should be good.
  2. That's because the tutorial is located in Chief's Program Files...a location you really shouldn't be playing around with. Your $LOAD_PATH should point to a user folder (probably the folder it was already set to). I would suggest you just forget everything you have read about using the tutorial file and set your $FILE_PATH back to the default "C:\Users\Whatever Path\Chief Architect Premier X14 Data\Scripts" folder and/or your desired Z drive folder.
  3. Changes to many of your Preferences do not take affect till next time you start the program. This is true not only of your Ruby settings but of other settings as well.
  4. By the way, you don't have to change the load path at all. The require method can take an entire file path as an argument as well. OR, you could even optionally set your $LOAD_PATH with the same macro that requires your rb file that way no one even needs to change their preferences. Any machine that opens the plan would get the load path set automatically.
  5. This has been pretty clear to me from the start...at least if my understanding is correct: The idea seems to be that macros can be defined and edited in a single source file so that any changes don't have to be made in every plan and on every computer. I think its actually a really good approach for offices with lots of templates and/or lots of users. In fact, using this approach, an office could drop one single macro into every template plan. That macro would require/reference the same rb file. Within that single file, a company could hypothetically create ALL their own custom macros as methods. Modify the source file to include a new method and voila, that method/macro is available to every user and in every plan. Realize something needs to be tweaked? Tweak the source file and every other instance gets tweaked accordingly. It makes solid sense to me.
  6. Lower left hand corner of your dialog boxes…Number Style
  7. There's no good reason to be placing code into the tutorial.rb file in my opinion. Its just a messy and confusing kludge. All you're actually doing by placing code in the tutorial file is bypassing the require line because Chief is pre-programmed to automatically load that tutorial.rb file. You can easily replace the functionality by just using require in a text macro of your own though so you don't have to fool around with defining your methods in the tutorial file. Just create and display that macro somewhere in your template plan and all the methods defined inside your appropriately required rb files will be loaded into global memory just as if you had placed them in the tutorial file. Or require the desired rb file(s) inside specific macros. Either way, just load them yourself (using require) instead of using the tutorial file workaround.
  8. Neither of these things are true. You can indeed define and call a method with no arguments, and if the file is a valid rb file located within the $LOAD_PATH, you can even have a Safe Level of 4 and it should still work.
  9. Did you set the macro to Evaluated:Owner? And did you move your script to a folder in the $LOAD_PATH or adjust the $LOAD_PATH to add your desired folder?
  10. I would suggest making a handful of changes to your current approach: Add your desired folder to the $LOAD_PATH OR place the desired file inside your currently defined $LOAD_PATH. This way you can just use a file name instead of having to use the whole folder structure. Define a method inside your rb file Use require as Joe already mentioned instead of using File.read Call your defined method inside your Chief macro. All said and done, it would look more like this (using your originally supplied example): Macro: In CA require 'scope1' my_method Output: from text stored on a local drive def my_method rafter_length = (length.to_f.round / 12) + 1 convert_to_int = rafter_length.even? case when convert_to_int == true resut = rafter_length when convert_to_int == false result = rafter_length +1 end end NOTE: There are other potential approaches and corrections that could be made as well, but I wanted to stay as close as reasonably possible to your original attempt.
  11. I would recommend importing a DWG that already has ALL the CAD Blocks in it and then adding to the library from there. The initial import will take a bit, but overall much faster than doing one at a time.
  12. Depending on the situation, one method I use sometimes is to single click either a Wall Material Region or Custom Backsplash and then Convert to Plain Polyline.
  13. It does not. I suspect the main reason Chief hasn't provided it (aside from not enough people sending in requests) is because although we can set a default height, the truth is that the height can be absolutely anything (even an infinite number of values) for any given wall because the footing shape can be freely resized/reshaped in elevation. Here's what we do have though: thickness of footing - This actually reports what I would call the width though area of footing - This reports the cross sectional area of the footing polyline length of wall - This reports the length of the wall though which may or may not match the length of the footing You can get a very rough approximation of the footing height by taking the area and diving that by the length of the wall, but the results will depend on how the footing joins with adjacent footings and on whether or not the wall or its footing has been resized/reshaped in elevation. Its almost never going to be completely accurate.
  14. As others have already said, lot of different methods. All of them are pretty kludgy and the best method depends on the situation and on your preferred workflow, but i think one of the easiest is this: Build your deck room Turn off Auto regenerate... and check Keep deck framing... Move your railings out the thickness of your newels Select the deck room and lower the floor to drop the railing bottom Some of the drawbacks to this method are immediately obvious. A couple others that may not be though: Any automatically displayed floor or ceiling heights may be incorrect Connected stairs need to have their top or bottom heights set manually You need to adjust the railing height to account for the extra height difference
  15. I just emailed you an example project Johnny. Let me know if that clarifies things.
  16. No. Inside that dialog, you need to check Remember Zoom/Rotation and then you need to rotate the Plan View using Tools>Rotate Plan View. Make sure to read my notes in the other post though with regard to how this setting comes into play with your other Plan Views.
  17. Here's what I'm doing these days @johnny
  18. 3D>Toggle Patterns OR toggle the display of your "Patterns, 3D Views" layer in your current view.
  19. 2 quick tips: I typically just turn down the Smoothing Angle setting on the symbol to get the sink to auto generate the shape that I need (or at least close to it). Then I simply explode the CAD Block, select the desired polyline, and Convert To>Countertop>Hole in Countertop. In your case you could have even skipped the smoothing angle step and just exploded the block, copy/pasted the main sink outline, and then concentrically resized. You don't necessarily have to rename the CAD Block and then set the symbol to use the new block. You could also optionally just copy the name of the original block before exploding, and then paste back in the old name after re-blocking. This way you don't have to relink.
  20. CAD Blocks have actually always had these exact same instancing capabilities--as least as far back as I remember. You just had to give the new CAD Block the same name as the old CAD Block if you wanted to update all instances.
  21. See if this graphic helps you at all. 6 different layout boxes with different scale and Layout Line Scaling settings...
  22. I know a good handful of users here like to use sequential hotkeys, @glennw in particular has mentioned this quite a few times. Maybe Glenn or one of the other guys will chime in. I would however tell you from experience that using both single letters and 2 letters can be a notable pain since the use of a letter in one will preclude the other from functioning properly. In my opinion you should either use all sequential or all simultaneous...one or the other and not both. It might start out fine but once your system grows, the aforementioned problems will just get worse.
  23. You can simply open Excel and then open your html file with Excel or right click>Open With works for me as well. It should be as simple as that.
  24. I think you're going to need to be more specific. Are you saying that not all information from the current page is being exported? Or are you expecting all pages to be exported and all you're getting is the current page? Maybe something else even?