Macro needed


Bob-Roraback
 Share

Recommended Posts

I need a macro that I can attach to a given wall with an arrow that will display the height of the wall. (not the elevation )

The existing macro for ceiling height will not work in this instance because the room has different height walls.

Does anyone have a macro that they are willing to share or can somebody point me in the right direction for what I need please. Thanks, Bob

Link to comment
Share on other sites

i think because there can be pony walls, there is no "guranteed" way but I could be wrong.

 

if you run object_properties against the wall you get per below.

 

so if you can find it in there you can just use the property, but if i remember, it is not there. I think you could try the lumber area divided by the length but I'm not sure it works in all cases

area --------------------------- 317.884566 sq ft

length --------------------------------- 419.476541 in

 

Doing the math from the above it gives 109.125, which is what I have, I'm just not sure it works in all case. put the following in your text box connected with a leadr line to the wall

%upper_layers[3].area/length%

(it shows area in sq ft below, but if you do it like above it reports in sq in)

 

angle ---------------------------------- 89.99999999999999 ----------------- Float
automatic_description ------------------ "Stucco-6" ------------------------ String
automatic_label ------------------------ "" -------------------------------- String
baluster_description ------------------- "" -------------------------------- String
baluster_name -------------------------- "" -------------------------------- String
baluster_size -------------------------- "" -------------------------------- String
beam_rail_length ----------------------- 0 in ------------------------------ Measurement
beam_rail_molding_name ----------------- "Default" ------------------------- String
beam_rail_size ------------------------- "" -------------------------------- String
bottom_rail_description ---------------- "" -------------------------------- String
bottom_rail_length --------------------- 0 in ------------------------------ Measurement
bottom_rail_molding_name --------------- "Default" ------------------------- String
bottom_rail_size ----------------------- "" -------------------------------- String
comment -------------------------------- "" -------------------------------- String
component_code ------------------------- "" -------------------------------- String
coverings ------------------------------ size = 0 -------------------------- Collection
custom_fields -------------------------- {} -------------------------------- Hash
default_bottom_height ------------------ true ------------------------------ TrueClass
default_top_height --------------------- true ------------------------------ TrueClass
description ---------------------------- "Stucco-6" --------- String
drawing_group -------------------------- default:_27_-_wall ---------------- Symbol
floor_number --------------------------- 1 --------------------------------- Integer
foam_seal_length ----------------------- 0 in ------------------------------ Measurement
foam_seal_size ------------------------- "" -------------------------------- String
footing_fill_style ---------------------  ---------------------------------- NVPublisher
footing_layers ------------------------- size = 0 -------------------------- Collection
half_newel_description ----------------- "" -------------------------------- String
half_newel_size ------------------------ "" -------------------------------- String
has_room_moldings_exterior ------------- true ------------------------------ TrueClass
has_room_moldings_interior ------------- true ------------------------------ TrueClass
has_room_wall_coverings ---------------- true ------------------------------ TrueClass
include_in_schedule -------------------- true ------------------------------ TrueClass
is_attic ------------------------------- false ----------------------------- FalseClass
is_automatic_wall ---------------------- false ----------------------------- FalseClass
is_bearing_wall ------------------------ false ----------------------------- FalseClass
is_curved ------------------------------ false ----------------------------- FalseClass
is_foundation -------------------------- false ----------------------------- FalseClass
is_invisible --------------------------- false ----------------------------- FalseClass
is_lower_partition --------------------- false ----------------------------- FalseClass
is_no_locate --------------------------- false ----------------------------- FalseClass
is_no_room_def ------------------------- false ----------------------------- FalseClass
is_pony_wall --------------------------- false ----------------------------- FalseClass
is_railing ----------------------------- false ----------------------------- FalseClass
is_retaining_wall ---------------------- false ----------------------------- FalseClass
is_upper_partition --------------------- false ----------------------------- FalseClass
label ---------------------------------- "E1" ------------------------------ String
layer ---------------------------------- walls,__normal_exterior ----------- Symbol
layer_is_default ----------------------- false ----------------------------- FalseClass
layer_line_color ----------------------- 255 ------------------------------- Integer
layer_line_style ----------------------- 0 --------------------------------- Integer
layer_line_weight ---------------------- 35 -------------------------------- Integer
layer_set ------------------------------ "Floor Plan Set Print" ------------ String
layer_text_style ----------------------- "Default Text Style" -------------- String
length --------------------------------- 419.476541 in --------------------- Measurement
lower_insulation -----------------------  ---------------------------------- NVPublisher
    area ------------------------------- 0 sq ft --------------------------- Measurement
    cavity_r_value --------------------- 0.0 ------------------------------- Float
    continuous_r_value ----------------- 0.0 ------------------------------- Float
    depth ------------------------------ 0 in ------------------------------ Measurement
    description ------------------------ "wall insulation" ----------------- String
    formatted_size --------------------- "" -------------------------------- String
    length ----------------------------- 0 in ------------------------------ Measurement
    num_batts -------------------------- 0 --------------------------------- Measurement
    owner ------------------------------  ---------------------------------- NVPublisher
        SEE ABOVE ----------------------  ---------------------------------- 
    width ------------------------------ 0 in ------------------------------ Measurement
