Replace title block from template & update date / user

Replace title block from template & update date / user

j.wolbers-NoTech
Enthusiast Enthusiast
4,389 Views
21 Replies
Message 1 of 22

Replace title block from template & update date / user

j.wolbers-NoTech
Enthusiast
Enthusiast

Hi,

 

 

I actually have three small problems.

 

Recently we changed the title block in our drawing template. So when we create new drawings, this goes well. But when we copy an existing drawing in Vault, you keep the old title block. How can I ensure that this title block is automatically replaced (by the title block from the template) using Ilogic?

 

Furthermore, our drawings currently have the '' creation date '' in the title block. This is fine of course, but when we copy a drawing you always keep the old date of the original assembly. How do I make sure this is updated to the last '' save '' date or something like that?

 

Furthermore, I would also like to see the property <DESIGNER> updated when a part is copied from the vault database? Is this possible? Now many drawings remain in my own name when new colleagues copy files. This is because I previously worked alone.

 

I hope someone can help me with this.

 

 

Kinds regards,
Jeffrey

0 Likes
Accepted solutions (3)
4,390 Views
21 Replies
Replies (21)
Message 21 of 22

cassiano.godoy
Explorer
Explorer

Agradeço a todos deste fórum, pois eu tinha o mesmo problema, a única diferença que o bloco de títulos e a de bordas, tinham o mesmo nome, no templates e nos arquivos antigos.

 

Obrigado novamente

0 Likes
Message 22 of 22

rp
Contributor
Contributor

This code is exactly what we need too, thank you.

The only thing is we get an error when we run this.

I can't figure out why, so maybe someone can help us?

 

rp_0-1687768435152.png

 

rp_1-1687768457219.png

Kind regards, 

Ricardo

 

0 Likes