robdyck

Text Macro Execution Problem

Recommended Posts

I have a text macro in a garage plan that references the area of a polyline. In layout, that macro appears blank unless the plan file is open. Is that normal?

I needed to open the layout file only (or so I thought) and make a few adjustments before printing.

image.thumb.png.ca8ed7c656912beab0446470e057e5a0.png

Share this post


Link to post
Share on other sites

Completely depends on that macro, how it is written, whether or not it references any other global variables, whether or not those global variables are set by a macro included in that particular view, etc.

  • Upvote 1

Share this post


Link to post
Share on other sites
15 hours ago, Alaskan_Son said:

Completely depends on that macro, how it is written, whether or not it references any other global variables, whether or not those global variables are set by a macro included in that particular view, etc.

It doesn't reference any global variables, however it does reference a polyline that is part of a site plan layer set, and is not displayed in that main floor plan view.

So, just trying to understand this...when I open the 'main floor plan' view, the macro is not executed until I also open the 'site plan' view which contains the polyline and macro.

A little context:

This is for my garage and shop plans which are all setup to auto-execute as much as possible because of the general simplicity of the structure type and likewise, the construction documents. Obviously, I don't want to calculate the building area, I want it to display automatically. And...I didn't want to (at least not yet) change the default for "Garage" rooms to be included in the Living Area calculation, so I was using a polyline macro that you setup for me (which works great BTW and has saved me plenty o' time).

For this case, the solution seems to be 1 of 2 options: Correct me if I'm wrong with these assumptions

1. Change my default for "Garage" rooms to include in the Living Area and use the Living Area macro OR

2. Place the polyline I'm currently using on the final main floor plan view, and adjust it's line type and drawing order so it doesn't affect my desired display. 

Any thoughts?

 

This could of course lead to a suggestion for Chief to enable multiple groupings in the room dbx for area calculations.

Share this post


Link to post
Share on other sites

I may not understand why you are using the Polyline but in this case wouldn't the Auto Area Label in the Default Room Label or a Text box with some of Chief Standard Macros suffice?  I have one blocked in the Library and just drop it in , when needed.

 

M.

 

image.thumb.png.17ff67f90a713b537b443e2796bcdaba.png

Share this post


Link to post
Share on other sites
8 minutes ago, Kbird1 said:

wouldn't the Auto Area Label in the Default Room Label or a Text box with some of Chief Standard Macros suffice

That's a good question. For this plan, it started off as a simple 3-car detached garage, then morphed into a a 4car garage made up of 3 separate bays, some heated, some unheated, some finished, some unfinished, and a covered lean-to parking area.

Share this post


Link to post
Share on other sites

You can pretty much add anything to the Room Info Box that the %Objects_Properties% Macro can see eg whether it's conditioned or not.

 

image.thumb.png.0ed3afe6892bb7fa4835397fa662276e.pngimage.thumb.png.0c739d2547bd357d0e1788735ce35bdb.png 

 

This is the simple one above....refreshed in X12 .............................MHD Room Block_X12.calibz

 

M.

Share this post


Link to post
Share on other sites
18 minutes ago, Kbird1 said:

You can pretty much add anything to the Room Info Box

Yeah, I hear you.  I just needed to turn on that polyline layer in my main floor plan instead of just in my site plan in order for it to execute properly (this project didn't need a site plan).

Chiefs auto labels would suffice, I just didn't have my defaults for a simple garage plan setup to calc different areas for spaces like a lean-to parking area that aren't part of the 'building area'. Everything was setup really nice for it to be quick and easy, and then the whole project got quite customized which pretty much screwed all the auto stuff I had setup.

If I'd known it would morph like that when I started, I would've used a different plan template...and I would've priced it differently!

Share this post


Link to post
Share on other sites

Okay now I realise why the Polylines ...  ie: you normally use a Macro based system to gather all the Lot Sq.Footages for Site Coverage.

 

M.

Share this post


Link to post
Share on other sites
3 hours ago, robdyck said:

2. Place the polyline I'm currently using on the final main floor plan view, and adjust it's line type and drawing order so it doesn't affect my desired display. 

Any thoughts?

Yes, this is one solution.  Another solution would be to place a layout box that uses a layer set that does have that polyine turned on somewhere off to the side in that layout. 

 

It's funny, I had envisioned al sorts of possible scenarios as to why your macro wasn't executing till you opened the plan, but the scenario you described wasn't one of them.  Really highlights exactly why all the little details are so important. 

Share this post


Link to post
Share on other sites
3 hours ago, robdyck said:

This could of course lead to a suggestion for Chief to enable multiple groupings in the room dbx for area calculations.

 

Chief is really getting pretty close with the new Custom Schedule capabilities in X12.  It's very easy to create a schedule that includes any room or group of rooms.  Include only an Area Column, and Display Totals Row and you can easily get automated area totals for any and all groups and/or subgroups.  We could of course use a completely new group of tools, but one more small step, and schedules would be a totally easy to use and viable replacement for many scenarios where we currently have to utilize relatively complex custom macro solutions...

 

 

Share this post


Link to post
Share on other sites

@Alaskan_Son That's a really good point. It takes a bit of an adjustment to mentally grab hold of some of the new functions and make them a regular part of your workflow. Great reminder to delve into the custom schedule capabilities and set some stuff up!

Share this post


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

    28437
    Total Members
    9156
    Most Online
    Deannap
    Newest Member
    Deannap
    Joined
  • Similar Content

    • By robdyck
      I can't remember, or quickly find which layer controls the text portion of some electrical symbols. For my electrical set, most layers are light gray...and one of them is affecting the symbol display. It's gray as well, and of course, I want it black.
      Can anyone help me out?

    • By robdyck
      I can't get a skylight to build a square shaft when placing a skylight into a roof plane when the room does NOT have a flat ceiling. In my A-frame project, the ceiling is supplied by the roof and part of the skylight dbx is greyed out. Skylight works fine when its over a flat ceiling. Has anyone else run into this before?

    • By robdyck
      If I mull 2 exterior doors together in order to make a patio door that has a mullion, I can't see an option to specify this door as 'exterior' or 'interior'. This affects my schedules as I use a separate schedule for exterior and interior doors, because they're usually from unrelated suppliers. Am I missing something?
      I'd love the ability to be able to add a mullion to a double door.
       
      I now see that can be controlled in the schedule tab by exploding the Door Tab.

    • By Evolution
      This project was set up for paper size Super B 13X19 (because I can print that here in this office for ready check). The client (builder) has decided he wants me to change my layout sheet size to Arch D 24X36, so his subs could read and scale the drawings. I wasn't sure I did this right (after reading what few post I could find), I opened my layout>page "0" reset the print to page size to Arch "D" 24X36, which of course changed how my layout template set to 13X19 fits. I then edited my borders and title block etc., to fit the new layout size.  I then went to each additional sheet that I had added notes, additional info for title block, most everything else fit the new paper size ok.  I can't print a trial drawing but the PDF's I printed with the new sheet size appear to be ok. Does the method I used make sense? I'll send him the PDF set of construction drawings, and he can have them printed. I had previously set up a layout template formatted to Arch "D" but I wasn't sure how to get all my plans and details transferred to the new layout template, since you can only have one layout open at any given time? 

    • By Evolution
      Anyone had this happen?  I thought I had painted a color on a library object (without knowing it) but I can't get the strange (grayish) color to go away. I checked the symbol, etc., (a tub shower from the library) it is supposed to be white in the object DBX, and is to some degree. The strange color has also bled into part of a near by door.. no matter what render style I use it shows up?
      I thought it was a shadow, but no matter which way I move the camera it is still there.  Video card?  But this is the only item / time it has happened. 





      YARBRO RESIDENCE ADDITION ROOF OPTION 2.zip