lower_layers --------------------------- size = 0 -------------------------- Collection
lower_wall_elevation ------------------- 48 in ----------------------------- Measurement
manufacturer --------------------------- "" -------------------------------- String
middle_rail_description ---------------- "" -------------------------------- String
middle_rail_length --------------------- 0 in ------------------------------ Measurement
middle_rail_molding_name --------------- "Default" ------------------------- String
middle_rail_size ----------------------- "" -------------------------------- String
newel_description ---------------------- "" -------------------------------- String
newel_name ----------------------------- "" -------------------------------- String
newel_size ----------------------------- "" -------------------------------- String
num_balusters -------------------------- 0 --------------------------------- Integer
num_foundation_bolts ------------------- 0 --------------------------------- Integer
num_half_newels ------------------------ 0 --------------------------------- Integer
num_whole_newels ----------------------- 0 --------------------------------- Integer
panel_rail_description ----------------- "" -------------------------------- String
panel_rail_length ---------------------- 0 --------------------------------- Measurement
panel_rail_name ------------------------ "" -------------------------------- String
panel_rail_size ------------------------ "" -------------------------------- String
pony_wall_cap_accounting_code ---------- "" -------------------------------- String
pony_wall_cap_length ------------------- 0 --------------------------------- Measurement
pony_wall_cap_material_list_category --- "Exterior Trim" ------------------- String
pony_wall_cap_size --------------------- "" -------------------------------- String
rail_cap_description ------------------- "" -------------------------------- String
rail_cap_length ------------------------ 0 in ------------------------------ Measurement
rail_cap_size -------------------------- "" -------------------------------- String
railing_accounting_code ---------------- "5200 - Interior trim material" --- String
railing_material_list_category --------- "Interior Trim" ------------------- String
retain_wall_framing -------------------- false ----------------------------- FalseClass
roof_cuts_wall_at_bottom --------------- false ----------------------------- FalseClass
roof_type ------------------------------ hip_wall -------------------------- Symbol
schedule_number ------------------------ "" -------------------------------- String
simple_schedule_number ----------------- "" -------------------------------- String
supplier ------------------------------- "" -------------------------------- String
suppress_label ------------------------- false ----------------------------- FalseClass
termite_flashing_length ---------------- 0 in ------------------------------ Measurement
thermal_envelope_area ------------------ 307.375967 sq ft ------------------ Measurement
thickness ------------------------------ 6.885 in -------------------------- Measurement
top_rail_description ------------------- "" -------------------------------- String
top_rail_length ------------------------ 0 in ------------------------------ Measurement
top_rail_molding_name ------------------ "Default" ------------------------- String
top_rail_size -------------------------- "" -------------------------------- String
upper_insulation -----------------------  ---------------------------------- NVPublisher
    area ------------------------------- 307.375967 sq ft ------------------ Measurement
    cavity_r_value --------------------- 21.0 ------------------------------ Float
    continuous_r_value ----------------- 0.0 ------------------------------- Float
    depth ------------------------------ 6 in ------------------------------ Measurement
    description ------------------------ "wall insulation" ----------------- String
    formatted_size --------------------- "6"x16"x93" batts" ---------------- String
    length ----------------------------- 96 in ----------------------------- Measurement
    num_batts -------------------------- 29 -------------------------------- Measurement
    owner ------------------------------  ---------------------------------- NVPublisher
        SEE ABOVE ----------------------  ---------------------------------- 
    width ------------------------------ 16 in ----------------------------- Measurement
