SanMiguel Posted February 24, 2011 Posted February 24, 2011 I remember when i was working in Singapore (not so long ago:wink:) when we save the CAD filename it automatically saves it in the Title Block. Thats why our Filename and Drawing Title are the same. I dont know if its a kind of Script or Lisp involve but anyone know how to go around this??? Please let me know. Thanks Im not too sure if im in the proper section of the forum. if not kindly move the thread to where it belongs. Quote
SLW210 Posted February 24, 2011 Posted February 24, 2011 Try using Attributes and Fields. There may be a LISP around, have you searched? Quote
SanMiguel Posted February 24, 2011 Author Posted February 24, 2011 thanks....i found remote text or rtext but dont know how to go around it. thanks again Quote
alanjt Posted February 24, 2011 Posted February 24, 2011 Fields will work. I still use an old RText block that I created before fields were available. Execute RText, type "D" for Diesel and paste the following in the popup window. $(getvar, "dwgprefix")$(getvar, "dwgname"), $(getvar,ctab), $(getvar,"LOGINNAME"), $(edtime, 0, mon dd"," yyyy - H:MM:SSam/pm) Quote
SanMiguel Posted February 24, 2011 Author Posted February 24, 2011 Fields will work. I still use an old RText block that I created before fields were available. Execute RText, type "D" for Diesel and paste the following in the popup window. $(getvar, "dwgprefix")$(getvar, "dwgname"), $(getvar,ctab), $(getvar,"LOGINNAME"), $(edtime, 0, mon dd"," yyyy - H:MM:SSam/pm) Got it....Thanks...but every time the Drawing Name changes it has ....".dwg" attached to it.....any idea how not to include this??? thanks again!!! Quote
alanjt Posted February 24, 2011 Posted February 24, 2011 Never thought someone would complain about .dwg Try this: $(getvar, "dwgprefix")$(substr, $(getvar, "dwgname"), 1 , $(-, $(strlen, $(getvar, "dwgname")) , 4)), $(getvar,ctab), $(getvar,"LOGINNAME"), $(edtime, 0, mon dd"," yyyy - H:MM:SSam/pm) Quote
BIGAL Posted February 25, 2011 Posted February 25, 2011 Went away and had a look at ours couldn't remember how I did it ok BEDIT you title block add an attribute the little label button enter TAG, enter Prompt, on default click the liitle button on the right this opens up the "field" option pick filename it has various options available to you name include path etc then save all done Quote
SanMiguel Posted February 25, 2011 Author Posted February 25, 2011 Never thought someone would complain about .dwgTry this: $(getvar, "dwgprefix")$(substr, $(getvar, "dwgname"), 1 , $(-, $(strlen, $(getvar, "dwgname")) , 4)), $(getvar,ctab), $(getvar,"LOGINNAME"), $(edtime, 0, mon dd"," yyyy - H:MM:SSam/pm) thanks guys.....this is indeed very interesting ....wonder how to do this??? any books i should read in order for me to understand this kind of language or program??? thanks again!!!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.