• Posts

  • Joined

  • Last visited

Everything posted by IvanCyr

  1. Likely more complicated...but maybe I'm overthinking this. I'm trying to ascertain in the Layout a mechanism to decipher when the %referenced_view_floor_number% is the "Attic" floor, that I can literally write "Attic" in areas in the layout at will. I can return the floor number ,but when I'm dealing with a 2 story home with a foundation, Floor 0 is the foundation, and Floor 3 is the Attic. I'm trying get either a counter to "see" the Attic (as it stands now I can ONLY glean an integer) or the other idea is that we duplicate/add/delete layout pages manually to the number of floors in the building and my template is designed to automatically sequence as much as I can automatically...and if I can get a comparator to the manual "label" which generally gives me pages, I can then create a script to test for "Foundation" at floor level 0 using %referenced_view_floor_number% and then compare %layout.label%'s # value (the value of #). I have the foundation figured out; easy since it is literally Floor 0; simple.....just don't know how I can "find" if the %referenced_view_floor_number% is actually the Attic. I'm thinking I can compare it to the manually set up pages whether I add or delete...the template is set up for a foundation with 2 floors. I can't see a way to glean the # value. Perhaps is as simple as the leaving the # symbol in the Label section and finding other text set up in a macro to fill in the titles using other scripts/macros??? Got some testing to do....
  2. So I've been thinking....the smoke has cleared a bit... Is there a way to "find" a global variable where Chief assigns "Attic" to %referenced_view_floor_number% because clearly, in Chief, above your highest floor, the floor above is deemed "A" for Attic? Second, on the layout, I've set up a template feature where I use the # for page sequencing using the Label selection on the Layout Page Specification, and to be able to automatically create duplicate pages for Titles for Floor 1, Floor 2 etc. Is there a way to "capture" that # value as it starts with 1 then sequentially moves up one as an integer. On any particular page, can I "read" within Ruby code on any given layout page what that # is currently showcasing? This would be helpful but I can't seem to glean that info from anywhere. Thanks. Waiting to be WXOF....(an aviation term to be weather of zero visibility in FOG)
  3. For what it is worth, setting items up on a separate layer set may be an easy solution for a stand alone fireplace. Items such as walls, countertops, roof planes with a dormer cutting walls appropriately etc. are the tricky items...an example would be that you can't place a wall over a wall placed on a separate layer....and keep the original wall...the new wall will overwrite the old one. Yes, you can get some items to work with settings with invisible walls or layers but often you will see the room moldings still showing and other such surprises. I find it much easier to save versions of the file....my method is to always sequentially sequence file versions using a letter sequence, and if I chose to stop at a version and desire to showcase to a client different options, then I add a number sequence (two digits always minimum to ensure alphabetical sequencing in the file names). You can always package these up to showcase in a single layout file which can make things easier when sitting down or Zooming with a client. Good luck!!
  4. Yeah, that was what I was afraid of...so interesting to know that the info is tucked away in Chief somewhere but we have no means to access it through the Text Macro Mgmt....but I suppose I'd mess something up major if they let me play unsupervised in a bigger digital sandbox! I'll have to practice my sad puppy dog face when I inform the client of the limitation. Michael, Joe, and Chopsaw, thanks for your time...appreciate it immensely. I'm slowly getting more capable in these matters.
  5. Thx for the question and the opportunity for me to clarify. When the %referenced_view_floor_number% returns ANY number that equates to the Attic floor, I want to know. In effect, I'm looking for a global value, or some referenced value I can glean within Ruby to make that evaluation (referenced floor = Attic floor) in order to trigger specific actions within Ruby. Thx.
  6. So I'm still on the saga of writing code for a template. I've found good solutions to the above although, my wonderful operating 3 line roof label was scrapped by the client...admittedly, I wasn't able to find a control which would automatically point my arrow in the downward slope, I ended up using a layer control for that which was far from ideal. (Perhaps someone knows how to get a symbol arrow head and a continuous line character that populates into a variable length arrow [the ASCII code doesn't have the options]. Also a manner in which to be able to formulate the direction of the arrow. A review of the properties list on %object_properties% for a roof plane didn't give me any math upon which to create any logic.) On another note, I'm setting up some callouts on the layout for views sent to layout. For some unique labels, client want "Attic" to be an option. However, on a 2 level house with a basement, the Attic in Chief is actually Floor 3 if you pick off the %referenced_view_floor_number%. I haven't noticed a global variable to compare to in order to overwrite my attic floor 3 integer to an Attic "string". Any help from the gurus? Thx in advance.
  7. Thanks Michael. On another note. I've found a solution for the problems above because I could NOT get spaces in the initial format shown as %automatic_label[/[^V()]+/]%. My solution was to nest the code. I first tested the view name to truncate " View" as Ruby didn't seem to want to accept the .delete_suffix command. The code was as follows: string = owner.automatic_label if string.match(/View$/) string[0..-5] else string end I then created a second macro and formatted it as follows: macros.remove_View.chars.join(" ").upcase() Effectively, the macros takes the string, splits it into an array of characters, and I join it back again adding a space with each character and ensure it all comes back together as uppercase. Perhaps this will be useful to others. FWIW Ivan
  8. Well, in case anyone is interested in the thread and a possible solution, I was able to code this to function well to truncate "VIEW". Now to work on adding a space after each character! %automatic_label[/[^V()]+/]%
  9. This code produces the same thing...it only eliminates the "V" in "VIEW". %automatic_label.delete('V')% %automatic_label.delete('VIEW')% How might I get "VIEW" to be truncated from the %automatic_label%? Any takers? Thx in advance.
  10. And another question for the ruby code gurus... On the Callout, for example I sending a view to layout called Site Plan View. The automatic label will send exactly that text and if I add the box scale I get the "Scale" now with the noted scaling values. I would like to do the following with the text. Add a space between each character and delete "View"....so I would like to see "S I T E P L A N" and "S C A L E". I recognize I can simply change the default callout and scale fonts to all CAPS...but the spacing I'm trying to figure out to do automatically...and remove the "View" from the %automatic_label% without having to change the name of the Saved Plan Views. Comments welcome. Thx.
  11. Indeed much has changed with X14 on the labels and callouts! I have another perhaps impossible label I want to explore. It is on the roof label. I want to add a "smart" arrow that will extend as far as need to match additional text in the label. Sometimes I simply want the slope (ie default) but on renovation projects I want to add a couple characters to the slope nomenclature plus EX. V.I.F. Currently the text overwrites the arrow and I'm adding a line to run the text over the default arrow and then adding a manual arrow. I've attached an image to what I'm trying to build automatically.
  12. I think I got it figured out. With no User Defined macro, Chief doesn't give you the option. You just have to click on NEW while in the Text Macro Mgmt. Simple.
  13. I have a quick question. I dabble in the macros every now and then when a client of mine wants specific outputs. This thread has the info I was looking for...thanks Eric. What was interesting however, was that the layout file I was using did NOT offer a User Defined option as the .plan file did. It only presented "Global" and "Object Specific". ONLY AFTER I imported Mike's .json macro did the User Defined option show itself and then I was able to edit the name and paste in Eric's code. How might I be able to access that in the future manually...without having to import one??....As in, I just want to create one. Comments welcome.
  14. Curious if anyone knows if there's been any further progress with imports into Chief using BLK360 or similar point cloud technologies. Interested in knowing if Chief yet or plans to use exports (registered) of E57 and RCP or LGS equivalents. Comments welcome.
  15. Good day, I explained the issue in this short 60s vid. https://www.loom.com/share/61d96d019761478db93286f3b70df444 Any points to assist would be greatly appreciated. Thanks in advance.
  16. Charles...you da man!!!! Thank you SOOO MUCH. Have yourself an extra fine day! Cheers,
  17. Thanks for the reply Jacob. I suppose I didn't properly state my query. I am very aware what is there. I am curious to why Chief seemingly arbitrarily and automatically created this....I've usually have success by deleting one wall or the other and redefining the space vertically. However, it keep popping up automatically with the same issue. I create a new plan and do the same, everything behaves wonderfully.... I recognize I can manually "fix" this as well....but want to get a better understanding of the guts of the program to try and get smarter myself.... Any solutions??
  18. HallgrenWorking22.01.13.planSee attached plan (copywrite version). The garage door will NOT cut away the stem wall. There is/was some funky activity when trying to make adjustments during trouble shooting....wondering if one of the guru's could spot my problem. In the end, I want 12" of stem wall showing above the garage slab which will be set precisely -14" below main rough floor (zero 0'). Thx in advance. Ivan HallgrenWorking22_01.13.plan
  19. Glen, it indeed was a Brick Ledge Depth issue....settings which I have not knowingly changed...or perhaps it is a default or perhaps how it may have changed by the previous construction method check mark of "Hanging the floor platform on the wall above" I don't know, but I set it to zero and it works fine. Thanks for the discourse. Yet another tool for the tool box. Cheers,
  20. Hi Michael, Good guess and I know exactly what you're saying when walls are mis-aligned. This one is perfectly aligned with the floor 1 wall exterior framing layer aligned with sill plate which is aligned with the exterior stem wall. The vertical alignment icon does not show indicating proper alignment as well. Still scratching my head....
  21. See attached image. The exterior wall on floor 1 is set correctly, see red arrow. The red box showcases my issue. This should be ONLY stem wall (and perhaps a rim joist or larger leger board)...NOT exterior layers from floor 1. There is NO pony wall defined...pretty much Chief default setup. This has come up a few times in the past and I am wondering about its "control" in Chief. It seems to be almost random...although this one showcased itself when the foundation walls were changed from having the floor joists on hangers mounted into the stem wall to being set onto the sill plate. Thoughts from the gurus?? Thx.
  22. Hi Michael, Yes indeed...abandoned. As you stated, the solution complexity was greater than the problem. It was a good learning exercise in Ruby, label, and layer control. The problem, as I see it, is that the client desires different fills in the same wall. You can't do that (as far as I can tell)...so you're left with CAD overlays or Wall Hatching. Thanks for chiming in....your comments are always appreciated. :-) Ivan
  23. Yes Perry, but walls cannot be drawn over each other therefore you are limited in options unlike other items. Cabinets act in a similar manner in Chief... I'm open to options but putting walls on different layers and having it look "nice" in 2D and 3D is quite a stretch....if not impossible. I'm looking to save time....and make a template efficient for a clients desires. If CAD on a layer is the easiest and faster method given the limitations (as you've stated above), then it is an easy decision.
  24. Hi Jason. This was mostly an exercise to determine the feasibility of the concept; as I haven't been tasked with such a request. As I stated, it was "an interesting idea". The client is desiring 3 plan views of each floor: 1. Existing , 2. Demo and 3. Proposed (which ALSO includes the As-built as a reference floor). I do NOT wish to generate 3 files....max 2; namely the As-built and the Proposed. I was hoping to be able to buzz around the As-built and use the wall break tool, as needed, and select my walls and set them to my demo type. However, the wall settings are global, so if you change the fill in one wall, all the walls change. Therefore, you must change another attribute. However, just changing a label on the wall, say a continuous 2x4 interior wall where you wish to demo a section, if you change the wall label, the wall will automatically snap to a continuous wall type despite having different wall labels which is a non-starter. Complicating things, is that I am also using the same As-built information (NOT Demo) in the Proposed as a Reference Floor. The walls don't need to be on the wall schedule so no need to set them as unique walls and I use 3D extensively so don't want to be troubled with "No locate, No room definition" walls interfering with otherwise great 3D renderings. I'm back to the CAD line option....unless someone has found a better solution. For what it is worth...