Results 1 to 10 of 11

Thread: Joining polylines with PEDIT, fuzz distance issues

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member
    Join Date
    2012-11
    Posts
    4
    Login to Give a bone
    0

    Default Joining polylines with PEDIT, fuzz distance issues

    Hi,

    I am trying to join some polylines together and am having issues where I set the fuzz distance, but the line segments added are far greater than what I have specified. I am using Civil 3D 2013 but have verified the same behaviour on Autocad 2013.

    I have attached a small file and a lisp routine which will show the strange behaviour. On running the lisp, you can see that a line segment of length >2 is added even though fuzz distance is set to 0.2.

    Any clues as to what is happening?

    Cheers,
    Chris

    Code:
    (defun c:fuzzWhat (/ oldSnap ss)
    
        ;Turn off snaps
        (setq oldSnap(getvar "osmode"))
        (setvar "osmode" 0)
    
        ;Select all lines & Join with pedit fuzz 0.2
        (if (setq ss (ssget "_X" (list (cons 0 "LINE"))))
            (command "pedit" "m" ss "" "y" "j" "j" "a" 0.2 "")
        )
    
        ;Turn snaps back on
        (setvar "osmode" oldSnap)
    )
    Attached Files Attached Files

Similar Threads

  1. Reverse Polylines with Pedit
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 10
    Last Post: 2012-07-18, 03:55 AM
  2. joining 3d polylines
    By Davied2 in forum AutoCAD 3D (2006 or below)
    Replies: 6
    Last Post: 2009-10-15, 09:31 PM
  3. Joining polylines
    By tom.scott in forum AutoCAD General
    Replies: 8
    Last Post: 2009-10-01, 05:08 PM
  4. Selecting only Polylines with pedit
    By Zuke in forum AutoLISP
    Replies: 4
    Last Post: 2008-08-14, 11:00 PM
  5. Problems with PEdit when joining some Lines together
    By ross.wakley in forum AutoCAD LT - General
    Replies: 8
    Last Post: 2006-02-06, 09:26 AM

Posting Permissions

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