+ Reply to Thread
Results 1 to 2 of 2

Thread: Wide line

  1. #1
    Forum Newbie ylind's Avatar
    Computer Details
    ylind's Computer Details
    Operating System:
    Windows XP
    RAM:
    512
    Using
    AutoCAD pre 2000
    Join Date
    Aug 2008
    Location
    Eastern Ontario Canada
    Posts
    1

    Default Wide line

    Registered forum members do not see this ad.

    some time ago I had a Toolbar button that would allow me to pick a LINE, Change it to a polyline and change it to a set width.

    Something like this; (Command: pedit "y" "w" "0.5")

    but this don't work. Can anyone help? A lisp routine might also work.

    T.I.A.
    y.L

  2. #2
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2013
    Join Date
    Apr 2008
    Posts
    6,149

    Default

    Registered forum members do not see this ad.

    here, this is a real simple routine i use to quickly join plines, lines, arcs.
    i modified it to set the width instead of joining. you can change the title, and whatever else you don't like.
    Code:
    ;join multiple lines/arcs 
    ;created: alan thompson, 4.23.08 
    ;modified: alan thompson, 5.13.08 (localized variables to stop being so sloppy) 
    (defun c:mj(/ lines) 
    (princ "\nSelect lines & arcs to JOIN: ") 
    (setq lines (ssget '((0 . "*LINE,ARC")))) 
    (if lines 
    (progn 
    (if  
    (equal (getvar 'peditaccept) 1) 
    (command "pedit" "m" lines "" "w" "0.5" "") 
    (command "pedit" "m" lines "" "y" "w" "0.5" "") 
    );if 
    );progn 
    (alert (strcat "\nHey " (getvar "loginname") " it helps if you actually select something to work with!")) 
    );if 
    (princ) 
    )

Similar Threads

  1. Drawing a parallel line to unknown angled existing line
    By berol in forum AutoCAD Beginners' Area
    Replies: 2
    Last Post: 29th Aug 2006, 12:06 pm
  2. wide screen problem: dimension ratio wrong
    By Eden in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 8th Oct 2005, 10:10 am
  3. How, or can I (using a wide bed scanner)
    By Mantis in forum AutoCAD General
    Replies: 4
    Last Post: 9th Oct 2004, 03:10 am
  4. Why the wide webpages?
    By hyposmurf in forum Feedback
    Replies: 4
    Last Post: 9th Jul 2003, 07:58 pm

Bookmarks

Posting Permissions

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