Doug_N Posted December 8, 2018 Share Posted December 8, 2018 In doing some ruby stuff to automate information required by building department code examiners, so I wrote a bit of simple code to get this. But I need that in an elevation, not in a plan view. No joy it seems. Anyone know why this is? Link to comment Share on other sites More sharing options...
Joe_Carrick Posted December 8, 2018 Share Posted December 8, 2018 Basically because in Elevation the arrow is selecting the "Exterior Room", not the "Window". The only way I know of to get that in an Elevation View is by putting the macro in the Window Label and making the macro "Owner Object". It's more complicated though because then the macro would also be displayed in the Plan View. That means you have to have the macro display a different result in Plan View than in Elevation View and the macro has to have a way of knowing what the Current View is. I can do it but it's a bit complicated. Link to comment Share on other sites More sharing options...
Doug_N Posted December 9, 2018 Author Share Posted December 9, 2018 Hmmm... I will have to work on it. Learning the ruby stuff is interesting. Link to comment Share on other sites More sharing options...
DRAWZILLA Posted December 10, 2018 Share Posted December 10, 2018 You can also just add the s.f. of each window to the window schedule. Link to comment Share on other sites More sharing options...
Doug_N Posted December 10, 2018 Author Share Posted December 10, 2018 Yeah, I did that but the plans examiner wants them on the windows in elevation view. Sometimes I think they are just cruel. Link to comment Share on other sites More sharing options...
robdyck Posted December 20, 2018 Share Posted December 20, 2018 Hey Doug, Here's a fairly simple method: In elevation view, draw a polyline the size of the window directly over the window. Turn on "polyline labels" and use your newly created macro as the label. Depending on your settings, you may need to create a new text style for that label and of course I'd suggest giving this polyline it's own layer, or placing it on the 'window' layer. I use this all the time to help me with my glazed opening calculations. I have macros that will display the area in metric and / or imperial. Link to comment Share on other sites More sharing options...
Doug_N Posted December 20, 2018 Author Share Posted December 20, 2018 1 hour ago, robdyck said: Hey Doug, Here's a fairly simple method: In elevation view, draw a polyline the size of the window directly over the window. Turn on "polyline labels" and use your newly created macro as the label. Depending on your settings, you may need to create a new text style for that label and of course I'd suggest giving this polyline it's own layer, or placing it on the 'window' layer. I use this all the time to help me with my glazed opening calculations. I have macros that will display the area in metric and / or imperial. Hey Rob, thanks for the suggestion. That is a pretty good way to tackle the problem. Using an independent layer will allow this to be shown in some views, and not others but still see the window label. 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