Nilesh Jagtap Posted August 12, 2009 Share Posted August 12, 2009 hi ...guys i want to make a block such that its defualt attribute value=insertion point of that block in that dwg. is it possible make this type of block? it may be.....i m new user if somebody have idea plz post it..... Quote Link to comment Share on other sites More sharing options...
ReMark Posted August 12, 2009 Share Posted August 12, 2009 Yes, it is possible. Back on September 16th, 2004 forum super member fuccaro wrote two lisp routines called MARKPUT and MARKUPDATE in response to a similar request. I suggest that you click on the link below and read the entire thread. Pay particular attention to the way MARKPUT is written in the event you wish to make minor changes (referencing your block). And please, if you do edit the routines, give credit where credit is due by including fuccaro's name. It is the proper way of doing things. http://www.cadtutor.net/forum/showthread.php?t=1738 Quote Link to comment Share on other sites More sharing options...
dbroada Posted August 12, 2009 Share Posted August 12, 2009 alternatively you can create a block with your attribute in it. Then open it using BEDIT and right click to Insert Field in the value field. Look for Block Placeholder and use the Position field. Once done insert your block - DO NOT TYPE IN A VALUE! If you move your block you will need to REGEN the drawing to get the fields to update. Quote Link to comment Share on other sites More sharing options...
fuccaro Posted August 12, 2009 Share Posted August 12, 2009 Thanks ReMark for digging up that old post. These days I would use Fields too. Quote Link to comment Share on other sites More sharing options...
ReMark Posted August 12, 2009 Share Posted August 12, 2009 Fields. Yes. That's a good point and one I that keeps slipping my mind despite the fact I make good use of MS Access (database) which also uses fields. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 13, 2009 Share Posted August 13, 2009 Fields are good, but you must use an MtextAttribute - I have a LISP that will update all similarly tagged attributes with the correct field: Quote Link to comment Share on other sites More sharing options...
alanjt Posted August 13, 2009 Share Posted August 13, 2009 Fields are good, but you must use an MtextAttribute - I have a LISP that will update all similarly tagged attributes with the correct field: [ATTACH]13732[/ATTACH] what else would you use? fields work in mtext, dtext, attdef. Quote Link to comment Share on other sites More sharing options...
dbroada Posted August 13, 2009 Share Posted August 13, 2009 Fields are good, but you must use an MtextAttribute Lee, I'm confused. I used a normal AttDef which worked. Is this an MtextAttribute? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 13, 2009 Share Posted August 13, 2009 what else would you use? fields work in mtext, dtext, attdef. Lee, I'm confused. I used a normal AttDef which worked. Is this an MtextAttribute? Yeah, sorry, not sure what planet I was on when I wrote that Quote Link to comment Share on other sites More sharing options...
alanjt Posted August 14, 2009 Share Posted August 14, 2009 Yeah, sorry, not sure what planet I was on when I wrote that we won't laugh at you.....much. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 14, 2009 Share Posted August 14, 2009 we won't laugh at you.....much. I'm just glad I said it on here and not theSwamp... I would have been crucified Quote Link to comment Share on other sites More sharing options...
alanjt Posted August 14, 2009 Share Posted August 14, 2009 I'm just glad I said it on here and not theSwamp... I would have been crucified thank god you were slumming it here. Quote Link to comment Share on other sites More sharing options...
ReMark Posted August 14, 2009 Share Posted August 14, 2009 Some of us are just more forgiving than others. Quote Link to comment Share on other sites More sharing options...
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.