Utility that shows first point of polyline?
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Utility that shows first point of polyline?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD
Author Message
Paul Turvill
Guest





Posted: Mon Nov 15, 2004 11:50 pm    Post subject: Re: Utility that shows first point of polyline? Reply with quote

Thank you, Jürgen,

That would explain why it worked on *some* installations and not others
(non-American English). I'll fix the one on my Web site.
___

"Jürgen Palme" <juergenDEL.palmeALL@kabelleipzigCAPS.de> wrote in message
news:2vs887F2nodqcU1@uni-berlin.de...
Quote:

Ok, I found the error. In the function (defun prev ...) we see a line
(setq zoomit (null (ssget "c" final final)))

I modified this to
(setq zoomit (null (ssget "_c" final final)))


Back to top
Bert Eding
Guest





Posted: Tue Nov 16, 2004 12:59 am    Post subject: Re: Utility that shows first point of polyline? Reply with quote

Hi,

I tried it again with modified c to _c
My poly line changed color from blue to magenta and I got this error:
===================
Command: (load"revline")
Command: revline
Pick an object to reverse:
At least one break point must be on polyline.*Invalid*
===================
(I renamed rev to revline)

Bert

"Paul Turvill" <nospam@turvill.com> schreef in bericht
news:fvGdndlyLqT8ZwXcRVn-qw@whidbeytel.com...
Quote:
Thank you, Jürgen,

That would explain why it worked on *some* installations and not others
(non-American English). I'll fix the one on my Web site.
___

"Jürgen Palme" <juergenDEL.palmeALL@kabelleipzigCAPS.de> wrote in message
news:2vs887F2nodqcU1@uni-berlin.de...

Ok, I found the error. In the function (defun prev ...) we see a line
(setq zoomit (null (ssget "c" final final)))

I modified this to
(setq zoomit (null (ssget "_c" final final)))

Back to top
Paul Turvill
Guest





Posted: Tue Nov 16, 2004 2:02 am    Post subject: Re: Utility that shows first point of polyline? Reply with quote

Is this one object in particular, or does this happen with all objects?

Email me a sample drawing. Please limit the drawing file to contain nothing
but your polyline that won't reverse.
Send it to cadman@turvill.com
___

"Bert Eding" <bert-eding@nospam.nl> wrote in message
news:cnb2b5$miq$1@reader11.wxs.nl...
Quote:

I tried it again with modified c to _c
My poly line changed color from blue to magenta and I got this error:
===================
Command: (load"revline")
Command: revline
Pick an object to reverse:
At least one break point must be on polyline.*Invalid*
===================


Back to top
Bert Eding
Guest





Posted: Tue Nov 16, 2004 3:20 am    Post subject: Re: Utility that shows first point of polyline? Reply with quote

I know what it is,
plinetype was zero.
When change to 3 it works.
Regards,
Bert

"Paul Turvill" <nospam@turvill.com> schreef in bericht
news:L46dnbKxFI30hATcRVn-sA@whidbeytel.com...
Quote:
Is this one object in particular, or does this happen with all objects?

Email me a sample drawing. Please limit the drawing file to contain
nothing
but your polyline that won't reverse.
Send it to cadman@turvill.com
___

"Bert Eding" <bert-eding@nospam.nl> wrote in message
news:cnb2b5$miq$1@reader11.wxs.nl...

I tried it again with modified c to _c
My poly line changed color from blue to magenta and I got this error:
===================
Command: (load"revline")
Command: revline
Pick an object to reverse:
At least one break point must be on polyline.*Invalid*
===================

Back to top
Bert Eding
Guest





Posted: Tue Nov 16, 2004 3:25 am    Post subject: Re: Utility that shows first point of polyline? Reply with quote

Hi All

Plrev now works, thanks and also thanks to Jeff which posted p_check.
p_check also works, but nicely shows the begin and then asks wheter to
reverse or not,
when reversed it shows the changed beginpoint.

If plrev is better, could it be changed so that it shows also the begin
point, then ask whether to reverse,
then show the new beginpoint?

Bert





"Bert Eding" <bert-eding@nospam.nl> schreef in bericht
news:cn5mjg$q9f$1@reader11.wxs.nl...
Quote:

Is there a utility that shows where the start/end point is of a polyline?
And also has the possibility to reverse it.
I use acad to genereate profile for a foam cutting machine and need to
change the direction
of the polyline.

Bert

Back to top
Paul Turvill
Guest





Posted: Tue Nov 16, 2004 3:30 am    Post subject: Re: Utility that shows first point of polyline? Reply with quote

It could, but its original purpose was quite different from your
application. It's free, and it's open code; feel free to modify it as you
see fit. If you're not adept at LISP programming, this might be a good
chance to learn by combining features that you like from both p_check and
plrev.
___

"Bert Eding" <bert-eding@nospam.nl> wrote in message
news:cnbasc$sib$1@reader11.wxs.nl...
Quote:

If plrev is better, could it be changed so that it shows also the begin
point, then ask whether to reverse,
then show the new beginpoint?
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB