Reactive text (RText) objects are displayed the same way normal Text or MText objects are displayed, but the source for the text is either an external text file or the value of a DIESEL expression. You can edit an RText object with the RTEDIT command.
Command: RTEXT Current text style: STANDARD Text height: 0.2000 Text rotation: 0 Enter an option [Style/Height/Rotation/File/Diesel] <Diesel>: Specify an option
You can use an RText object as a file reference to display text, such as a sheet note or a legal disclaimer, that is common to several drawings. You can also use it to display larger bodies of text such as specifications or assembly instructions.
To display the drawing name:
Drawing file: $(getvar, "dwgname")Output:
Drawing file: 102-fp12.dwgTo include the directory path with the file name:
Drawing name: $(getvar, "dwgprefix")$(getvar, "dwgname")Output:
Drawing file: C:\Projects\97-102\Arch\102-fp12.dwg
When you plot a drawing, you may want the hard copy to show the date and the time that the plot was created. The following DIESEL expression displays this information in your drawing:
$(edtime, 0, MON DD"," YYYY - H:MMam/pm)Output:
Mar 22, 2000 - 11:12pm
The syntax for the $(getprop) DIESEL function is:
$(getprop, property name)where property name; can be any of the following fields from the DWGPROPS command:
Title Subject Author Comments Keywords LastSavedBy Revno Custom Property the name of a custom propertyFor example, if the Drawing Properties for a drawing contains the text "Excavated Site" as the Subject, the DIESEL expression:
Subject: $(getprop, subject)in an RText object will display as:
Subject: Excavated Site
If you have a custom property named "Project Name", the following DIESEL expression will display the value:
Project: $(getprop, %PROJECT NAME)
The syntax for the $(xrefs) DIESEL function is:
$(xrefs [, flags [, leader [, trailer]]])
Example:
The RText DIESEL expression:
$(xrefs,3)displays a list of Xrefs in the following format:
B-ELEC [c:\proj-14\b-elec.dwg] M-ELEC [c:\proj-14\m-elec.dwg] R-ELEC [c:\proj-14\r-elec.dwg] F-ELEC [c:\proj-14\f-elec.dwg]while the expression:
$(xrefs,2,Includes: )will list the Xrefs as:
Includes: B-ELEC Includes: M-ELEC Includes: R-ELEC Includes: F-ELEC
The syntax for the $(images) DIESEL function is:
$(images [, flags [, leader [, trailer]]])
The syntax for the $(getrec) DIESEL function is:
$(getrec, key, code)