Jump to content

FILLET lines continuous with crossing window ?


Recommended Posts

Posted

Tharwat,

 

I still have that single click to repeat the command ...

  • Replies 26
  • Created
  • Last Reply

Top Posters In This Topic

  • gashaglava

    10

  • pBe

    7

  • alanjt

    4

  • Tharwat

    3

Top Posters In This Topic

Posted

Basically what pbe posted (too lazy to look)...

 

(defun c:FC2 (/)
 (command "_.fillet" "_multiple")
 (while (eq (logand 1 (getvar 'CMDACTIVE)) 1) (command "_C" pause pause))
 (princ)
)

Posted
Tharwat,

 

I still have that single click to repeat the command ...

 

Do you mean non-stop running till hit enter ?

Posted
Do you mean non-stop running till hit enter ?

 

no, it runs the command, fillets the lines using crossing window, and then ends the command ... it doesn't offer to continue selecting lines ... ?

Posted

it works with running "multiple" before "test" though ...

Posted
[color=blue](while[/color]
[color=blue]   (cond ((and (princ[/color]
[color=blue]                     "\n ***** Select only two lines to connect *****")[/color]
[color=blue]               (setq a (getpoint "\n First point:"))[/color]
[color=blue]               (setq b (getcorner "\n Second point:" a))[/color]
[color=blue]               (setq ss (ssget "_c" a b))[/color]
[color=blue]               (eq (sslength ss) 2)[/color]
[color=blue]               )[/color]
[color=blue]          )[/color]
[color=blue]         )[/color]
[color=slategray](progn
      (setq sn1 (ssname ss 0))
      (setq sn2 (ssname ss 1))[/color]

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