cartersjohnson

Members
  • Posts

    8
  • Joined

  • Last visited

Reputation

0 Neutral

Profile Information

  • Gender
    Male
  • Location
    Utah
  1. Yes, I am after an NVP for the room height (subfloor to rough ceiling). I have a workaround which is to format %room.ceiling_elevation - room.floor_elevation% and it works fine. I was just trying to understand why I can't retrieve the ceiling height directly.
  2. I am just now seeing your response. That answer makes sense to me. For the life of me I can't understand why the relative room heights are not provided as NVPs. Is there a way to see the code for Chief's default global macros?
  3. I am trying to gain a better understanding of Ruby and macros. For starters, I understand the principle of %owner.name% (for example, %room.ceiling_elevation%). The owner comes first, followed by a name that will return a value, simple. However, I have found some default macros that have an owner followed by what seems to be 2 names all separated by periods, such as: %room.height.ceiling%. To help shed more light on my question, I am working with a custom macro to format ceiling height into feet and inches. My macro works perfectly when I input the first example above, but does not evaluate when I input the second example above. Can somebody help me understand what the difference is between the examples and why the second is immune to formatting?
  4. That would be cool. Thank you for all the help!
  5. I actually just discovered that I can take the table and convert it to Rich Text and format, which could be done at the end of the project with little work. However, I'm interested to know why you don't like Rich Text in plans and layouts?
  6. I know about the Layout Page Table and can use it to provide a sheet index just fine. The problem is I don't like the format of the Layout Page Table, so I would like to create my own using Rich Text box and custom macros. Check out this image which has my new Rich Text Sheet index I'm working on and the default Layout Page Table. I could spend the time each project to fill out the Rich Text box to match the Layout Page Table, but I'd like to automate it so it populates the fields from the Edit Page Information dialog box.
  7. That's all the information I'm trying to display, but I can't figure out how to display the information for pages 1-XX on sheet 1. The default global macro for the layout info in question will only return that info for the specific page which has the text. Just as an example... I can't have text on sheet 1 which references the page title from sheet 5.
  8. I would like to create a custom sheet index for my plan sets (the default schedules are garbage in my opinion) that is able to grab layout page information, such as the label and title. The sheet index would be located on page 1 of my drawings, but be able to pull information from other pages. I'm thinking of having something that looks similar to this: Sheet Index A0.1 General Notes A1.0 Floor Plan A2.0 Sections And so on... The first column is the sheet labels while the second column is the sheet titles. I understand that the Macros typically use a context like "owner object" or "referenced object", but that obviously won't work in this case since the text is neither a label nor able to touch the desired "object". However, I imagine this should be possible as CA has code for their default page schedule. Are there any Chief Macro gurus out there that know of a function that can return layout page information for any specified sheet? Perhaps would look something like this, 'pagelayout.label()'? Which will take the argument for the sheet number you are wanting the result from?