Jump to content

Recommended Posts

Posted (edited)

I know there's a dimcontinue command but I have to constantly use match properties for the dimstyles and layer. Just thought I'd share.

 

Type cd to use

CD command

 

Video

Edited by Lt Dan's legs
Revise Code
Posted

Hey Lt Dan Legs,

 

Very nice, But just a small detail. It seems you need to hit Esc to break the loop. Can this be fixed to a right click.

 

Very good anyway, Thank for the share

The Buzzard

 

Sorry made an edit

Posted
It seems you need to hit Esc to break the loop.

 

Enter, right click or spacebar will break the loop

(cond ((or (eq (car gr) 25)(and (eq (car gr) 2)(or (eq (cadr gr) 13)(eq (cadr gr) 32))))
                   (exit))

 

Had a typo for spacebar. Fixed now

Posted
Enter' date=' right click or spacebar will break the loop

(cond ((or (eq (car gr) 25)(and (eq (car gr) 2)(or (eq (cadr gr) 13)(eq (cadr gr) 3))))
(exit))

[/quote']

 

I tried several times both ways. Its not breaking.

Posted

Ok, it breaks on Enter only. I guess thats Ok.

Posted

Had a typo for spacebar. I fixed it.. Which way is giving you a problem? Does right click work?

Posted
Had a typo for spacebar. I fixed it.. Which way is giving you a problem? Does right click work?

 

Actually both. It says ** Invalid selection! **

 

I give it another try.

Posted

Spacebar works now, But not Right click.

Posted

Do you think it would be better to make any key a way to exit?

Posted
Do you think it would be better to make any key a way to exit?

 

Not sure, I was looking into the while loop, But the formatting is done a bit different than Im acustom to. Seems there is something that need to be repositioned.

Posted

Code revised

Any key will exit now. I think it's the better way to go for such a simple lisp

The only thing left is to add grvecs for the snap points

 

Thanks for all the help Buzzard

Posted

That works well.

 

Again Thank You for the share.

Posted

BTW

 

The vl-load-com was a misinterpretation on my part.

You do not need it in there.

I did not have my coffee before I first looked at it.

 

Sorry about that

Posted

I thought you need it for all vl commands...? I used vl-remove

Posted
I thought you need it for all vl commands...? I used vl-remove

 

 

At first glance I thought I saw a VL command and when I took a second look I did not see any.

Now that you mention it, I see it.

 

What a morning this is! Do not mind me.

Posted

No worries

 

Thanks again

Posted

Revised. This will be the last revision (unless someone comes up with and error).

  • 1 year later...
Posted

Hi there,

the link is broken, can you please share Dimcontinue.lsp, I'm trying to do a similar thing. thanks...

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