Jump to content

Help lisp can replace multiple texts with attribute block ?


Recommended Posts

Posted

I I want to find a lisp that can replace multiple texts with attribute block, with the position and value of the text becoming the position and value of the block attribute?
Thanks..

z5090234159428_7cf47947571fdd09390d6ca87a336b6b.jpg

Posted (edited)

Did you google ? Its not that hard, select text, get text insertion point, insert block and put text into attribute. Ok the only tricky part is to get same alignment need to have block insertion point offset from the text insertion point.

 

A good task to learn lisp. Have you made the block ?

Hint

 (command "-insert" "Textblk" "s" 1.0 pnt 0.0 txt)

 

Edited by BIGAL

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