How do you display a variable value in Rtext?


Recommended Posts

I have a macro ffe_data with this: [Evaluate / None]

ffe_house = "24.0' FFE NAVD88"

ffe_2nd_Floor = "23.5' FFE NAVD88"

ffe_garage = "23.9' FFE NAVD88"

ffe_porch_1 = "23.5' FFE NAVD88"

ffe_porch_2 = "23.5' FFE NAVD88"

ffe_stoop = "23.5' FFE NAVD88"

ffe_grade_1 = "22.5' FFE NAVD88"

ffe_grade_2 = "22.5' FFE NAVD88"


I want to use rtext to display th value of ffe_garage.

What is the syntax to display the value of that variable?



PS I think someone already told me how years ago but I must have forgotten.


Link to comment
Share on other sites

one way to do it is to put 

$ffe_garage = "23.9' FFE NAVD88" 

in the macro


and then in the text box



another way to do it is to put ffe_garage = "23.9' FFE NAVD88" at the end of the macro (get rid of the "") and the put 

%ffe_data% in the rtext box


as the macro will return the last value assigned


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

  • Member Statistics

    Total Members
    Most Online
    Newest Member
  • Similar Content

    • By Allen43
      I am new to Chief but so far I love it. Far better than my previous software. So far, the only problem that I have had is using macros to create a custom label for cabinets.
      All I am trying to do is get chief's labels to match my manufacture nomenclature. I know I could manually change it on every cabinet, but that seems like to much work and honestly a waste of time. So could someone give me some help. Either a bit of a guide on custom macros and some recourses and documentation (which I, for the life of myself, can't find), or maybe a working-ish or example macro.
      Some examples:(chief nomenclature, needed nomenclature)
      3DB24, B3D24
      U242484L, T2484L
      FHB24L, BF24L
      Thanks in advance for the help! And if I didn't give enough information or if there is a better way to go about this, please let me know.
      Oh, almost forgot. I am running Interiors x14.
    • By Renerabbitt
      Do you have 10+ years in the software and wonder if you've been missing some tips and tricks? Have you been able to break the 15 hour condoc set?
      Maybe you are a proficient user that wants to know everything that there is to know in Chief.
      Rendering, Automation, Resources, Symbols, Quick Tools, Style Pallets, PDF Tools, Templates, and more.

      We believe in lifting the community up. All of our tools and resources are available to you. With training that can be personal, team oriented, prerecorded, livestreamed, interactive. We offer training in over 15 softwares from Drafting and Detailing to Modeling, Advanced Texturing, Procedural Workflows, Node Based Design, Macro Creations, DAMs, Automation, VR Workflows, Streaming Overlays and Masks and much much more. Tell us your needs and we will connect you with the package or the right resource.

      Some example learning modules:
      Concentric Jump your dimension strings
      Enter-input your jumps and Enter-close your DBX's
      Snap jump your door widths, concentric jump your windows
      Alt behavior tips, contain-selection and deselection workflows with tool restrictions. 
      Tons of cabinet tools and tips, including custom one-off parametrically modelled vanities and more.
      Custom Toolbar Icons and Custom Library Objects.
      Toolbar Switching Tricks and Library workflows

      Other Offer Services Posts:
    • By Efflorescence
      What can you do if NOTHING happens when you try to "insert macro" in a rich text box?
      In most (but not all, apparently) dialogue boxes, I'm prompted with a whole slew of options to select from and they get inserted directly into my text box. But right now I'm working in a Layout template - on the Page 0 - and I'm inserting rich text and the insert macro option does absolutely nothing.
      I've looked for a list of text macros so I could type them in manually as "%whatever.whatever%" but can't seem to find any such list on the WWW.
      Fairly new to Chief so would appreciate any help out there!
    • By tdroes82
      Simple question I think. I just cant seem to figure this out.
      How do I create a Text box with my plan areas?
      - When I use %room.area.standard%, this gives me what I need. But I can not move the text out of the room.
      - when I have 2 porches, can I add the two areas together on another "total porch" sq.ft text line?
      - Do I use Standard Area Polyline? If so, what is the correct macro to read it, such as living area, garage, porches, etc.
      I can use stand area polyline, and then add correct macros to the label of each. Then move the label to the side in a list. But is there a way to accomplish this in 1 text box, reading each area respectively. What about adding 2 porches into 1 total porch area?
      Here is what in 1 text box:
      total Heated Living:   sq.ft.
      total Garage:    sq.ft
      total porches: sq.ft.
       Then I can send this text to layout where I need it. Any help is appreciated.
      Thanks. Thomas
    • By RGAID1
      I have added the Room ceiling height and the Room finished floor material to the Room Label to make a my custom room label. 

      I need the ceiling height to be in feet (&inches) not in inches. I need the floor finish material to be the Generic type of finish (wood, tile, carpet, etc.) not the specific type of material. 

      How can the label be modified to do this? Or can I change the way the room ceiling height dimension is noted without affecting my other dimensions? 

      Can the materials be automatically noted as a type as they are found in the library rather than a specific material?