upper_layers --------------------------- size = 5 -------------------------- Collection
    [0] --------------------------------  ---------------------------------- NVPublisher
        accounting_code ---------------- "3400 - Exterior siding" ---------- String
        area --------------------------- 375.396576 sq ft ------------------ Measurement
        footing_rebar_length ----------- 0 in ------------------------------ Measurement
        footing_rebar_size ------------- 0 --------------------------------- Integer
        horizontal_rebar_length -------- 0 in ------------------------------ Measurement
        horizontal_rebar_size ---------- 0 --------------------------------- Integer
        material_data ------------------  ---------------------------------- NVPublisher
            description ---------------- "Santa Barbara - Grey" ------------ String
            formatted_size ------------- "1/2" thick" ---------------------- String
            manufacturer --------------- "" -------------------------------- String
            quantity ------------------- 375.396576 sq ft ------------------ Measurement
            source_description --------- "" -------------------------------- String
        material_list_category --------- "Siding" -------------------------- String
        thickness ---------------------- 0.5 in ---------------------------- Measurement
        vertical_rebar_length ---------- 0 in ------------------------------ Measurement
        vertical_rebar_size ------------ 0 --------------------------------- Integer
        wall ---------------------------  ---------------------------------- NVPublisher
            SEE ABOVE ------------------  ---------------------------------- 
    [1] --------------------------------  ---------------------------------- NVPublisher
        accounting_code ---------------- "3400 - Exterior siding" ---------- String
        area --------------------------- 359.325384 sq ft ------------------ Measurement
        footing_rebar_length ----------- 0 in ------------------------------ Measurement
        footing_rebar_size ------------- 0 --------------------------------- Integer
        horizontal_rebar_length -------- 0 in ------------------------------ Measurement
        horizontal_rebar_size ---------- 0 --------------------------------- Integer
        material_data ------------------  ---------------------------------- NVPublisher
            description ---------------- "Housewrap" ----------------------- String
            formatted_size ------------- "" -------------------------------- String
            manufacturer --------------- "" -------------------------------- String
            quantity ------------------- 359.325384 sq ft ------------------ Measurement
            source_description --------- "" -------------------------------- String
        material_list_category --------- "Siding" -------------------------- String
        thickness ---------------------- 0.01 in --------------------------- Measurement
        vertical_rebar_length ---------- 0 in ------------------------------ Measurement
        vertical_rebar_size ------------ 0 --------------------------------- Integer
        wall ---------------------------  ---------------------------------- NVPublisher
            SEE ABOVE ------------------  ---------------------------------- 
    [2] --------------------------------  ---------------------------------- NVPublisher
        accounting_code ---------------- "3400 - Exterior siding" ---------- String
        area --------------------------- 359.308283 sq ft ------------------ Measurement
        footing_rebar_length ----------- 0 in ------------------------------ Measurement
        footing_rebar_size ------------- 0 --------------------------------- Integer
        horizontal_rebar_length -------- 0 in ------------------------------ Measurement
        horizontal_rebar_size ---------- 0 --------------------------------- Integer
        material_data ------------------  ---------------------------------- NVPublisher
            description ---------------- "OSB-Hrz" ------------------------- String
            formatted_size ------------- "48"x96"x3/8"" -------------------- String
            manufacturer --------------- "" -------------------------------- String
            quantity ------------------- 11.25 ----------------------------- Measurement
            source_description --------- "" -------------------------------- String
        material_list_category --------- "Siding" -------------------------- String
        thickness ---------------------- 0.375 in -------------------------- Measurement
        vertical_rebar_length ---------- 0 in ------------------------------ Measurement
        vertical_rebar_size ------------ 0 --------------------------------- Integer
        wall ---------------------------  ---------------------------------- NVPublisher
            SEE ABOVE ------------------  ---------------------------------- 
    [3] --------------------------------  ---------------------------------- NVPublisher
        accounting_code ---------------- "3110 - Lumber 1st package" ------- String
        area --------------------------- 317.884566 sq ft ------------------ Measurement
        footing_rebar_length ----------- 0 in ------------------------------ Measurement
        footing_rebar_size ------------- 0 --------------------------------- Integer
        horizontal_rebar_length -------- 0 in ------------------------------ Measurement
        horizontal_rebar_size ---------- 0 --------------------------------- Integer
        material_data ------------------  ---------------------------------- NVPublisher
            description ---------------- "Fir Stud 24" OC" ----------------- String
            formatted_size ------------- "" -------------------------------- String
            manufacturer --------------- "" -------------------------------- String
            quantity ------------------- 0 --------------------------------- Measurement
            source_description --------- "" -------------------------------- String
        material_list_category --------- "Framing" ------------------------- String
        thickness ---------------------- 5.5 in ---------------------------- Measurement
        vertical_rebar_length ---------- 0 in ------------------------------ Measurement
        vertical_rebar_size ------------ 0 --------------------------------- Integer
        wall ---------------------------  ---------------------------------- NVPublisher
            SEE ABOVE ------------------  ---------------------------------- 
    [4] --------------------------------  ---------------------------------- NVPublisher
        accounting_code ---------------- "5100 - Drywall" ------------------ String
        area --------------------------- 308.130307 sq ft ------------------ Measurement
        footing_rebar_length ----------- 0 in ------------------------------ Measurement
        footing_rebar_size ------------- 0 --------------------------------- Integer
        horizontal_rebar_length -------- 0 in ------------------------------ Measurement
        horizontal_rebar_size ---------- 0 --------------------------------- Integer
        material_data ------------------  ---------------------------------- NVPublisher
            description ---------------- "Drywall" ------------------------- String
            formatted_size ------------- "48"x96"x1/2"" -------------------- String
            manufacturer --------------- "" -------------------------------- String
            quantity ------------------- 9.75 ------------------------------ Measurement
            source_description --------- "" -------------------------------- String
        material_list_category --------- "Wall Board" ---------------------- String
        thickness ---------------------- 0.5 in ---------------------------- Measurement
        vertical_rebar_length ---------- 0 in ------------------------------ Measurement
        vertical_rebar_size ------------ 0 --------------------------------- Integer
        wall ---------------------------  ---------------------------------- NVPublisher
            SEE ABOVE ------------------  ---------------------------------- 
