joey_martin Posted December 18, 2016 Share Posted December 18, 2016 Quick question. I have a client that doesn't like door/window schedules. He wants the info (size, type, header) listed at the opening. Is there a way to center the label text? If not..has it been suggested? Link to comment Share on other sites More sharing options...
joey_martin Posted December 18, 2016 Author Share Posted December 18, 2016 This is what the label will look like. I have centered the text by eyeing it. Possible via a setting? Link to comment Share on other sites More sharing options...
Alaskan_Son Posted December 18, 2016 Share Posted December 18, 2016 Are you using macros for the label or entering that information manually? Can you post a screenshot of the actual label in the window DBX? Link to comment Share on other sites More sharing options...
Joe_Carrick Posted December 18, 2016 Share Posted December 18, 2016 In the Label enter the following: %manufacturer% %automatic_label% (%header_count%) %header_thickness%"x%header_depth%" %header_type% HDR If you enter it in the Default Door Label and the Default Window Label it will automatically be there for all new doors and Windows. Link to comment Share on other sites More sharing options...
Chopsaw Posted December 18, 2016 Share Posted December 18, 2016 Is it not centered on the window by default? And then you would just indent the shorter line if you do not want it justified left. I think this can be addressed with a macro and then Michael and Joe just jumped me so I will leave you in their care. Link to comment Share on other sites More sharing options...
Alaskan_Son Posted December 18, 2016 Share Posted December 18, 2016 In short, there are only 3 ways I know of to get what you're after... 1. Center the lines manually in the window label. 2. Use a text box along with a referenced context macro and then you can center justify the text. 3. Use Ruby to center the text. This method doesn't work all that well though because Ruby can only calculate the number of characters in any given label and not the width of those characters (which can vary a lot from one font to the next and one character to the next). This can be improved by using a monospaced or fixed-width font however...Ruby cannot deal with half spaces either. This can result in some very inconsistent centering. Better than what you have otherwise, but not perfect. I think you should make a suggestion for center justifying text output from labels. Link to comment Share on other sites More sharing options...
joey_martin Posted December 18, 2016 Author Share Posted December 18, 2016 Thats what I thought Michael. Link to comment Share on other sites More sharing options...
joey_martin Posted December 18, 2016 Author Share Posted December 18, 2016 Thanks Joe. It's not the info..it's the center/left/right justification that I am after. Link to comment Share on other sites More sharing options...
Joe_Carrick Posted December 18, 2016 Share Posted December 18, 2016 Joey, Text justification can only be done with a custom macro or Rich Text. This subject came up last year at the UGM when multi-line Labels were introduced for X8. One of the CA Staff commented: "Now I suppose you're going to want Rich Text Labels too." which received a resounding YES! Link to comment Share on other sites More sharing options...
StarHome Posted June 26, 2020 Share Posted June 26, 2020 The following macro was very helpful, but is their a way I can get it to show nominal thickness instead of what it shows? Example 2"x 10" instead of 1.5"x 9.5". %manufacturer% %automatic_label% (%header_count%) %header_thickness%"x%header_depth%" %header_type% HDR Link to comment Share on other sites More sharing options...
Kbird1 Posted June 26, 2020 Share Posted June 26, 2020 1 hour ago, StarHomeJustin said: The following macro was very helpful, but is their a way I can get it to show nominal thickness instead of what it shows? Example 2"x 10" instead of 1.5"x 9.5". %manufacturer% %automatic_label% (%header_count%) %header_thickness%"x%header_depth%" %header_type% HDR This should do it I think , I just rounded the Header sizes %manufacturer% %automatic_label% (%header_count%) %header_thickness.round% x % header_depth.round% %header_type% HDR In X12 if you use the new Boxed Header , you'd need to multiply the Count by 2 as well ( for 4 pieces) %manufacturer% %automatic_label% (%header_count*2%) %header_thickness.round% x % header_depth.round% %header_type% HDR Link to comment Share on other sites More sharing options...
robdyck Posted June 26, 2020 Share Posted June 26, 2020 3 hours ago, StarHomeJustin said: nominal thickness @Kbird1 @StarHomeJustin It can be simpler than that. This goes in the header label. %header_count%-%nominal_size% %type_name% %name% 1 Link to comment Share on other sites More sharing options...
Dermot Posted June 26, 2020 Share Posted June 26, 2020 Currently, there is no way to specify the text justification for labels. If this is something you want, you should be sure to submit a feature request. If you use a separate label for the window and the actual framing header, you can align them vertically. Assuming that you might want to display the header label, but not the actual header, you can use the invisible line style and make sure your header does not have a fill style. Another advantage of using the actual header for the label is you can use the %nominal_size% macro to show the size as "2x6" without the extra work. Link to comment Share on other sites More sharing options...
StarHome Posted June 26, 2020 Share Posted June 26, 2020 How do I use the actual header for the label??? Link to comment Share on other sites More sharing options...
Chopsaw Posted June 26, 2020 Share Posted June 26, 2020 4 minutes ago, StarHomeJustin said: How do I use the actual header for the label??? Frame your wall and make sure Framing, Headers are turned on. Then select header and insert label macro etc. Make sure Framing, Header Labels are turned on. 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