| Author |
Message |
dhadley
Guest
|
Posted:
Sat Apr 09, 2005 12:09 am Post subject:
Incorporate buzz distance into pedit |
|
|
Wondering if there is a way to customize the pedit, convert to pline, join command where buzz is already preset so you don't need to go through 'multiple' all the time. Often find when we offset lines/arcs, that we can't join without setting the buzz (they are at the same end point, it's because we work in UTM coordinates, miles away from 0,0,0).
Just a whole pile of steps that I'd rather be able to reduce.
Thoughts, suggestions?
TIA
|
|
| Back to top |
|
 |
Casey
Guest
|
Posted:
Sat Apr 09, 2005 12:37 am Post subject:
Re: Incorporate buzz distance into pedit |
|
|
You may have more luck with a 'F'uzz distance....
"dhadley" <nospam@address.withheld> wrote in message
news:21497943.1112990971059.JavaMail.jive@jiveforum2.autodesk.com...
| Quote: | Wondering if there is a way to customize the pedit, convert to pline, join
command where buzz is already preset so you don't need to go through
'multiple' all the time. Often find when we offset lines/arcs, that we
can't join without setting the buzz (they are at the same end point, it's
because we work in UTM coordinates, miles away from 0,0,0).
Just a whole pile of steps that I'd rather be able to reduce.
Thoughts, suggestions?
TIA |
|
|
| Back to top |
|
 |
Jeff Mishler
Guest
|
Posted:
Sat Apr 09, 2005 12:44 am Post subject:
Re: Incorporate buzz distance into pedit |
|
|
As suggested by Casey, Fuzz is the correct terminalogy......and here's a
little lisp that does what you need.....just change the hardcoded fuzz value
to what you prefer.
| Code: |
(defun c:pedit2 (/ ss fuzz)
(setq fuzz 0.0001) ;; CHANGE AS DESIRED
(prompt "\nSelect Objects to Join Together.....")
(setq ss (ssget '((0 . "lwpolyline,polyline,line,arc"))))
(if (ssget "p" '((0 . "line,arc")))
(command "pedit" "m" ss "" "y" "j" fuzz "")
(command "pedit" "m" ss "" "j" fuzz "")
)
(princ)
)
|
--
Jeff
check out www.cadvault.com
"dhadley" <nospam@address.withheld> wrote in message
news:21497943.1112990971059.JavaMail.jive@jiveforum2.autodesk.com...
| Quote: | Wondering if there is a way to customize the pedit, convert to pline, join
command where buzz is already preset so you don't need to go through
'multiple' all the time. Often find when we offset lines/arcs, that we
can't join without setting the buzz (they are at the same end point, it's
because we work in UTM coordinates, miles away from 0,0,0).
Just a whole pile of steps that I'd rather be able to reduce.
Thoughts, suggestions?
TIA |
|
|
| Back to top |
|
 |
dhadley
Guest
|
Posted:
Sat Apr 09, 2005 1:13 am Post subject:
Re: Incorporate buzz distance into pedit |
|
|
So that's why it wouldn't work....doh....yeah, fuzz was what I meant to say!
That lisp works great! Thanks very much! |
|
| Back to top |
|
 |
|
|
|
|