Jump to content

Need a lisp....... Lee Mac this ones for you


MikeP

Recommended Posts

  • Replies 94
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    35

  • MikeP

    31

  • CAB

    11

  • Se7en

    9

Top Posters In This Topic

Posted Images

Mike, wish I had 09 to test it.

 

Did you press F3 to turn OSmode ON BEFORE you ran the lisp?

What is you usual osnap setting? OSMODE at the command line.

Link to comment
Share on other sites

Mike, wish I had 09 to test it.

 

Did you press F3 to turn OSmode ON BEFORE you ran the lisp?

What is you usual osnap setting? OSMODE at the command line.

 

 

yes, I have every Osnap setting enabled

Link to comment
Share on other sites

CAB, I assume it works fine on your '06, and it does on my 2010.

 

Mike, here's a thought, do you use a template for your drawings?

 

Try going to file > new, and choose the acad.dwt template - could be something in a template that is causing it.

Link to comment
Share on other sites

And yet you say that

(oslst (getvar "OSMODE"))

returns ""?

 

Am I right?

 

 

yes and yes.

 

I have f3 on all my osnaps are on. and the (oslst (getvar "OSMODE")) returns ""

Link to comment
Share on other sites

I get 16383

 

Ahh... I think I see what is happening.

 

Ok, try this:

 

In the OSnap Settings dialog, switch off all the snap detectors (mid, end etc), but leave "Object Snap On" ticked.

 

then tell me what you get when you type OSMODE at the command line.

 

I'm guessing you'll get 1024, but lets see.

Link to comment
Share on other sites

Ahh... I think I see what is happening.

 

Ok, try this:

 

In the OSnap Settings dialog, switch off all the snap detectors (mid, end etc), but leave "Object Snap On" ticked.

 

then tell me what you get when you type OSMODE at the command line.

 

I'm guessing you'll get 1024, but lets see.

 

 

yup 1024, and with the tracking still on right?

Link to comment
Share on other sites

yup 1024, and with the tracking still on right?

 

Tracking shouldn't affect it I don't think.

 

OK, now that all the snaps are off and oSnap is still on:

 

type OSMODE at the command line, and type 0, then enter.

 

Now all should be fine.

Link to comment
Share on other sites

Tracking shouldn't affect it I don't think.

 

OK, now that all the snaps are off and oSnap is still on:

 

type OSMODE at the command line, and type 0, then enter.

 

Now all should be fine.

 

 

Holy crap Lee. I could kiss you right now haha....

 

......but I wont.

 

works perfect!!!!:D Now how do I get rid of that point it places in. I dont want that guy there

Link to comment
Share on other sites

Lee, If you can do me a favor and make a small change for me. At the begining of the program, place a prompt that asks if It wants to use the default offsets. The default result would be Yes, and if prompted no, would go to ask for the 2 offsets and the line length.

 

Or Could u just tell me how I can do that. Im trying to learn

Link to comment
Share on other sites

Updated version with debug OFF.

 

Hope that was the bug fix.

Mike reset to your original osnap settings & try this version.

 

 

Not sure how to reset that. But I do have it working now. my reg snaps work fine and the program works too

 

 

.....Through, the polar snap in this program still does not work

Link to comment
Share on other sites

Lee, If you can do me a favor and make a small change for me. At the begining of the program, place a prompt that asks if It wants to use the default offsets. The default result would be Yes, and if prompted no, would go to ask for the 2 offsets and the line length.

 

Or Could u just tell me how I can do that. Im trying to learn

 

You want something other than changing the dimensions manually at the top of the LISP you mean?

Link to comment
Share on other sites

You want something other than changing the dimensions manually at the top of the LISP you mean?

 

 

yeah, I will rarely change this, but It would nice to have a prompt in the beginning to change the defaults. That way it will only prompt the offset values if I request to change the default settings.

Link to comment
Share on other sites

Updated version with debug OFF.

 

Hope that was the bug fix.

Mike reset to your original osnap settings & try this version.

 

CAB is the debug OFF the only change you made in this version?

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