Display full version of the post: Blocks

NorthLan
15.06.2010, 11:00
Does anyone know if it is possible to create 2 block references within the same block. I am trying to create a block template that will automatically display both the filename and date. Also is it possible for the blocks to update themselves within a dwt without having to refresh them every new day?
Thanks for your help.

Cad64
20.06.2010, 16:33
You can use a FIELD to insert a dynamic date and filename that will automatically update as necessary.
 
Or you can use the old RTEXT diesel expressions. Also dynamic and automatically updated.
Date = $(edtime,0,MON DD"," YYYY)
Date & Time = $(edtime,0,MON DD"," YYYY - H:MMam/pm)
Filename =  $(getvar, "dwgname")
File Path & Filename= $(getvar, "dwgprefix")$(getvar, "dwgname")
 
To use Rtext, type RTEXT at the command line and then choose "Diesel" from the list of options. This will open a little text window where you can copy and paste the code above.

NorthLan
21.06.2010, 10:09
Thanks that works well, do you know how I could then imbed these within a block to make them editable as an attribute?

Zupmicher
12.07.2010, 20:11
Well I think your question was solved in part. To have a sort of base block is updated automatically with each change, beginning and end can act as more users, the solution is to block reference system.