Results 1 to 13 of 13
Thread: Change Macro to all CAPS
-
03-19-2013, 06:16 AM #1
Change Macro to all CAPS
Does anyone know how to do that? I don't understand why they don't default to CAPITAL letters, as most designers specify in CAPS. I tried rewriting the macro with capital letters but it destroys the macro. I don't understand Ruby very well, although there may be a way to do it.
This should read:
AS-BUILT, 1ST FLOOR 1/8" = 1'
Adam Gibson, CKD, CBD
Indianapolis, IN, USA
Chief X6
-
03-19-2013, 07:12 AM #2
Chief's name/value pairs can not be changed. But if you're using a Ruby macro, append .upcase to any string. Ruby macros can not use the Chief name/value pairs but most of that info is also available in objects with a few exceptions.
Gerry
NewCraft Home Services
Design/ Compliance Review
PE, X6 , Sketchup 8, TurboCad Pro 20
-----------------------------------
ASUS P9X79D, i7-3820, GTX680 w/4gb
-----------------------------
If the Government would just cut down more d*** trees, I'd have a much better view of the forest.
-
03-19-2013, 09:10 AM #3
I'm just trying to use labels on layout boxes. but it looks inconsistent to have lower case letters.
Adam Gibson, CKD, CBD
Indianapolis, IN, USA
Chief X6
-
03-19-2013, 09:56 AM #4
I'm talking about the same thing. The automatic_label name/value pair for the layout box IS available to Ruby -- so you can upcase it.
Gerry
NewCraft Home Services
Design/ Compliance Review
PE, X6 , Sketchup 8, TurboCad Pro 20
-----------------------------------
ASUS P9X79D, i7-3820, GTX680 w/4gb
-----------------------------
If the Government would just cut down more d*** trees, I'd have a much better view of the forest.
-
03-19-2013, 10:00 AM #5
Would you mind uploading a pic of what you did? I'd sure appreciate it!
Adam Gibson, CKD, CBD
Indianapolis, IN, USA
Chief X6
-
03-19-2013, 12:09 PM #6
Attached is youtube video
http://youtu.be/H1JDyk6lNwA
Also remember to view SSA videos #1570 & 1323
Have funGerry
NewCraft Home Services
Design/ Compliance Review
PE, X6 , Sketchup 8, TurboCad Pro 20
-----------------------------------
ASUS P9X79D, i7-3820, GTX680 w/4gb
-----------------------------
If the Government would just cut down more d*** trees, I'd have a much better view of the forest.
-
03-19-2013, 01:27 PM #7
Gerry, that video was interesting, thank you but you can also bypass all of that by simply selecting the layout view, open its dialog, go to the "Label" tab, check "Specify Label" and then type in anything in any case directly without Ruby or macros.
I can see perhaps the value of setting a macro for repetitive things but this seems like way too many clicks and opportunities to fail when a direct input would suffice.
I still do not use layout labels at all, and just type my own presently so I directly use Rich Text so I can control appearance, font and color with very few clicks.
DJP
David Jefferson Potter
Chief Architect ® Trainer, Beta Tester, Draftsman, Author of "Basic Manual Roof Editing" and Problem Solver
Win7 Ultimate x64 & XP Pro x32, 500 Gb Samsung SSD
AMD Phenom II X6 1090T, 8Gb DDR3 RAM, PNY 760 GTX
Chief 7-X6, Home Designer versions 7-2014
3101 Shoreline Drive #2118, Austin, Texas 78728-4446
Office Phone:512-518-3161
Main E mail: david@djpdesigns.net
Web Site:http://djpdesigns.net
My You Tube Channel
Help is just an e mail or call away!
-
03-19-2013, 02:02 PM #8
Gerry,
Thank you for the huge amount of effort in teaching this! Way beyond the call of duty.
Makes me think that Chief should simply add an option to change the case, as I'd use layout box labels all the time if I could.Adam Gibson, CKD, CBD
Indianapolis, IN, USA
Chief X6
-
03-19-2013, 10:06 PM #9Registered User Promoted
- Join Date
- Mar 2006
- Location
- Ashland, OR
- Posts
- 1,386
Thanks Gerry,
I had not figured how to use the + to string macros together. I now see how to use this instead of using multiple macros.
It's also a nice trick to convert to upper case.
I wish I had more time to devote to this; I only learn more about Ruby when I'm challenged by the necessity of the situation.Last edited by billemery; 03-19-2013 at 10:15 PM.
-
03-20-2013, 01:52 AM #10
Glad to see some use:
As you see, usage is limited only by Chief's limits to information. Unfortunately, I doubt if we'll see any expansion until we see something similar in Chief's near competitors, which is still a couple of years out.
BTW, a even more compact, single line, method is to use the #{...} function. I thought this was more straight forward to understand.Gerry
NewCraft Home Services
Design/ Compliance Review
PE, X6 , Sketchup 8, TurboCad Pro 20
-----------------------------------
ASUS P9X79D, i7-3820, GTX680 w/4gb
-----------------------------
If the Government would just cut down more d*** trees, I'd have a much better view of the forest.
-
03-20-2013, 04:55 AM #11
If I understand correctly, which is doubtful, Bill's method requires a new macro for each unique label? Gerry's provides the ability to add an all-caps box scale to the default label?
Adam Gibson, CKD, CBD
Indianapolis, IN, USA
Chief X6
-
03-20-2013, 06:39 AM #12
I definitely don't understand your statement. The two macros are the same and used the same. Layout boxes do not have default labels, so a macro would need in put into each layout box label. This doesn't mean that you have to recreate a macro each time. Just create once (or save) in your layout template and it will be available in all new layouts and sheets. --- Need more explanation of where your going?
Gerry
NewCraft Home Services
Design/ Compliance Review
PE, X6 , Sketchup 8, TurboCad Pro 20
-----------------------------------
ASUS P9X79D, i7-3820, GTX680 w/4gb
-----------------------------
If the Government would just cut down more d*** trees, I'd have a much better view of the forest.
-
03-20-2013, 07:06 AM #13
Thanks Gerry, you are the Ruby master.
Perry
P.H. DESIGNS L.L.C.
Eastvale Calif.
Alienware, liquid cooled
Ver 10-"X6 x64 SSA
WIN 8.1 PRO 64 bit
Nvidia GTX780 3GB.
i7 920 2.67-- 12 GB Ram
40" led monitor