Jump to content

Drawing Line Question


Recommended Posts

Posted

I am trying to follow the logic of a LISP program someone gave me and just when I think I have it...it eludes me. So describing the problem here can someone tell me if I'm just missing it or is ACAD acting up.

 

I draw a simple line and this is what appears in the command window. Please note I do not enter the @ sign, ACAD does this.

 

Command: l

LINE Specify first point: 3.5,0,2.9

Specify next point or [undo]: @10,0,2.9

 

Now the first thing I see is that instead of using the coordinates 10,0,2.9 as the end of the line, it added all this to the existing coordinates. I assume I'm missing something here. But what's worse is that every 2nd or third attempt at this and the damn ucs jumps out and repositions itself on the origin of the line I want to draw.

 

I checked and ucsfollow=0

 

I don't see what I'm doing wrong here, but it's probably a case of not being able to see the forest for the trees.

Posted

Here are two images. As you can see the UCS seems to have a mind of it's own. This is not what I was taught and ACAD 2007 which I'm using on this machine seems to be going bizerk. The first image is when I start out with the UCS at the center of the bolthead. But then when I try to draw a circle and the UCS jumps to a new location.

 

Why is the UCS moving around without me telling it to do so.

Start-UCS1.jpg

Start-UCS2.jpg

Posted

The "@" means "relative", tellin AC the next point is a certain distance from the previous point. Leave off the @ if you want point at coordinates of "10,0,2.9".

 

Newwer versions have a "dynmode" & "dynpicoords" settings (see "dyn" button at bottom) that allows leaving off the "@" depending on its setting.

Posted

Thanks dude, but if you carefully re-read the original post, the @ sign was not entered by me. ACAD did that. The prompt said Enter Next Point. I am assuming it means enter the next set of coordinates unless I enter the @ sign myself to tell it to move relative to the end of the last line. Sorry to be such a pain but again this is what I was taught how ACAD is supposed to construct a line. If I enter coordinates, it draws to that point. If I enter the @ sign it draws relative from the last point.

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