wall_id -------------------------------- "1" ------------------------------- String
wall_type ------------------------------ "Stucco-6" ------------------------ String
 

Link to comment
Share on other sites

Michael's example gives me the top and bottom height of the wall. What I want is the length of the studs plus the plates.

In the plan I am trying to annotate I have three different floor and ceiling levels on floor 1. I want to show the height of the framed walls in each area on the wall framing plan.

When the top of the subfloor is at "0" elevation the %wall.top_elevation% macro works perfectly to show that but when the top of the subfloor is at say 24" I would need a way to subtract 

the %wall.bottom_elevation% from the %wall.top_elevation% to get the framed wall height I am thinking. Can anyone show me how to arrange a macro that would do that. Thanks for any help, Bob

Link to comment
Share on other sites

13 minutes ago, jasonn1234 said:

interesting results with a sloped ceiling plane

image.thumb.png.d9ba425f88e15d5d3a45dd1a97c48ad9.png

 

Yup.  That's why I said...

 

3 hours ago, Alaskan_Son said:

Chief has a couple built-in global macros that will provide elevation data for walls at the point where your arrow head makes contact with the wall

 

Link to comment
Share on other sites

the wall height is the same there for the two leader  lines on the right. It looks like the global wall top elevation macro is going above the ceiling plane (underside of roof rafter maybe??) (191"), where the wall area divided by length is going to the ceiling plane (150")

 

depends on what one wants i guess

Link to comment
Share on other sites

13 hours ago, Alaskan_Son said:

How can the wall height be the same if you have a sloped ceiling plane? 

not sure I understand the question. it is a shed roof, with a high side on the right and a sloping ceiling with high side on the right. the one formula gives the height of the wall on the inside stopping at the ceiling plane, the other gives the height of the wall to the roof (through the attic)

 

it would be, I would think, a distinction an interior designer would want to know.

 

I personally just dimension a section for oddball rooms, as opposed to putting it on the plan, and then leave the normal floor height framing dimensions to a storey pole

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share