Jump to content

Recommended Posts

Posted

Hi All,

 

I have a lisp which lets me change the linetype of a selected line which I've had for quite a number of years. Can anyone tell me if i'm able to specify a particluar linetype scale for it? I don't want to globally change LTS, only for this particular line. If I wanted the linetype scale for this line to be 0.03 for example, how would I set that?

 

(DEFUN C:DOT (/ ssTMP)
  (setq ssTMP (ssget))
  (command "change" "P" "" "P" "LT" "DOT" ""))

Posted

This?

 

(defun c:dot (/ ss)
 (if (setq ss (ssget "_:L"))
   (command "_.change" ss "" "P" "LT" "DOT" "LTSCALE" "0.3" "")
 )
 (princ)
)

Posted

nice!

i went ahead and done it a different way while i was waiting.. i created a whole new linetype which looked like it had 0.3 LTS when it is actually 1

i like your way better. thanks alot

Posted
nice!

i went ahead and done it a different way while i was waiting.. i created a whole new linetype which looked like it had 0.3 LTS when it is actually 1

i like your way better. thanks alot

Happy to hear that , you are most welcome.:)

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