• このフォーラムは、www.cad3d.it/forum1 - イタリアのデザインコミュニティの機械翻訳です。いくつかの用語は正しく翻訳されていません。

自動日付をブロックに差し込む

  • Thread starter Thread starter titor
  • Start date Start date

titor

Guest
ciao ragazzi,
premesso che potete anche rispondermi di migliorarare la mia bilità nell'uso della funazione cerca :smile:

....viste le continue modifiche che mi toccano e le conseguenti confusioni, vorrei, se possibile, una dritta per inserire un attributo in un blocco (o un qualche campo) che si aggiorni automaticamente con la data odierna presa dalla macchina (o premendo un tasto tipo se non sbaglio il classico f9 dei campi di word)

grazie:smile:
 
da un po' tempo c'è una nuova istituzione nella mia vita: plannerroad:smile:

grazie!!!
 
ho trovato per caso un piccolo tips & trick per inserire in altri metodi la data aggiornata in autocad, lo riporto per intero:

there are several ways how to insert a time and date text stamp in an autocad drawing. the individual methods differ also in how and when such date is updated.

1. plain text- you can always put dates manually in the text (e.g. by copying from word)

2. dieselmacro- you can add a diesel macro to your toolbars or pull-down menus which inserts the current date/time - use e.g. $m=$(edtime,0,dd.mo.yyyy hh:mm:ss); this makes a plain text (never updated)

3. rtext- the remote text command from express tools can add a dynamic text containing some property of the drawing or drawing environment - you can e.g. use a diesel expression $(edtime,0,mon dd"," yyyy - h:mmam/pm)which will display the current date and time. such date is updated on every regen.

4. field- dynamic text fields are the most flexible way to add time and date to your drawings. you can use fields separately (as standalone texts, field), in block attributes (e.g. title blocks), or inside mtext texts. you can choose formatting and various time/date sources (current date, last save date, last plot date, creation date). please note that the current date value does not behave like the other fields - it is not automatically updated on events defined with the fieldeval variable but only on the updatefield command.


you can also use diesel expressions in fields - use the above mentioned rtext diesel expression to make a dynamically updated time/date in a field.

you can also enter the field code as a plain text - autocad will properly interpret it even in autocad lt. use the dtext command to enter e.g. the following text: %<\acvar date \f "%#c">%

5. plot stamp- plot stamp (the plotstamp command, or the stamp setting in the plot dialog) adds time/date texts only to printouts (outside borders) of your drawings.

6.external data source- an advanced method for inserting live time data (e.g. time of the latest data update) from an external database or xls table. you can use the dbconnect tools, linking to excel or an add-on utility.

 
Last edited:

Forum statistics

Threads
46,674
Messages
380,976
Members
2
Latest member
loop80
このフォーラムは、www.cad3d.it/forum1 - イタリアのデザインコミュニティの機械翻訳です。いくつかの用語は正しく翻訳されていません。

Members online

No members online now.
Back
Top