Thursday, February 01, 2007

Plot Stamp switch from Rtext with Diesel Code to Text with Fields

All of my Title Blocks contained a Plot Stamp using the Rtext object with diesel code. I switched and now use a Text object with Fields.

I was sifting through the vast Field object options and found a field that will only update after I plot. If you want this option it is in the PLOT category and called PLOTDATE in the field names list.

This behavior isn't like the Rtext where it updates after every Regen. I got a tip from my buddy's at CAD Masters on how to use my diesel code inside fields. This is in the OTHER category and called DIESEL EXPRESSION in the field names list. Eueka! Same flavor different smell.

As a CAD Manager you must upgrade your systems and processes as new releases offer better solutions. This move for me was my 1st step towards using fields in general. This post is a bit late, but hey, better late then never.

Wait a minute. Need some code? Here you go.Date: $(edtime,0,mon dd"," yyyy)
Time: $(edtime,0,h:mmam/pm)
Dwg Name: I used the DOCUMENT > FILENAME field.

See my response below to get diesel and autolisp syntax for File Name and Location.