Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Zero length line

  1. #1
    100 Club smooth shoes's Avatar
    Join Date
    2006-11
    Location
    Backwoods
    Posts
    126

    Default Zero length line

    Hey all. Sometimes, when i want to draw a line with ortho turned on, I drag the cursor to the left or right, and type the distance that i want, when i hit enter, instead of the line being created, it gives me a zero length line (a point), basically). What is a zero length line? Why does AutoCad create it? I'm curious. It's gets annoying. Thanks in advance.

  2. #2
    I could stop if I wanted to
    Join Date
    2005-08
    Location
    Albania
    Posts
    423

    Default Re: Zero length line

    Quote Originally Posted by smooth shoes View Post
    Hey all. Sometimes, when i want to draw a line with ortho turned on, I drag the cursor to the left or right, and type the distance that i want, when i hit enter, instead of the line being created, it gives me a zero length line (a point), basically). What is a zero length line? Why does AutoCad create it? I'm curious. It's gets annoying. Thanks in advance.
    The osnap mode is on or off ?

  3. #3
    100 Club smooth shoes's Avatar
    Join Date
    2006-11
    Location
    Backwoods
    Posts
    126

    Default Re: Zero length line

    Quote Originally Posted by Arben.Allaraj View Post
    The osnap mode is on or off ?

    It does it on both on and off.

  4. #4
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,519

    Default Re: Zero length line

    It does it when OSMODE = 0?

    Are you using DYNamic entry?

  5. #5
    100 Club smooth shoes's Avatar
    Join Date
    2006-11
    Location
    Backwoods
    Posts
    126

    Default Re: Zero length line

    I'm using SurvCad which is a licensed by Carlson software. Release 2 i think. Dynamic entry is not an option on that version.



    Quote Originally Posted by rkmcswain View Post
    It does it when OSMODE = 0?

    Are you using DYNamic entry?

  6. #6
    All AUGI, all the time Capt. Computer Crasher's Avatar
    Join Date
    2006-12
    Location
    South of North & East of West
    Posts
    786

    Default Re: Zero length line

    Quote Originally Posted by smooth shoes View Post
    I'm using SurvCad which is a licensed by Carlson software. Release 2 i think. Dynamic entry is not an option on that version.
    What view are you looking at? What View orientation (are you looking down the z-axis, x-axis, or y-axis)?

  7. #7
    AUGI Addict jpaulsen's Avatar
    Join Date
    2002-04
    Location
    Colorado
    Posts
    1,901

    Default Re: Zero length line

    Quote Originally Posted by smooth shoes View Post
    What is a zero length line?
    A mathematical impossibility.
    Quote Originally Posted by smooth shoes View Post
    Why does AutoCad create it?
    I've been asking myself that same question for years.
    Jeff Paulsen

  8. #8
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,519

    Default Re: Zero length line

    Quote Originally Posted by smooth shoes View Post
    I'm using SurvCad which is a licensed by Carlson software. Release 2 i think. Dynamic entry is not an option on that version.
    Is this the standalone product, "Carlson Survey"?
    Or is this SurvCADD running on top of a full seat of AutoCAD?

  9. #9
    I could stop if I wanted to michael.12445's Avatar
    Join Date
    2001-03
    Posts
    350

    Default Re: Zero length line

    Quote Originally Posted by jpaulsen View Post
    A mathematical impossibility.
    But not impossible the way AutoCAD is programmed - it stores a line object with two endpoints, along with all its other properties like layer, linetype, etc. It appears there is no error-checking mechanism to prevent the two endpoints from being identical (or to convert a line so defined into a point entity). Just another one of AutoCAD's many "gotchas"...

    Michael Evans
    Togawa Smith Martin Residential, Inc.

  10. #10
    AUGI Addict MikeJarosz's Avatar
    Join Date
    2003-09
    Location
    New York NY
    Posts
    1,005

    Default Re: Zero length line

    Quote Originally Posted by jpaulsen View Post
    A mathematical impossibility.
    A mathematical impossibility, but not a CAD impossibility. A line has a startpoint and an endpoint. Remember that Acad uses double precision floating point, so the distance between these points could be .0000000000000001! That would round to 0 in most of the Acad display screens. But mathematically it's OK. Have you tried OVERKILL?

    Imagine if you were to "flatten" a set of lines. Any truly vertical lines should result in an identical start point and end point both with a z of 0. I once worked with a CAD system (not ACAD) that had a command to identify and delete null lines and polygons. Useful tool!
    Last edited by MikeJarosz; 2007-10-24 at 05:50 PM.
    "everything you know is wrong...." -FST

Page 1 of 2 12 LastLast

Similar Threads

  1. Line Length
    By Ohnoto in forum AutoLISP
    Replies: 6
    Last Post: 2010-03-22, 05:54 AM
  2. Lisp routine to list line length and line ID
    By hlecates in forum AutoLISP
    Replies: 6
    Last Post: 2007-03-21, 04:03 PM
  3. How to get length of line
    By avinash00002002 in forum AutoLISP
    Replies: 11
    Last Post: 2006-05-23, 01:04 PM
  4. Specifying line length
    By peter.gilson in forum AutoCAD LT - General
    Replies: 2
    Last Post: 2005-06-02, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •