Jump to content

All by myself... kinda. ATTRIB Defined Width


RubberDinero

Recommended Posts

I tried messing with a few code bits that had scalefactor, but it would only squeeze my text closer together. 
I’ll get back online tomorrow and upload a dwg with both blocks so you can see what I’m trying to do to the attributes.

Link to comment
Share on other sites

  • Replies 23
  • Created
  • Last Reply

Top Posters In This Topic

  • RubberDinero

    13

  • BIGAL

    4

  • Roy_043

    3

  • Grrr

    2

@BIGAL Attached is a dwg with the 2 blocks that almost always without fail have word wrap. top two have word wrap, the second two I ran the lisp routine to get ride of word wrap. one or two locations I could do it manually, but when you have to do hundreds or thousands a week, this lisp routine will save 99.99% from having to do this manually. 

 

big thanks to @mhupp for the help on this.

ATTTest.dwg

Link to comment
Share on other sites

Understand now you need to change the width of the Mtext inside the Block. 

 

Found this by googling (vlax-put  (vlax-ename->vla-object  (car (entsel "\nPick Mtext Object: ")))  'width  0) 

 

Need to work out how to adjust in dynamic block. 

 

Edited by BIGAL
Link to comment
Share on other sites

Oh yeah, didn’t test if the code provided earlier works once dynamic attributes have been moved.

The good thing is that I never touch any grips before adjusting the text width. 
just tested it with a job that has almost 100 locations and it works perfect.

Link to comment
Share on other sites

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