Jump to content

Recommended Posts

Posted

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.....:D

Posted

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

Posted

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.

Posted

Thanks ReMark for digging up that old post.

These days I would use Fields too.

Posted

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.

Posted

Fields are good, but you must use an MtextAttribute - I have a LISP that will update all similarly tagged attributes with the correct field:

 

FieldAtt.gif

Posted
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.

Posted
Fields are good, but you must use an MtextAttribute
Lee, I'm confused. I used a normal AttDef which worked. Is this an MtextAttribute?
Posted
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 :oops:

Posted
Yeah, sorry, not sure what planet I was on when I wrote that :oops:

we won't laugh at you.....much.

Posted
we won't laugh at you.....much.

 

I'm just glad I said it on here and not theSwamp... I would have been crucified :P

Posted
I'm just glad I said it on here and not theSwamp... I would have been crucified :P

thank god you were slumming it here.:?

Posted

Some of us are just more forgiving than others.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...