Jump to content

Recommended Posts

Posted (edited)

I was trying to modify the LeeMac LengthAreaFieldV1-4.lsp to select an existing object first as opposed to picking a point for a new text.

 

http://www.lee-mac.com/lengthfield.html

 

In Lines 289-294 I've change them to:

          ((= "Object" sel)
           (setq flg nil)
          )
          ((= "Point" sel)
           (not (setq flg t))
          )

 

Not sure how to do this.

 

Thanks in advance.

Edited by 3dwannab
Posted

Sorry, the lastest 1.4 version.

Posted (edited)
2 hours ago, 3dwannab said:

Sorry, the lastest 1.4 version.

 

I asked because you mentioned my Align Text to Curve program in your post, which is unrelated to the Length & Area Field program.

 

To prompt for object first, add the following between lines 254 & 255:

(setq flg t)

 

Revert any other modifications you have made.

Edited by Lee Mac
  • Like 1
Posted

Sorry, Lee. I have now modified the starting post to the correct .lsp file.

 

This works a treat. I very rarely found that I use the point option

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