Specify Label for Concrete wall thickness


Camerops
 Share

Go to solution Solved by Alaskan_Son,

Recommended Posts

I have a defined wall type with exterior insulation (2"), concrete (10"), Interior Insulation (.75"). When I specify wall thickness it returns 12.75". This is obviously correct technically speaking. However I would like to have it display the upper wall thickness which is 10".  User defined: object_properties shows a whole lot of values  including "Upper_layers[1] material_data Formatted_size".

 

How would the syntax work that display this attribute value?

Label Path.png

Link to comment
Share on other sites

On 7/29/2021 at 10:32 AM, Camerops said:

Got it %upper_layers[1].material_data.formatted_size%

 

THANK YOU !!!!

 

You're welcome.  I just assumed the percentage signs went without saying if you were putting it directly into a label.  Just as a quick side note, but beware that your macro as written will always only return the information for your second wall layer.  If you add another exterior layer, or another main layer above the concrete, you may get undesirable/incorrect data.

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