Camerops Posted July 29, 2021 Share Posted July 29, 2021 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? Link to comment Share on other sites More sharing options...
Solution Alaskan_Son Posted July 29, 2021 Solution Share Posted July 29, 2021 upper_layers[1].material_data.formatted_size Link to comment Share on other sites More sharing options...
Camerops Posted July 29, 2021 Author Share Posted July 29, 2021 Does not provide result... Should there be something before Upper_layers? Link to comment Share on other sites More sharing options...
Camerops Posted July 29, 2021 Author Share Posted July 29, 2021 Got it %upper_layers[1].material_data.formatted_size% THANK YOU !!!! 1 Link to comment Share on other sites More sharing options...
Alaskan_Son Posted July 29, 2021 Share Posted July 29, 2021 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now